- Drop patch (but really comment out) 636-urllib3-2-compat.patch:

* moto needs to stay with urllib3 < 2 due to boto.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=58
This commit is contained in:
Steve Kowalik 2023-05-23 12:35:07 +00:00 committed by Git OBS Bridge
parent 7115e186f4
commit 38df55830a
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 23 12:33:15 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Drop patch (but really comment out) 636-urllib3-2-compat.patch:
* moto needs to stay with urllib3 < 2 due to boto.
-------------------------------------------------------------------
Tue May 9 22:20:25 UTC 2023 - Matej Cepl <mcepl@suse.com>

View File

@ -22,12 +22,12 @@ Version: 0.23.1
Release: 0
Summary: A utility library for mocking out the `requests` Python library
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/getsentry/responses
Source: https://files.pythonhosted.org/packages/source/r/responses/responses-%{version}.tar.gz
# PATCH-FIX-UPSTREAM 636-urllib3-2-compat.patch gh#getsentry/responses!636 mcepl@suse.com
# Make the package compatible with urllib3 >= 2.0
Patch0: 636-urllib3-2-compat.patch
# Waiting for the death of urllib3 1.x due to boto
# Patch0: 636-urllib3-2-compat.patch
# PATCH-FIX-UPSTREAM unbundle-urllib3.patch gh#getsentry/responses#635, mcepl@suse.com
# Don't use urllib3 bundled in requests.
Patch1: unbundle-urllib3.patch
@ -44,10 +44,10 @@ BuildRequires: %{python_module pytest-httpserver}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.22 with %python-requests < 3}
BuildRequires: %{python_module tomli-w}
BuildRequires: %{python_module urllib3 >= 2}
BuildRequires: %{python_module urllib3 < 2}
# /SECTION
Requires: python-PyYAML
Requires: python-urllib3 >= 2
Requires: python-urllib3 < 2
Requires: (python-requests >= 2.22.0 with python-requests < 3)
BuildArch: noarch
%python_subpackages