forked from pool/python-requests
- update to 2.26.0:
- `Session.send` now correctly resolves proxy configurations from both the Session and Request. Behavior now matches `Session.request`. (#5681) - Fixed a race condition in zip extraction when using Requests in parallel from zip archive. (#5707) - Instead of `chardet`, use the MIT-licensed `charset_normalizer` for Python3 to remove license ambiguity for projects bundling requests. - Requests now supports `idna` 3.x on Python 3. `idna` 2.x will continue to be used on Python 2 installations. (#5711) - The `requests[security]` extra has been converted to a no-op install. PyOpenSSL is no longer the recommended secure option for Requests. (#5867) - Requests has officially dropped support for Python 3.5. (#5867) - drop 5711.patch: upstream OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=154
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
%endif
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-requests%{psuffix}
|
||||
Version: 2.25.1
|
||||
Version: 2.26.0
|
||||
Release: 0
|
||||
Summary: Python HTTP Library
|
||||
License: Apache-2.0
|
||||
@@ -35,15 +35,13 @@ URL: http://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-UPSTREAM: gh#psf/requests#5711
|
||||
Patch1: https://patch-diff.githubusercontent.com/raw/psf/requests/pull/5711.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: ca-certificates
|
||||
Requires: python
|
||||
Requires: python-certifi >= 2017.4.17
|
||||
Requires: python-chardet >= 3.0.2
|
||||
Requires: python-charset_normalizer >= 2.0.0
|
||||
Requires: python-idna >= 2.5
|
||||
Requires: python-py
|
||||
Requires: python-urllib3 >= 1.21.1
|
||||
@@ -62,7 +60,7 @@ Recommends: python-pyOpenSSL >= 0.14
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module PySocks >= 1.5.6}
|
||||
BuildRequires: %{python_module brotlipy}
|
||||
BuildRequires: %{python_module chardet >= 3.0.2}
|
||||
BuildRequires: %{python_module charset_normalizer >= 2.0.0}
|
||||
BuildRequires: %{python_module idna >= 2.5}
|
||||
BuildRequires: %{python_module pytest-httpbin >= 0.0.7}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
|
Reference in New Issue
Block a user