14
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
2 changed files with 3 additions and 10 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Fri Jun 13 05:35:05 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Mon Apr 7 10:28:58 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -28,11 +28,9 @@ Source: https://files.pythonhosted.org/packages/source/a/aioresponses/ai
BuildRequires: %{python_module aiohttp >= 2.0.0}
BuildRequires: %{python_module ddt >= 1.1.0}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 3.8.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module yarl}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -52,11 +50,11 @@ from the aiohttp package.
%build
export LC_ALL=en_US.UTF-8
%pyproject_wheel
%python_build
%install
export LC_ALL=en_US.UTF-8
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -71,6 +69,6 @@ skiptests+=" or test_pass_through_unmatched_requests"
%doc AUTHORS AUTHORS.rst ChangeLog README.rst
%license LICENSE
%{python_sitelib}/aioresponses
%{python_sitelib}/aioresponses-%{version}.dist-info
%{python_sitelib}/aioresponses-%{version}-py*.egg-info
%changelog