15
0

18 Commits

Author SHA256 Message Date
7f79f9e0c6 Accepting request 1327014 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1327014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=74
2026-01-14 15:19:41 +00:00
310a047fdd - Update to 2.6.3
* Fixed a high-severity security issue where decompression-bomb safeguards of
    the streaming API were bypassed when HTTP redirects were followed.
    (GHSA-38jv-5279-wg99) (bsc#1256331, CVE-2026-21441)
  * Started treating ``Retry-After`` times greater than 6 hours as 6 hours by
    default. (#3743)
  * Fixed ``urllib3.connection.VerifiedHTTPSConnection`` on Emscripten. (#3752)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=194
2026-01-13 14:05:11 +00:00
fb6b6ac030 Accepting request 1325966 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1325966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=73
2026-01-09 16:02:44 +00:00
6a84f8d26a - Update to 2.6.2
* Fixed HTTPResponse.read_chunked() to properly handle leftover data in the
    decoder's buffer when reading compressed chunked responses.
- Update to 2.6.1
  * Restore previously removed HTTPResponse.getheaders() and
    HTTPResponse.getheader() methods.
- Update to 2.6.0
  * Security:
    - Fixed a security issue where streaming API could improperly handle highly
      compressed HTTP content ("decompression bombs") leading to excessive
      resource consumption even when a small amount of data was requested.
      Reading small chunks of compressed data is safer and much more efficient
      now. (CVE-2025-66471, GHSA-2xpw-w6gg-jr37, bsc#1254867)
    - Fixed a security issue where an attacker could compose an HTTP response
      with virtually unlimited links in the Content-Encoding header, potentially
      leading to a denial of service (DoS) attack by exhausting system resources
      during decoding. The number of allowed chained encodings is now limited to
      5. (CVE-2025-66418, GHSA-gm62-xv2j-4w53, bsc#1254866)
  * Features:
    - Enabled retrieval, deletion, and membership testing in HTTPHeaderDict
      using bytes keys.
    - Added host and port information to string representations of
      HTTPConnection.
    - Added support for Python 3.14 free-threading builds explicitly.
  * Removals:
    - Removed the HTTPResponse.getheaders() method in favor of
      HTTPResponse.headers. Removed the HTTPResponse.getheader(name, default)
      method in favor of HTTPResponse.headers.get(name, default).
  * Bugfixes:
    - Fixed redirect handling in urllib3.PoolManager when an integer is passed
      for the retries parameter.
    - Fixed HTTPConnectionPool when used in Emscripten with no explicit port.
    - Fixed handling of SSLKEYLOGFILE with expandable variables.
  * Misc:
    - Changed the zstd extra to install backports.zstd instead of zstandard on
      Python 3.13 and before.
    - Improved the performance of content decoding by optimizing
      BytesQueueBuffer class.
    - Allowed building the urllib3 package with newer setuptools-scm v9.x.
    - Ensured successful urllib3 builds by setting Hatchling requirement
      to ≥ 1.27.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=192
2026-01-08 13:44:15 +00:00
c7e3c17e34 Accepting request 1287779 from devel:languages:python
- Update to 2.5.0:
  * Security issues
    Pool managers now properly control redirects when retries is passed
    (CVE-2025-50181, GHSA-pq67-6m6q-mj2v, bsc#1244925)
    Redirects are now controlled by urllib3 in the Node.js runtime
    (CVE-2025-50182, GHSA-48p4-8xcf-vxj5, bsc#1244924)
  * Features
    Added support for the compression.zstd module that is new in Python 3.14.
    Added support for version 0.5 of hatch-vcs
  * Bugfixes
    Raised exception for HTTPResponse.shutdown on a connection already
    released to the pool.
    Fixed incorrect CONNECT statement when using an IPv6 proxy with
    connection_from_host. Previously would not be wrapped in [].

OBS-URL: https://build.opensuse.org/request/show/1287779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=72
2025-06-24 18:45:47 +00:00
75573f8736 - Update to 2.5.0:
* Security issues
    Pool managers now properly control redirects when retries is passed
    (CVE-2025-50181, GHSA-pq67-6m6q-mj2v, bsc#1244925)
    Redirects are now controlled by urllib3 in the Node.js runtime
    (CVE-2025-50182, GHSA-48p4-8xcf-vxj5, bsc#1244924)
  * Features
    Added support for the compression.zstd module that is new in Python 3.14.
    Added support for version 0.5 of hatch-vcs
  * Bugfixes
    Raised exception for HTTPResponse.shutdown on a connection already
    released to the pool.
    Fixed incorrect CONNECT statement when using an IPv6 proxy with
    connection_from_host. Previously would not be wrapped in [].

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=190
2025-06-23 02:04:11 +00:00
b90c81c378 Accepting request 1280514 from devel:languages:python
- Update to 2.4.0
  * Applied PEP 639 by specifying the license fields in
    pyproject.toml. (#3522)
  * Updated exceptions to save and restore more properties during the
    pickle/serialization process. (#3567)
  * Added verify_flags option to create_urllib3_context with a default
    of VERIFY_X509_PARTIAL_CHAIN and VERIFY_X509_STRICT for Python
    3.13+. (#3571)
  * Fixed a bug with partial reads of streaming data in Emscripten.
    (#3555)
  * Switched to uv for installing development dependecies. (#3550)
  * Removed the multiple.intoto.jsonl asset from GitHub releases.
    Attestation of release files since v2.3.0 can be found on PyPI.
    (#3566)
- 2.3.0:
  * Added HTTPResponse.shutdown() to stop any ongoing or future reads
    for a specific response. It calls shutdown(SHUT_RD) on the
    underlying socket. This feature was sponsored by LaunchDarkly.
    (#2868)
  * Added support for JavaScript Promise Integration on Emscripten.
    This enables more efficient WebAssembly requests and streaming,
    and makes it possible to use in Node.js if you launch it as node
    --experimental-wasm-stack-switching. (#3400)
  * Added the proxy_is_tunneling property to HTTPConnection and
    HTTPSConnection. (#3285)
  * Added pickling support to NewConnectionError and
    NameResolutionError. (#3480)
  * Fixed an issue in debug logs where the HTTP version was rendering
    as "HTTP/11" instead of "HTTP/1.1". (#3489)
  * Removed support for Python 3.8. (#3492)

OBS-URL: https://build.opensuse.org/request/show/1280514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=71
2025-05-31 17:14:11 +00:00
fa15163672 - Update to 2.4.0
* Applied PEP 639 by specifying the license fields in
    pyproject.toml. (#3522)
  * Updated exceptions to save and restore more properties during the
    pickle/serialization process. (#3567)
  * Added verify_flags option to create_urllib3_context with a default
    of VERIFY_X509_PARTIAL_CHAIN and VERIFY_X509_STRICT for Python
    3.13+. (#3571)
  * Fixed a bug with partial reads of streaming data in Emscripten.
    (#3555)
  * Switched to uv for installing development dependecies. (#3550)
  * Removed the multiple.intoto.jsonl asset from GitHub releases.
    Attestation of release files since v2.3.0 can be found on PyPI.
    (#3566)
- 2.3.0:
  * Added HTTPResponse.shutdown() to stop any ongoing or future reads
    for a specific response. It calls shutdown(SHUT_RD) on the
    underlying socket. This feature was sponsored by LaunchDarkly.
    (#2868)
  * Added support for JavaScript Promise Integration on Emscripten.
    This enables more efficient WebAssembly requests and streaming,
    and makes it possible to use in Node.js if you launch it as node
    --experimental-wasm-stack-switching. (#3400)
  * Added the proxy_is_tunneling property to HTTPConnection and
    HTTPSConnection. (#3285)
  * Added pickling support to NewConnectionError and
    NameResolutionError. (#3480)
  * Fixed an issue in debug logs where the HTTP version was rendering
    as "HTTP/11" instead of "HTTP/1.1". (#3489)
  * Removed support for Python 3.8. (#3492)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=188
2025-05-27 09:29:34 +00:00
af9a86ac19 - Skip test_close_after_handshake flaky test, it fails sometimes in
ppc64le and s390x architectures, bsc#1243583

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=187
2025-05-27 08:55:03 +00:00
2e3a3af491 Accepting request 1232162 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1232162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=70
2024-12-19 20:40:18 +00:00
c9bda474fd - Skip some flaky tests that fail sometimes in OBS (bsc#1234681)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=185
2024-12-19 10:26:30 +00:00
9860f9689b Accepting request 1231820 from devel:languages:python
- Ignore DeprecationWarning in tests (bsc#1234681)

OBS-URL: https://build.opensuse.org/request/show/1231820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=69
2024-12-18 19:09:10 +00:00
ef1a31c0b1 - Ignore DeprecationWarning in tests (bsc#1234681)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=183
2024-12-18 08:42:44 +00:00
a5d1101265 Accepting request 1205339 from devel:languages:python
- Update to 2.2.3:
  * Features
    + Added support for Python 3.13.
  * Bugfixes
    + Fixed the default encoding of chunked request bodies to be UTF-8
      instead of ISO-8859-1. All other methods of supplying a request body
      already use UTF-8 starting in urllib3 v2.0.
    + Fixed ResourceWarning on CONNECT with Python < 3.11.4 by backporting
      python/cpython#103472.
    + Fixed a crash where certain standard library hash functions were absent
      in restricted environments.
    + Added the Proxy-Authorization header to the list of headers to strip
      from requests when redirecting to a different host. As before,
      different headers can be set via Retry.remove_headers_on_redirect.
    + Allowed passing negative integers as amt to read methods of
      http.client.HTTPResponse as an alternative to None.
    + Fixed issue where InsecureRequestWarning was emitted for HTTPS
      connections when using Emscripten.
    + Fixed HTTPConnectionPool.urlopen to stop automatically casting
      non-proxy headers to HTTPHeaderDict. This change was premature as it
      did not apply to proxy headers and HTTPHeaderDict does not handle byte
      header values correctly yet.
    + Changed InvalidChunkLength to ProtocolError when response terminates
      before the chunk length is sent.
    + Changed ProtocolError to be more verbose on incomplete reads with
      excess content.
    + Added support for HTTPResponse.read1() method.
    + Fixed issue where requests against urls with trailing dots were
      failing due to SSL errors when using proxy.
    + Fixed HTTPConnection.proxy_is_verified and

OBS-URL: https://build.opensuse.org/request/show/1205339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=68
2024-10-03 16:00:38 +00:00
e84edfbd9b Fiddle with changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=181
2024-10-03 05:11:07 +00:00
a6661b64be - Update to 2.2.3:
* Features
    + Added support for Python 3.13.
  * Bugfixes
    + Fixed the default encoding of chunked request bodies to be UTF-8
      instead of ISO-8859-1. All other methods of supplying a request body
      already use UTF-8 starting in urllib3 v2.0.
    + Fixed ResourceWarning on CONNECT with Python < 3.11.4 by backporting
      python/cpython#103472.
    + Fixed a crash where certain standard library hash functions were absent
      in restricted environments.
    + Added the Proxy-Authorization header to the list of headers to strip
      from requests when redirecting to a different host. As before,
      different headers can be set via Retry.remove_headers_on_redirect.
    + Allowed passing negative integers as amt to read methods of
      http.client.HTTPResponse as an alternative to None.
    + Fixed issue where InsecureRequestWarning was emitted for HTTPS
      connections when using Emscripten.
    + Fixed HTTPConnectionPool.urlopen to stop automatically casting
      non-proxy headers to HTTPHeaderDict. This change was premature as it
      did not apply to proxy headers and HTTPHeaderDict does not handle byte
      header values correctly yet.
    + Changed InvalidChunkLength to ProtocolError when response terminates
      before the chunk length is sent.
    + Changed ProtocolError to be more verbose on incomplete reads with
      excess content.
    + Added support for HTTPResponse.read1() method.
    + Fixed issue where requests against urls with trailing dots were
      failing due to SSL errors when using proxy.
    + Fixed HTTPConnection.proxy_is_verified and

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=180
2024-09-24 05:07:08 +00:00
259b7264d6 Accepting request 1181456 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1181456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=67
2024-06-18 20:50:46 +00:00
0a96b5f06e - Add CVE-2024-37891.patch (bsc#1226469)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=178
2024-06-18 09:56:35 +00:00
4 changed files with 63 additions and 7 deletions

View File

@@ -1,3 +1,59 @@
-------------------------------------------------------------------
Tue Jan 13 09:40:54 UTC 2026 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.6.3
* Fixed a high-severity security issue where decompression-bomb safeguards of
the streaming API were bypassed when HTTP redirects were followed.
(GHSA-38jv-5279-wg99) (bsc#1256331, CVE-2026-21441)
* Started treating ``Retry-After`` times greater than 6 hours as 6 hours by
default. (#3743)
* Fixed ``urllib3.connection.VerifiedHTTPSConnection`` on Emscripten. (#3752)
-------------------------------------------------------------------
Wed Jan 7 09:49:28 UTC 2026 - Nico Krapp <nico.krapp@suse.com>
- Update to 2.6.2
* Fixed HTTPResponse.read_chunked() to properly handle leftover data in the
decoder's buffer when reading compressed chunked responses.
- Update to 2.6.1
* Restore previously removed HTTPResponse.getheaders() and
HTTPResponse.getheader() methods.
- Update to 2.6.0
* Security:
- Fixed a security issue where streaming API could improperly handle highly
compressed HTTP content ("decompression bombs") leading to excessive
resource consumption even when a small amount of data was requested.
Reading small chunks of compressed data is safer and much more efficient
now. (CVE-2025-66471, GHSA-2xpw-w6gg-jr37, bsc#1254867)
- Fixed a security issue where an attacker could compose an HTTP response
with virtually unlimited links in the Content-Encoding header, potentially
leading to a denial of service (DoS) attack by exhausting system resources
during decoding. The number of allowed chained encodings is now limited to
5. (CVE-2025-66418, GHSA-gm62-xv2j-4w53, bsc#1254866)
* Features:
- Enabled retrieval, deletion, and membership testing in HTTPHeaderDict
using bytes keys.
- Added host and port information to string representations of
HTTPConnection.
- Added support for Python 3.14 free-threading builds explicitly.
* Removals:
- Removed the HTTPResponse.getheaders() method in favor of
HTTPResponse.headers. Removed the HTTPResponse.getheader(name, default)
method in favor of HTTPResponse.headers.get(name, default).
* Bugfixes:
- Fixed redirect handling in urllib3.PoolManager when an integer is passed
for the retries parameter.
- Fixed HTTPConnectionPool when used in Emscripten with no explicit port.
- Fixed handling of SSLKEYLOGFILE with expandable variables.
* Misc:
- Changed the zstd extra to install backports.zstd instead of zstandard on
Python 3.13 and before.
- Improved the performance of content decoding by optimizing
BytesQueueBuffer class.
- Allowed building the urllib3 package with newer setuptools-scm v9.x.
- Ensured successful urllib3 builds by setting Hatchling requirement
to ≥ 1.27.0.
-------------------------------------------------------------------
Mon Jun 23 02:03:12 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-urllib3
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# 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-urllib3%{psuffix}
Version: 2.5.0
Version: 2.6.3
Release: 0
Summary: HTTP library with thread-safe connection pooling, file post, and more
License: MIT
@@ -43,13 +43,13 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
#!BuildIgnore: python-requests
Requires: ca-certificates-mozilla
Recommends: python-Brotli >= 1.0.9
Recommends: python-Brotli >= 1.2.0
Recommends: python-PySocks >= 1.7.1
Recommends: python-h2 >= 4
Recommends: python-zstandard >= 0.18
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module Brotli >= 1.0.9}
BuildRequires: %{python_module Brotli >= 1.2.0}
BuildRequires: %{python_module PySocks >= 1.7.1}
BuildRequires: %{python_module Quart >= 0.19}
BuildRequires: %{python_module cryptography >= 43}

Binary file not shown.

3
urllib3-2.6.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed
size 435556