Accepting request 1096959 from devel:languages:python

- Disable test_deprecated_no_scheme so it needs network connection to
  run correctly.
- 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/request/show/1096959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=58
This commit is contained in:
Fabian Vogt 2023-07-06 16:28:04 +00:00 committed by Git OBS Bridge
commit 2ff9f6959c
4 changed files with 25 additions and 4 deletions

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Jul 5 11:42:20 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Disable test_deprecated_no_scheme so it needs network connection to
run correctly.
-------------------------------------------------------------------
Mon Jun 19 20:26:34 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>

View File

@ -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
@ -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

View File

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

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

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