From e748795144d3b2088160e4773616921f7e16b48e05db77fd58bb4ad87c34c988 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 27 Nov 2023 20:30:05 +0000 Subject: [PATCH] - update to 2.1.0: * Removed support for the deprecated urllib3[secure] extra. * Removed support for the deprecated SecureTransport TLS implementation. * Removed support for the end-of-life Python 3.7. * Allowed loading CA certificates from memory for proxies. * Fixed decoding Gzip-encoded responses which specified ``x-gzip`` content-encoding. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=174 --- python-urllib3.changes | 12 ++++++++++++ python-urllib3.spec | 5 +++-- urllib3-2.0.7.tar.gz | 3 --- urllib3-2.1.0.tar.gz | 3 +++ 4 files changed, 18 insertions(+), 5 deletions(-) delete mode 100644 urllib3-2.0.7.tar.gz create mode 100644 urllib3-2.1.0.tar.gz diff --git a/python-urllib3.changes b/python-urllib3.changes index d09918e..99c8e34 100644 --- a/python-urllib3.changes +++ b/python-urllib3.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Nov 27 20:29:27 UTC 2023 - Dirk Müller + +- update to 2.1.0: + * Removed support for the deprecated urllib3[secure] extra. + * Removed support for the deprecated SecureTransport TLS + implementation. + * Removed support for the end-of-life Python 3.7. + * Allowed loading CA certificates from memory for proxies. + * Fixed decoding Gzip-encoded responses which specified + ``x-gzip`` content-encoding. + ------------------------------------------------------------------- Wed Oct 18 14:21:44 UTC 2023 - Daniel Garcia Moreno diff --git a/python-urllib3.spec b/python-urllib3.spec index e3b0e02..95ce09f 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.7 +Version: 2.1.0 Release: 0 Summary: HTTP library with thread-safe connection pooling, file post, and more License: MIT @@ -56,6 +56,7 @@ BuildRequires: %{python_module idna >= 3.4} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest >= 7.4.0} BuildRequires: %{python_module pytest-timeout >= 2.1.0} +BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module tornado >= 6.2} BuildRequires: %{python_module trustme >= 0.9.0} BuildRequires: %{python_module urllib3 >= %{version}} @@ -111,7 +112,7 @@ skiplist+=" or test_recent_date" 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 +%pytest %{?jobs:-n %jobs} -k "not (${skiplist})" --ignore test/with_dummyserver/test_socketlevel.py %endif %if ! %{with test} diff --git a/urllib3-2.0.7.tar.gz b/urllib3-2.0.7.tar.gz deleted file mode 100644 index 88538b1..0000000 --- a/urllib3-2.0.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 -size 282546 diff --git a/urllib3-2.1.0.tar.gz b/urllib3-2.1.0.tar.gz new file mode 100644 index 0000000..4097c32 --- /dev/null +++ b/urllib3-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df7aa8afb0148fa78488e7899b2c59b5f4ffcfa82e6c54ccb9dd37c1d7b52d54 +size 263900