Sync from SUSE:SLFO:Main python-requests revision fd68f60913a6803685813840ff84a640

This commit is contained in:
Adrian Schröter 2024-09-13 16:24:54 +02:00
parent 3344ae8848
commit 278949fd7a
4 changed files with 30 additions and 9 deletions

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Wed May 22 14:00:50 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 2.32.2
* To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0,
we've renamed _get_connection to a new public API, get_connection_with_tls_context. Existing
custom HTTPAdapters will need to migrate their code to use this new API. get_connection is
considered deprecated in all versions of Requests>=2.32.0.
-------------------------------------------------------------------
Tue May 21 12:33:41 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 2.32.1
* Fixed an issue where setting verify=False on the first request from a Session
will cause subsequent requests to the same origin to also ignore cert verification,
regardless of the value of verify. (bsc#1224788, CVE-2024-35195)
* verify=True now reuses a global SSLContext which should improve request time
variance between first and subsequent requests.
* Requests now supports optional use of character detection (chardet or charset_normalizer)
when repackaged or vendored. This enables pip and other projects to minimize their
vendoring surface area.
* Requests has officially added support for CPython 3.12 and dropped support for CPython 3.7.
* Starting in Requests 2.33.0, Requests will migrate to a PEP 517 build system using hatchling.
-------------------------------------------------------------------
Mon Sep 11 20:41:40 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-requests
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-requests%{psuffix}
Version: 2.31.0
Version: 2.32.2
Release: 0
Summary: Python HTTP Library
License: Apache-2.0
@ -89,9 +89,6 @@ Features of Requests:
%prep
%autosetup -p1 -n requests-%{version}
# drop shebang from certs.py
sed -i '1s/^#!.*$//' requests/certs.py
# remove 'never' default parameter from digest-auth check
# requires httpbin 0.6.0
sed -i "s#\(httpbin.*\), 'never'#\1#" tests/test_requests.py

BIN
requests-2.31.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
requests-2.32.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.