14
0

Accepting request 1032373 from home:david.anes:branches:devel:languages:python

- allow using newest version of charset-normalizer (3.0+)

OBS-URL: https://build.opensuse.org/request/show/1032373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=162
This commit is contained in:
2022-10-31 09:49:00 +00:00
committed by Git OBS Bridge
parent 5f39e20313
commit f09ed8605f
3 changed files with 60 additions and 0 deletions

View File

@@ -35,6 +35,9 @@ URL: https://docs.python-requests.org/
Source: https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
# PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
Patch0: requests-no-hardcoded-version.patch
# PATCH-FIX-UPSTREAN: Allow charset normalizer >=2 and <4
# - https://github.com/psf/requests/commit/c57f1f0ca10e61771b459c857182c23626607312
Patch1: requests-allow-charset-normalizer-3.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes