1
0

17 Commits

Author SHA256 Message Date
74f98a765a Accepting request 1199801 from devel:languages:python
- Update to 1.26.20:
  * Fixed a crash where certain standard library hash functions were absent
    in FIPS-compliant environments.
  * Replaced deprecated dash-separated setuptools entries in setup.cfg.
  * Backported changes to our tests and CI configuration from v2.x to
    support testing with CPython 3.12 and 3.13.
  * 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.
- Drop patch openssl-3.2.patch:
  * No longer required.

OBS-URL: https://build.opensuse.org/request/show/1199801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3_1?expand=0&rev=9
2024-09-10 19:12:46 +00:00
a816dd6d07 Accepting request 1138121 from devel:languages:python
- Add upstream patch openssl-3.2.patch, to fix tests with opennssl
  3.2.0, gh#urllib3/urllib3#3271

OBS-URL: https://build.opensuse.org/request/show/1138121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3_1?expand=0&rev=8
2024-01-12 22:44:34 +00:00
6382cef9fb - Add upstream patch openssl-3.2.patch, to fix tests with opennssl
3.2.0, gh#urllib3/urllib3#3271

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3_1?expand=0&rev=21
2024-01-11 12:04:07 +00:00
b2e1a498e5 Accepting request 1137422 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1137422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3_1?expand=0&rev=7
2024-01-08 22:44:08 +00:00
76eaa9945d Accepting request 1137369 from home:bnavigator:branches:devel:languages:python
- Skip tests which hang during SSL handshakes in python312
- Switch to PEP517 build

OBS-URL: https://build.opensuse.org/request/show/1137369
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3_1?expand=0&rev=19
2024-01-07 19:14:03 +00:00
c4c42f45c2 Accepting request 1118605 from devel:languages:python
- update to 1.26.18 (bsc#1216377, CVE-2023-45803):
  * Made body stripped from HTTP requests changing the request method
    to GET after HTTP 303 "See Other" redirect responses.

OBS-URL: https://build.opensuse.org/request/show/1118605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3_1?expand=0&rev=6
2023-10-19 20:46:49 +00:00
6cf9bd0192 - update to 1.26.18 (bsc#1216377, CVE-2023-45803):
* Made body stripped from HTTP requests changing the request method
    to GET after HTTP 303 "See Other" redirect responses.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3_1?expand=0&rev=17
2023-10-18 14:31:05 +00:00
88b65de580 Accepting request 1115891 from devel:languages:python
- update to 1.26.17 (bsc#1215968, CVE-2023-43804):
  * Added the Cookie 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.

OBS-URL: https://build.opensuse.org/request/show/1115891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3_1?expand=0&rev=5
2023-10-06 19:12:44 +00:00
e7419b013b - update to 1.26.17 (bsc#1215968, CVE-2023-43804):
* Added the Cookie 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3_1?expand=0&rev=15
2023-10-05 15:36:29 +00:00
6671ef900d Accepting request 1109357 from devel:languages:python
- update to 1.25.9 (bsc#1177120, CVE-2020-26137):

OBS-URL: https://build.opensuse.org/request/show/1109357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3_1?expand=0&rev=4
2023-09-07 19:12:53 +00:00
8369fa6331 - update to 1.25.9 (bsc#1177120, CVE-2020-26137):
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3_1?expand=0&rev=13
2023-09-06 21:43:32 +00:00
768deb2f57 Accepting request 1088727 from devel:languages:python
- update to 1.26.16:
  * Fixed thread-safety issue where accessing a ``PoolManager``
    with many distinct origins would cause connection pools to
    be closed while requests are in progress
- drop support-fixed-ssl-shared_ciphers.patch (obsolete)

OBS-URL: https://build.opensuse.org/request/show/1088727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3_1?expand=0&rev=3
2023-05-25 21:52:08 +00:00
6e1cca0382 - update to 1.26.16:
* Fixed thread-safety issue where accessing a ``PoolManager``
    with many distinct origins would cause connection pools to
    be closed while requests are in progress
- drop support-fixed-ssl-shared_ciphers.patch (obsolete)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3_1?expand=0&rev=11
2023-05-23 20:05:41 +00:00
3a700ea9cd Accepting request 1088343 from devel:languages:python
- Add patch support-fixed-ssl-shared_ciphers.patch:
  * Support changes to the Python interpreter that fixed how
    ssl.shared_ciphers behaves.

OBS-URL: https://build.opensuse.org/request/show/1088343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3_1?expand=0&rev=2
2023-05-23 12:53:25 +00:00
cd1a3a1c59 - Add patch support-fixed-ssl-shared_ciphers.patch:
* Support changes to the Python interpreter that fixed how
    ssl.shared_ciphers behaves.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3_1?expand=0&rev=9
2023-05-22 11:24:38 +00:00
6b5f04ffd8 Accepting request 1087473 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1087473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3_1?expand=0&rev=1
2023-05-19 09:55:26 +00:00
OBS User buildservice-autocommit
bae1ebaf26 baserev update by copy to link target
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3_1?expand=0&rev=7
2023-05-19 09:55:26 +00:00
2 changed files with 0 additions and 37 deletions

View File

@@ -1,34 +0,0 @@
Index: urllib3-1.26.18/changelog/3268.bugfix.rst
===================================================================
--- /dev/null
+++ urllib3-1.26.18/changelog/3268.bugfix.rst
@@ -0,0 +1 @@
+Fixed handling of OpenSSL 3.2.0 new error message for misconfiguring an HTTP proxy as HTTPS.
Index: urllib3-1.26.18/test/with_dummyserver/test_socketlevel.py
===================================================================
--- urllib3-1.26.18.orig/test/with_dummyserver/test_socketlevel.py
+++ urllib3-1.26.18/test/with_dummyserver/test_socketlevel.py
@@ -1226,7 +1226,8 @@ class TestSSL(SocketDummyServerTestCase)
self._start_server(socket_handler)
with HTTPSConnectionPool(self.host, self.port, ca_certs=DEFAULT_CA) as pool:
with pytest.raises(
- SSLError, match=r"(wrong version number|record overflow)"
+ SSLError,
+ match=r"(wrong version number|record overflow|record layer failure)",
):
pool.request("GET", "/", retries=False)
Index: urllib3-1.26.18/src/urllib3/connectionpool.py
===================================================================
--- urllib3-1.26.18.orig/src/urllib3/connectionpool.py
+++ urllib3-1.26.18/src/urllib3/connectionpool.py
@@ -768,7 +768,8 @@ class HTTPConnectionPool(ConnectionPool,
# so we try to cover our bases here!
message = " ".join(re.split("[^a-z]", str(ssl_error).lower()))
return (
- "wrong version number" in message or "unknown protocol" in message
+ "wrong version number" in message or "unknown protocol" in message or "record layer failure" in message
+
)
# Try to detect a common user error with proxies which is to

Binary file not shown.