forked from pool/python-responses
Accepting request 1114567 from home:bnavigator:branches:devel:languages:python
- Update to 0.23.3 * Allow urllib3>=1.25.10 - Release 0.23.2 * Updated dependency to urllib3>=2 and requests>=2.30.0. See #635 * Fixed issue when custom adapters were sending only positional args. See #642 * Expose `unbound_on_send` method in `RequestsMock` class. This method returns new function that is called by `RequestsMock` instead of original `send` method defined by any adapter. - Drop unbundle-urllib3.patch OBS-URL: https://build.opensuse.org/request/show/1114567 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=61
This commit is contained in:
@@ -18,16 +18,12 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-responses
|
||||
Version: 0.23.1
|
||||
Version: 0.23.3
|
||||
Release: 0
|
||||
Summary: A utility library for mocking out the `requests` Python library
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/getsentry/responses
|
||||
Source: https://files.pythonhosted.org/packages/source/r/responses/responses-%{version}.tar.gz
|
||||
# Waiting for the death of urllib3 1.x due to boto: gh#getsentry/responses!636
|
||||
# PATCH-FIX-UPSTREAM unbundle-urllib3.patch gh#getsentry/responses#635, mcepl@suse.com
|
||||
# Don't use urllib3 bundled in requests.
|
||||
Patch1: unbundle-urllib3.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
@@ -39,13 +35,13 @@ BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest-httpserver}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests >= 2.22 with %python-requests < 3}
|
||||
BuildRequires: %{python_module requests >= 2.30 with %python-requests < 3}
|
||||
BuildRequires: %{python_module tomli-w}
|
||||
BuildRequires: %{python_module urllib3 < 2}
|
||||
BuildRequires: %{python_module urllib3 >= 1.25.1 with %python-urllib3 < 3}
|
||||
# /SECTION
|
||||
Requires: python-PyYAML
|
||||
Requires: python-urllib3 < 2
|
||||
Requires: (python-requests >= 2.22.0 with python-requests < 3)
|
||||
Requires: (python-requests >= 2.30.0 with python-requests < 3)
|
||||
Requires: (python-urllib3 >= 1.25.1 with python-urllib3 < 3)
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
|
Reference in New Issue
Block a user