forked from pool/python-aioresponses
Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| fbc5230362 | |||
| 366d8b6aa2 | |||
| ac1ab85661 | |||
| 6f690483a9 | |||
| a4e0b6b071 | |||
| 914a0db3f5 | |||
| fd4f19b103 |
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>
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -28,15 +28,18 @@ 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
|
||||
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
|
||||
|
||||
@@ -49,11 +52,11 @@ from the aiohttp package.
|
||||
|
||||
%build
|
||||
export LC_ALL=en_US.UTF-8
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
export LC_ALL=en_US.UTF-8
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -61,12 +64,13 @@ 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}
|
||||
%doc AUTHORS AUTHORS.rst ChangeLog README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/aioresponses
|
||||
%{python_sitelib}/aioresponses-%{version}-py*.egg-info
|
||||
%{python_sitelib}/aioresponses-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user