1
0

5 Commits

Author SHA256 Message Date
ac1ab85661 Accepting request 1267655 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1267655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aioresponses?expand=0&rev=16
2025-04-08 15:51:04 +00:00
6f690483a9 - Update to 0.7.8
* feat: integer repeat
  * fix: case repeat=1
  * docs: elaborate on meaning in documentation of repeat argument
  * use ClientSession base_url and headers
  * Refactor usage of session base_url and headers
  * Add tests for base_url and headers from session
  * Add __repr__ to RequestMatch
  * Upgrade yarl to be compatible with Python 3.12
  * fix: review suggestion
  * fix: fix test
  * fix: added condition on py3.8 while supporting ClientSession.base_url
  * fix: flake8
- from version 0.7.7
  * added passthrough_unmatched flag for aioresponses class
  * test for passing unmatched requests
  * add a readme description about passthrough_unmatched flag
  * feat: support raise_for_status as callable
  * Add packaging to requirements.txt
  * Update ``__version__`` to latest released version
  * Fix compat with aiohttp 3.11.0+
  * fix: invalid rst code
- Add test_pass_through_unmatched_requests to skipped tests
- Update Requires from requirements.txt

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aioresponses?expand=0&rev=34
2025-04-07 12:16:38 +00:00
a4e0b6b071 Accepting request 1221236 from devel:languages:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1221236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aioresponses?expand=0&rev=15
2024-11-05 14:39:45 +00:00
914a0db3f5 Clean up the SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aioresponses?expand=0&rev=32
2024-11-04 20:10:36 +00:00
fd4f19b103 - Add %{?sle15_python_module_pythons}
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aioresponses?expand=0&rev=31
2024-11-04 20:09:04 +00:00
4 changed files with 42 additions and 7 deletions

Binary file not shown.

BIN
aioresponses-0.7.8.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Mon Apr 7 10:28:58 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.7.8
* feat: integer repeat
* fix: case repeat=1
* docs: elaborate on meaning in documentation of repeat argument
* use ClientSession base_url and headers
* Refactor usage of session base_url and headers
* Add tests for base_url and headers from session
* Add __repr__ to RequestMatch
* Upgrade yarl to be compatible with Python 3.12
* fix: review suggestion
* fix: fix test
* fix: added condition on py3.8 while supporting ClientSession.base_url
* fix: flake8
- from version 0.7.7
* added passthrough_unmatched flag for aioresponses class
* test for passing unmatched requests
* add a readme description about passthrough_unmatched flag
* feat: support raise_for_status as callable
* Add packaging to requirements.txt
* Update ``__version__`` to latest released version
* Fix compat with aiohttp 3.11.0+
* fix: invalid rst code
- Add test_pass_through_unmatched_requests to skipped tests
- Update Requires from requirements.txt
-------------------------------------------------------------------
Sun Nov 3 14:47:54 UTC 2024 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Sat Nov 25 14:08:40 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-aioresponses
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,10 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-aioresponses
Version: 0.7.6
Version: 0.7.8
Release: 0
Summary: Python module for mocking out requests made by ClientSession from aiohttp
License: MIT
@@ -36,7 +36,8 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: (python3-asynctest if python3-base < 3.8)
BuildRequires: (python36-asynctest if python36-base)
Requires: python-aiohttp >= 2.0.0
Requires: python-aiohttp >= 3.3.0
Requires: python-packaging >= 22.0
BuildArch: noarch
%python_subpackages
@@ -61,6 +62,7 @@ export LC_ALL=en_US.UTF-8
# disable tests which try to access external network
skiptests+="test_address_as_instance_of_url_combined_with_pass_through"
skiptests+=" or test_pass_through_with_origin_params"
skiptests+=" or test_pass_through_unmatched_requests"
%pytest -k "not ($skiptests)"
%files %{python_files}