From a2ae3b20499d379669bead4220806ffbc128da4eb942fe6aa11daea06129818a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 19 Jun 2023 20:27:38 +0000 Subject: [PATCH 1/2] - update to 2.0.3: * Allowed alternative SSL libraries such as LibreSSL, while still issuing a warning as we cannot help users facing issues with implementations other than OpenSSL. * Deprecated URLs which don't have an explicit scheme * Fixed response decoding with Zstandard when compressed data is made of several frames. * Fixed ``assert_hostname=False`` to correctly skip hostname check. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=159 --- python-urllib3.changes | 13 +++++++++++++ python-urllib3.spec | 2 +- urllib3-2.0.2.tar.gz | 3 --- urllib3-2.0.3.tar.gz | 3 +++ 4 files changed, 17 insertions(+), 4 deletions(-) delete mode 100644 urllib3-2.0.2.tar.gz create mode 100644 urllib3-2.0.3.tar.gz diff --git a/python-urllib3.changes b/python-urllib3.changes index 6b2d604..fe64f68 100644 --- a/python-urllib3.changes +++ b/python-urllib3.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jun 19 20:26:34 UTC 2023 - Dirk Müller + +- update to 2.0.3: + * Allowed alternative SSL libraries such as LibreSSL, while + still issuing a warning as we cannot help users facing issues + with implementations other than OpenSSL. + * Deprecated URLs which don't have an explicit scheme + * Fixed response decoding with Zstandard when compressed data + is made of several frames. + * Fixed ``assert_hostname=False`` to correctly skip hostname + check. + ------------------------------------------------------------------- Sun May 14 12:37:09 UTC 2023 - Dirk Müller diff --git a/python-urllib3.spec b/python-urllib3.spec index 93d0752..73d859a 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -26,7 +26,7 @@ %endif %{?sle15_python_module_pythons} Name: python-urllib3%{psuffix} -Version: 2.0.2 +Version: 2.0.3 Release: 0 Summary: HTTP library with thread-safe connection pooling, file post, and more License: MIT diff --git a/urllib3-2.0.2.tar.gz b/urllib3-2.0.2.tar.gz deleted file mode 100644 index 6febde8..0000000 --- a/urllib3-2.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:61717a1095d7e155cdb737ac7bb2f4324a858a1e2e6466f6d03ff630ca68d3cc -size 277703 diff --git a/urllib3-2.0.3.tar.gz b/urllib3-2.0.3.tar.gz new file mode 100644 index 0000000..f489768 --- /dev/null +++ b/urllib3-2.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bee28b5e56addb8226c96f7f13ac28cb4c301dd5ea8a6ca179c0b9835e032825 +size 280489 From ebc06a452108ca69cc75e5dc8469af2385269177d949b8ac069bfae0c3b3331e Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Wed, 5 Jul 2023 11:43:00 +0000 Subject: [PATCH 2/2] - Disable test_deprecated_no_scheme so it needs network connection to run correctly. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=160 --- python-urllib3.changes | 6 ++++++ python-urllib3.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/python-urllib3.changes b/python-urllib3.changes index fe64f68..5419ce4 100644 --- a/python-urllib3.changes +++ b/python-urllib3.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 5 11:42:20 UTC 2023 - Daniel Garcia + +- Disable test_deprecated_no_scheme so it needs network connection to + run correctly. + ------------------------------------------------------------------- Mon Jun 19 20:26:34 UTC 2023 - Dirk Müller diff --git a/python-urllib3.spec b/python-urllib3.spec index 73d859a..cf1aad4 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -112,6 +112,8 @@ skiplist="test_ssl_read_timeout or test_ssl_failed_fingerprint_verification or t skiplist+=" or test_recent_date" # too slow to run in obs (checks 2GiB of data) skiplist+=" or test_requesting_large_resources_via_ssl" +# Try to access external evil.com +skiplist+=" or test_deprecated_no_scheme" %pytest -k "not (${skiplist})" --ignore test/with_dummyserver/test_socketlevel.py %endif