Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 08963503ab | |||
| 6972f755bf | |||
| 2dd6a5b0bd | |||
| 5331fe2a4a | |||
| b9003c924f | |||
| d74b5056a8 | |||
| f62cd85889 |
BIN
aioresponses-0.7.6.tar.gz
LFS
BIN
aioresponses-0.7.6.tar.gz
LFS
Binary file not shown.
BIN
aioresponses-0.7.8.tar.gz
LFS
Normal file
BIN
aioresponses-0.7.8.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- 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>
|
Sat Nov 25 14:08:40 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-aioresponses
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,10 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-aioresponses
|
Name: python-aioresponses
|
||||||
Version: 0.7.6
|
Version: 0.7.8
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python module for mocking out requests made by ClientSession from aiohttp
|
Summary: Python module for mocking out requests made by ClientSession from aiohttp
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -28,15 +28,18 @@ Source: https://files.pythonhosted.org/packages/source/a/aioresponses/ai
|
|||||||
BuildRequires: %{python_module aiohttp >= 2.0.0}
|
BuildRequires: %{python_module aiohttp >= 2.0.0}
|
||||||
BuildRequires: %{python_module ddt >= 1.1.0}
|
BuildRequires: %{python_module ddt >= 1.1.0}
|
||||||
BuildRequires: %{python_module pbr}
|
BuildRequires: %{python_module pbr}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest >= 3.8.1}
|
BuildRequires: %{python_module pytest >= 3.8.1}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module typing}
|
BuildRequires: %{python_module typing}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{python_module yarl}
|
BuildRequires: %{python_module yarl}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: (python3-asynctest if python3-base < 3.8)
|
BuildRequires: (python3-asynctest if python3-base < 3.8)
|
||||||
BuildRequires: (python36-asynctest if python36-base)
|
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
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -49,11 +52,11 @@ from the aiohttp package.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -61,12 +64,13 @@ export LC_ALL=en_US.UTF-8
|
|||||||
# disable tests which try to access external network
|
# disable tests which try to access external network
|
||||||
skiptests+="test_address_as_instance_of_url_combined_with_pass_through"
|
skiptests+="test_address_as_instance_of_url_combined_with_pass_through"
|
||||||
skiptests+=" or test_pass_through_with_origin_params"
|
skiptests+=" or test_pass_through_with_origin_params"
|
||||||
|
skiptests+=" or test_pass_through_unmatched_requests"
|
||||||
%pytest -k "not ($skiptests)"
|
%pytest -k "not ($skiptests)"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc AUTHORS AUTHORS.rst ChangeLog README.rst
|
%doc AUTHORS AUTHORS.rst ChangeLog README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/aioresponses
|
%{python_sitelib}/aioresponses
|
||||||
%{python_sitelib}/aioresponses-%{version}-py*.egg-info
|
%{python_sitelib}/aioresponses-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user