14
0

Accepting request 822499 from home:sebix:branches:devel:languages:python

- remove patch pr_5251-pytest5.patch, not needed anymore.
- update to version 2.24.0:
 - pyOpenSSL TLS implementation is now only used if Python
   either doesn't have an `ssl` module or doesn't support
   SNI. Previously pyOpenSSL was unconditionally used if available.
   This applies even if pyOpenSSL is installed via the
   `requests[security]` extra (#5443)
 - Redirect resolution should now only occur when
   `allow_redirects` is True. (#5492)
 - No longer perform unnecessary Content-Length calculation for
   requests that won't use it. (#5496)

OBS-URL: https://build.opensuse.org/request/show/822499
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=142
This commit is contained in:
2020-07-24 02:14:24 +00:00
committed by Git OBS Bridge
parent c0b7b48e8c
commit dd340cf729
5 changed files with 19 additions and 99 deletions

View File

@@ -26,7 +26,7 @@
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-requests%{psuffix}
Version: 2.23.0
Version: 2.24.0
Release: 0
Summary: Python HTTP Library
License: Apache-2.0
@@ -35,7 +35,6 @@ 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
Patch1: pr_5251-pytest5.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros