forked from pool/python-urllib3
- update to 1.26.8:
* Added extra message to``urllib3.exceptions.ProxyError`` when urllib3 detects that a proxy is configured to use HTTPS but the proxy itself appears to only use HTTP. * Added a mention of the size of the connection pool when discarding a connection due to the pool being full. * Added explicit support for Python 3.11. * Deprecated the ``Retry.MAX_BACKOFF`` class property in favor of ``Retry.DEFAULT_MAX_BACKOFF`` to better match the rest of the default parameter names. ``Retry.MAX_BACKOFF`` is removed in v2.0. * Changed location of the vendored ``ssl.match_hostname`` function from ``urllib3.packages.ssl_match_hostname`` to ``urllib3.util.ssl_match_hostname`` to ensure Python 3.10+ compatibility after being repackaged by downstream distributors. * Fixed absolute imports, all imports are now relative. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=127
This commit is contained in:
@@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 10 22:41:38 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.26.8:
|
||||
* Added extra message to``urllib3.exceptions.ProxyError`` when urllib3 detects that
|
||||
a proxy is configured to use HTTPS but the proxy itself appears to only use HTTP.
|
||||
* Added a mention of the size of the connection pool when discarding a
|
||||
connection due to the pool being full.
|
||||
* Added explicit support for Python 3.11.
|
||||
* Deprecated the ``Retry.MAX_BACKOFF`` class property in favor of
|
||||
``Retry.DEFAULT_MAX_BACKOFF`` to better match the rest of the default parameter names.
|
||||
``Retry.MAX_BACKOFF`` is removed in v2.0.
|
||||
* Changed location of the vendored ``ssl.match_hostname`` function from
|
||||
``urllib3.packages.ssl_match_hostname`` to
|
||||
``urllib3.util.ssl_match_hostname`` to ensure Python 3.10+ compatibility after
|
||||
being repackaged by downstream distributors.
|
||||
* Fixed absolute imports, all imports are now relative.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 26 21:02:38 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -27,15 +27,13 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-urllib3%{psuffix}
|
||||
Version: 1.26.7
|
||||
Version: 1.26.8
|
||||
Release: 0
|
||||
Summary: HTTP library with thread-safe connection pooling, file post, and more
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://urllib3.readthedocs.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/u/urllib3/urllib3-%{version}.tar.gz
|
||||
# Wrapper for ssl to unbundle ssl_match_hostname
|
||||
Source1: ssl_match_hostname_py3.py
|
||||
# PATCH-FIX-UPSTREAM remove_mock.patch gh#urllib3/urllib3#2108 mcepl@suse.com
|
||||
# remove dependency on the external module mock
|
||||
Patch0: remove_mock.patch
|
||||
@@ -110,10 +108,6 @@ rm -r test/appengine/
|
||||
|
||||
# Unbundle the Python 3 build
|
||||
rm %{buildroot}/%{python3_sitelib}/urllib3/packages/six.py
|
||||
rm -r %{buildroot}/%{python3_sitelib}/urllib3/packages/ssl_match_hostname/
|
||||
|
||||
# Copy ssl_match_hostname.py before compilation, so we can have a pyc too
|
||||
cp -a %{SOURCE1} %{buildroot}/%{python3_sitelib}/urllib3/packages/ssl_match_hostname.py
|
||||
|
||||
%{python_expand \
|
||||
$python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/urllib3/
|
||||
|
@@ -1 +0,0 @@
|
||||
from ssl import match_hostname, CertificateError
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4987c65554f7a2dbf30c18fd48778ef124af6fab771a377103da0585e2336ece
|
||||
size 291350
|
3
urllib3-1.26.8.tar.gz
Normal file
3
urllib3-1.26.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c
|
||||
size 294280
|
Reference in New Issue
Block a user