[21/35] python3-urllib3: Update to version 1.26.7 and python-3.10

Message ID 20220124161656.71960-21-adolf.belka@ipfire.org
State Accepted
Commit 7c12e4471cc53961d9b8773de649f23d6278814e
Headers show
Series [01/35] python3: Update to version 3.10.1 | expand

Commit Message

Adolf Belka Jan. 24, 2022, 4:16 p.m. UTC
- Update from 1.26.2 to 1.27.7
- Update of rootfile
- Changelog
1.26.7 (2021-09-22)
* Fixed a bug with HTTPS hostname verification involving IP addresses and lack
  of SNI. (Issue #2400)
* Fixed a bug where IPv6 braces weren't stripped during certificate hostname
  matching. (Issue #2240)
1.26.6 (2021-06-25)
* Deprecated the ``urllib3.contrib.ntlmpool`` module. urllib3 is not able to support
  it properly due to `reasons listed in this issue <https://github.com/urllib3/urllib3/issues/2282>`_.
  If you are a user of this module please leave a comment.
* Changed ``HTTPConnection.request_chunked()`` to not erroneously emit multiple
  ``Transfer-Encoding`` headers in the case that one is already specified.
* Fixed typo in deprecation message to recommend ``Retry.DEFAULT_ALLOWED_METHODS``.
1.26.5 (2021-05-26)
* Fixed deprecation warnings emitted in Python 3.10.
* Updated vendored ``six`` library to 1.16.0.
* Improved performance of URL parser when splitting
  the authority component.
1.26.4 (2021-03-15)
* Changed behavior of the default ``SSLContext`` when connecting to HTTPS proxy
  during HTTPS requests. The default ``SSLContext`` now sets ``check_hostname=True``.
1.26.3 (2021-01-26)
* Fixed bytes and string comparison issue with headers (Pull #2141)
* Changed ``ProxySchemeUnknown`` error message to be
  more actionable if the user supplies a proxy URL without
  a scheme. (Pull #2107)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/python3-urllib3 | 104 +++++++++++-----------
 lfs/python3-urllib3                       |   6 +-
 2 files changed, 55 insertions(+), 55 deletions(-)

Comments

Peter Müller Jan. 28, 2022, 1:01 p.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from 1.26.2 to 1.27.7
> - Update of rootfile
> - Changelog
> 1.26.7 (2021-09-22)
> * Fixed a bug with HTTPS hostname verification involving IP addresses and lack
>   of SNI. (Issue #2400)

Ouch.

> * Fixed a bug where IPv6 braces weren't stripped during certificate hostname
>   matching. (Issue #2240)
> 1.26.6 (2021-06-25)
> * Deprecated the ``urllib3.contrib.ntlmpool`` module. urllib3 is not able to support
>   it properly due to `reasons listed in this issue <https://github.com/urllib3/urllib3/issues/2282>`_.
>   If you are a user of this module please leave a comment.
> * Changed ``HTTPConnection.request_chunked()`` to not erroneously emit multiple
>   ``Transfer-Encoding`` headers in the case that one is already specified.
> * Fixed typo in deprecation message to recommend ``Retry.DEFAULT_ALLOWED_METHODS``.
> 1.26.5 (2021-05-26)
> * Fixed deprecation warnings emitted in Python 3.10.
> * Updated vendored ``six`` library to 1.16.0.
> * Improved performance of URL parser when splitting
>   the authority component.
> 1.26.4 (2021-03-15)
> * Changed behavior of the default ``SSLContext`` when connecting to HTTPS proxy
>   during HTTPS requests. The default ``SSLContext`` now sets ``check_hostname=True``.
> 1.26.3 (2021-01-26)
> * Fixed bytes and string comparison issue with headers (Pull #2141)
> * Changed ``ProxySchemeUnknown`` error message to be
>   more actionable if the user supplies a proxy URL without
>   a scheme. (Pull #2107)
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/packages/python3-urllib3 | 104 +++++++++++-----------
>  lfs/python3-urllib3                       |   6 +-
>  2 files changed, 55 insertions(+), 55 deletions(-)
> 
> diff --git a/config/rootfiles/packages/python3-urllib3 b/config/rootfiles/packages/python3-urllib3
> index 1bb68c774..9a76302cb 100644
> --- a/config/rootfiles/packages/python3-urllib3
> +++ b/config/rootfiles/packages/python3-urllib3
> @@ -1,52 +1,52 @@
> -usr/lib/python3.8/site-packages/urllib3
> -#usr/lib/python3.8/site-packages/urllib3-1.26.2-py3.8.egg-info
> -#usr/lib/python3.8/site-packages/urllib3-1.26.2-py3.8.egg-info/PKG-INFO
> -#usr/lib/python3.8/site-packages/urllib3-1.26.2-py3.8.egg-info/SOURCES.txt
> -#usr/lib/python3.8/site-packages/urllib3-1.26.2-py3.8.egg-info/dependency_links.txt
> -#usr/lib/python3.8/site-packages/urllib3-1.26.2-py3.8.egg-info/requires.txt
> -#usr/lib/python3.8/site-packages/urllib3-1.26.2-py3.8.egg-info/top_level.txt
> -#usr/lib/python3.8/site-packages/urllib3/__init__.py
> -#usr/lib/python3.8/site-packages/urllib3/_collections.py
> -#usr/lib/python3.8/site-packages/urllib3/_version.py
> -#usr/lib/python3.8/site-packages/urllib3/connection.py
> -#usr/lib/python3.8/site-packages/urllib3/connectionpool.py
> -#usr/lib/python3.8/site-packages/urllib3/contrib
> -#usr/lib/python3.8/site-packages/urllib3/contrib/__init__.py
> -#usr/lib/python3.8/site-packages/urllib3/contrib/_appengine_environ.py
> -#usr/lib/python3.8/site-packages/urllib3/contrib/_securetransport
> -#usr/lib/python3.8/site-packages/urllib3/contrib/_securetransport/__init__.py
> -#usr/lib/python3.8/site-packages/urllib3/contrib/_securetransport/bindings.py
> -#usr/lib/python3.8/site-packages/urllib3/contrib/_securetransport/low_level.py
> -#usr/lib/python3.8/site-packages/urllib3/contrib/appengine.py
> -#usr/lib/python3.8/site-packages/urllib3/contrib/ntlmpool.py
> -#usr/lib/python3.8/site-packages/urllib3/contrib/pyopenssl.py
> -#usr/lib/python3.8/site-packages/urllib3/contrib/securetransport.py
> -#usr/lib/python3.8/site-packages/urllib3/contrib/socks.py
> -#usr/lib/python3.8/site-packages/urllib3/exceptions.py
> -#usr/lib/python3.8/site-packages/urllib3/fields.py
> -#usr/lib/python3.8/site-packages/urllib3/filepost.py
> -#usr/lib/python3.8/site-packages/urllib3/packages
> -#usr/lib/python3.8/site-packages/urllib3/packages/__init__.py
> -#usr/lib/python3.8/site-packages/urllib3/packages/backports
> -#usr/lib/python3.8/site-packages/urllib3/packages/backports/__init__.py
> -#usr/lib/python3.8/site-packages/urllib3/packages/backports/makefile.py
> -#usr/lib/python3.8/site-packages/urllib3/packages/six.py
> -#usr/lib/python3.8/site-packages/urllib3/packages/ssl_match_hostname
> -#usr/lib/python3.8/site-packages/urllib3/packages/ssl_match_hostname/__init__.py
> -#usr/lib/python3.8/site-packages/urllib3/packages/ssl_match_hostname/_implementation.py
> -#usr/lib/python3.8/site-packages/urllib3/poolmanager.py
> -#usr/lib/python3.8/site-packages/urllib3/request.py
> -#usr/lib/python3.8/site-packages/urllib3/response.py
> -#usr/lib/python3.8/site-packages/urllib3/util
> -#usr/lib/python3.8/site-packages/urllib3/util/__init__.py
> -#usr/lib/python3.8/site-packages/urllib3/util/connection.py
> -#usr/lib/python3.8/site-packages/urllib3/util/proxy.py
> -#usr/lib/python3.8/site-packages/urllib3/util/queue.py
> -#usr/lib/python3.8/site-packages/urllib3/util/request.py
> -#usr/lib/python3.8/site-packages/urllib3/util/response.py
> -#usr/lib/python3.8/site-packages/urllib3/util/retry.py
> -#usr/lib/python3.8/site-packages/urllib3/util/ssl_.py
> -#usr/lib/python3.8/site-packages/urllib3/util/ssltransport.py
> -#usr/lib/python3.8/site-packages/urllib3/util/timeout.py
> -#usr/lib/python3.8/site-packages/urllib3/util/url.py
> -#usr/lib/python3.8/site-packages/urllib3/util/wait.py
> +usr/lib/python3.10/site-packages/urllib3
> +#usr/lib/python3.10/site-packages/urllib3-1.26.7-py3.10.egg-info
> +#usr/lib/python3.10/site-packages/urllib3-1.26.7-py3.10.egg-info/PKG-INFO
> +#usr/lib/python3.10/site-packages/urllib3-1.26.7-py3.10.egg-info/SOURCES.txt
> +#usr/lib/python3.10/site-packages/urllib3-1.26.7-py3.10.egg-info/dependency_links.txt
> +#usr/lib/python3.10/site-packages/urllib3-1.26.7-py3.10.egg-info/requires.txt
> +#usr/lib/python3.10/site-packages/urllib3-1.26.7-py3.10.egg-info/top_level.txt
> +#usr/lib/python3.10/site-packages/urllib3/__init__.py
> +#usr/lib/python3.10/site-packages/urllib3/_collections.py
> +#usr/lib/python3.10/site-packages/urllib3/_version.py
> +#usr/lib/python3.10/site-packages/urllib3/connection.py
> +#usr/lib/python3.10/site-packages/urllib3/connectionpool.py
> +#usr/lib/python3.10/site-packages/urllib3/contrib
> +#usr/lib/python3.10/site-packages/urllib3/contrib/__init__.py
> +#usr/lib/python3.10/site-packages/urllib3/contrib/_appengine_environ.py
> +#usr/lib/python3.10/site-packages/urllib3/contrib/_securetransport
> +#usr/lib/python3.10/site-packages/urllib3/contrib/_securetransport/__init__.py
> +#usr/lib/python3.10/site-packages/urllib3/contrib/_securetransport/bindings.py
> +#usr/lib/python3.10/site-packages/urllib3/contrib/_securetransport/low_level.py
> +#usr/lib/python3.10/site-packages/urllib3/contrib/appengine.py
> +#usr/lib/python3.10/site-packages/urllib3/contrib/ntlmpool.py
> +#usr/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py
> +#usr/lib/python3.10/site-packages/urllib3/contrib/securetransport.py
> +#usr/lib/python3.10/site-packages/urllib3/contrib/socks.py
> +#usr/lib/python3.10/site-packages/urllib3/exceptions.py
> +#usr/lib/python3.10/site-packages/urllib3/fields.py
> +#usr/lib/python3.10/site-packages/urllib3/filepost.py
> +#usr/lib/python3.10/site-packages/urllib3/packages
> +#usr/lib/python3.10/site-packages/urllib3/packages/__init__.py
> +#usr/lib/python3.10/site-packages/urllib3/packages/backports
> +#usr/lib/python3.10/site-packages/urllib3/packages/backports/__init__.py
> +#usr/lib/python3.10/site-packages/urllib3/packages/backports/makefile.py
> +#usr/lib/python3.10/site-packages/urllib3/packages/six.py
> +#usr/lib/python3.10/site-packages/urllib3/packages/ssl_match_hostname
> +#usr/lib/python3.10/site-packages/urllib3/packages/ssl_match_hostname/__init__.py
> +#usr/lib/python3.10/site-packages/urllib3/packages/ssl_match_hostname/_implementation.py
> +#usr/lib/python3.10/site-packages/urllib3/poolmanager.py
> +#usr/lib/python3.10/site-packages/urllib3/request.py
> +#usr/lib/python3.10/site-packages/urllib3/response.py
> +#usr/lib/python3.10/site-packages/urllib3/util
> +#usr/lib/python3.10/site-packages/urllib3/util/__init__.py
> +#usr/lib/python3.10/site-packages/urllib3/util/connection.py
> +#usr/lib/python3.10/site-packages/urllib3/util/proxy.py
> +#usr/lib/python3.10/site-packages/urllib3/util/queue.py
> +#usr/lib/python3.10/site-packages/urllib3/util/request.py
> +#usr/lib/python3.10/site-packages/urllib3/util/response.py
> +#usr/lib/python3.10/site-packages/urllib3/util/retry.py
> +#usr/lib/python3.10/site-packages/urllib3/util/ssl_.py
> +#usr/lib/python3.10/site-packages/urllib3/util/ssltransport.py
> +#usr/lib/python3.10/site-packages/urllib3/util/timeout.py
> +#usr/lib/python3.10/site-packages/urllib3/util/url.py
> +#usr/lib/python3.10/site-packages/urllib3/util/wait.py
> diff --git a/lfs/python3-urllib3 b/lfs/python3-urllib3
> index 30ea26f2d..78cc24dbd 100644
> --- a/lfs/python3-urllib3
> +++ b/lfs/python3-urllib3
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 1.26.2
> +VER        = 1.26.7
>  
>  THISAPP    = urllib3-$(VER)
>  DL_FILE    = $(THISAPP).tar.gz
> @@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>  TARGET     = $(DIR_INFO)/$(THISAPP)
>  PROG       = python3-urllib3
> -PAK_VER    = 1
> +PAK_VER    = 2
>  
>  ###############################################################################
>  # Top-level Rules
> @@ -42,7 +42,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_MD5 = 2233256ccfe140a915f68703f8c2cc1f
> +$(DL_FILE)_MD5 = e0051a87a956e618a6bb514a07fa7773
>  
>  install : $(TARGET)
>

Patch

diff --git a/config/rootfiles/packages/python3-urllib3 b/config/rootfiles/packages/python3-urllib3
index 1bb68c774..9a76302cb 100644
--- a/config/rootfiles/packages/python3-urllib3
+++ b/config/rootfiles/packages/python3-urllib3
@@ -1,52 +1,52 @@ 
-usr/lib/python3.8/site-packages/urllib3
-#usr/lib/python3.8/site-packages/urllib3-1.26.2-py3.8.egg-info
-#usr/lib/python3.8/site-packages/urllib3-1.26.2-py3.8.egg-info/PKG-INFO
-#usr/lib/python3.8/site-packages/urllib3-1.26.2-py3.8.egg-info/SOURCES.txt
-#usr/lib/python3.8/site-packages/urllib3-1.26.2-py3.8.egg-info/dependency_links.txt
-#usr/lib/python3.8/site-packages/urllib3-1.26.2-py3.8.egg-info/requires.txt
-#usr/lib/python3.8/site-packages/urllib3-1.26.2-py3.8.egg-info/top_level.txt
-#usr/lib/python3.8/site-packages/urllib3/__init__.py
-#usr/lib/python3.8/site-packages/urllib3/_collections.py
-#usr/lib/python3.8/site-packages/urllib3/_version.py
-#usr/lib/python3.8/site-packages/urllib3/connection.py
-#usr/lib/python3.8/site-packages/urllib3/connectionpool.py
-#usr/lib/python3.8/site-packages/urllib3/contrib
-#usr/lib/python3.8/site-packages/urllib3/contrib/__init__.py
-#usr/lib/python3.8/site-packages/urllib3/contrib/_appengine_environ.py
-#usr/lib/python3.8/site-packages/urllib3/contrib/_securetransport
-#usr/lib/python3.8/site-packages/urllib3/contrib/_securetransport/__init__.py
-#usr/lib/python3.8/site-packages/urllib3/contrib/_securetransport/bindings.py
-#usr/lib/python3.8/site-packages/urllib3/contrib/_securetransport/low_level.py
-#usr/lib/python3.8/site-packages/urllib3/contrib/appengine.py
-#usr/lib/python3.8/site-packages/urllib3/contrib/ntlmpool.py
-#usr/lib/python3.8/site-packages/urllib3/contrib/pyopenssl.py
-#usr/lib/python3.8/site-packages/urllib3/contrib/securetransport.py
-#usr/lib/python3.8/site-packages/urllib3/contrib/socks.py
-#usr/lib/python3.8/site-packages/urllib3/exceptions.py
-#usr/lib/python3.8/site-packages/urllib3/fields.py
-#usr/lib/python3.8/site-packages/urllib3/filepost.py
-#usr/lib/python3.8/site-packages/urllib3/packages
-#usr/lib/python3.8/site-packages/urllib3/packages/__init__.py
-#usr/lib/python3.8/site-packages/urllib3/packages/backports
-#usr/lib/python3.8/site-packages/urllib3/packages/backports/__init__.py
-#usr/lib/python3.8/site-packages/urllib3/packages/backports/makefile.py
-#usr/lib/python3.8/site-packages/urllib3/packages/six.py
-#usr/lib/python3.8/site-packages/urllib3/packages/ssl_match_hostname
-#usr/lib/python3.8/site-packages/urllib3/packages/ssl_match_hostname/__init__.py
-#usr/lib/python3.8/site-packages/urllib3/packages/ssl_match_hostname/_implementation.py
-#usr/lib/python3.8/site-packages/urllib3/poolmanager.py
-#usr/lib/python3.8/site-packages/urllib3/request.py
-#usr/lib/python3.8/site-packages/urllib3/response.py
-#usr/lib/python3.8/site-packages/urllib3/util
-#usr/lib/python3.8/site-packages/urllib3/util/__init__.py
-#usr/lib/python3.8/site-packages/urllib3/util/connection.py
-#usr/lib/python3.8/site-packages/urllib3/util/proxy.py
-#usr/lib/python3.8/site-packages/urllib3/util/queue.py
-#usr/lib/python3.8/site-packages/urllib3/util/request.py
-#usr/lib/python3.8/site-packages/urllib3/util/response.py
-#usr/lib/python3.8/site-packages/urllib3/util/retry.py
-#usr/lib/python3.8/site-packages/urllib3/util/ssl_.py
-#usr/lib/python3.8/site-packages/urllib3/util/ssltransport.py
-#usr/lib/python3.8/site-packages/urllib3/util/timeout.py
-#usr/lib/python3.8/site-packages/urllib3/util/url.py
-#usr/lib/python3.8/site-packages/urllib3/util/wait.py
+usr/lib/python3.10/site-packages/urllib3
+#usr/lib/python3.10/site-packages/urllib3-1.26.7-py3.10.egg-info
+#usr/lib/python3.10/site-packages/urllib3-1.26.7-py3.10.egg-info/PKG-INFO
+#usr/lib/python3.10/site-packages/urllib3-1.26.7-py3.10.egg-info/SOURCES.txt
+#usr/lib/python3.10/site-packages/urllib3-1.26.7-py3.10.egg-info/dependency_links.txt
+#usr/lib/python3.10/site-packages/urllib3-1.26.7-py3.10.egg-info/requires.txt
+#usr/lib/python3.10/site-packages/urllib3-1.26.7-py3.10.egg-info/top_level.txt
+#usr/lib/python3.10/site-packages/urllib3/__init__.py
+#usr/lib/python3.10/site-packages/urllib3/_collections.py
+#usr/lib/python3.10/site-packages/urllib3/_version.py
+#usr/lib/python3.10/site-packages/urllib3/connection.py
+#usr/lib/python3.10/site-packages/urllib3/connectionpool.py
+#usr/lib/python3.10/site-packages/urllib3/contrib
+#usr/lib/python3.10/site-packages/urllib3/contrib/__init__.py
+#usr/lib/python3.10/site-packages/urllib3/contrib/_appengine_environ.py
+#usr/lib/python3.10/site-packages/urllib3/contrib/_securetransport
+#usr/lib/python3.10/site-packages/urllib3/contrib/_securetransport/__init__.py
+#usr/lib/python3.10/site-packages/urllib3/contrib/_securetransport/bindings.py
+#usr/lib/python3.10/site-packages/urllib3/contrib/_securetransport/low_level.py
+#usr/lib/python3.10/site-packages/urllib3/contrib/appengine.py
+#usr/lib/python3.10/site-packages/urllib3/contrib/ntlmpool.py
+#usr/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py
+#usr/lib/python3.10/site-packages/urllib3/contrib/securetransport.py
+#usr/lib/python3.10/site-packages/urllib3/contrib/socks.py
+#usr/lib/python3.10/site-packages/urllib3/exceptions.py
+#usr/lib/python3.10/site-packages/urllib3/fields.py
+#usr/lib/python3.10/site-packages/urllib3/filepost.py
+#usr/lib/python3.10/site-packages/urllib3/packages
+#usr/lib/python3.10/site-packages/urllib3/packages/__init__.py
+#usr/lib/python3.10/site-packages/urllib3/packages/backports
+#usr/lib/python3.10/site-packages/urllib3/packages/backports/__init__.py
+#usr/lib/python3.10/site-packages/urllib3/packages/backports/makefile.py
+#usr/lib/python3.10/site-packages/urllib3/packages/six.py
+#usr/lib/python3.10/site-packages/urllib3/packages/ssl_match_hostname
+#usr/lib/python3.10/site-packages/urllib3/packages/ssl_match_hostname/__init__.py
+#usr/lib/python3.10/site-packages/urllib3/packages/ssl_match_hostname/_implementation.py
+#usr/lib/python3.10/site-packages/urllib3/poolmanager.py
+#usr/lib/python3.10/site-packages/urllib3/request.py
+#usr/lib/python3.10/site-packages/urllib3/response.py
+#usr/lib/python3.10/site-packages/urllib3/util
+#usr/lib/python3.10/site-packages/urllib3/util/__init__.py
+#usr/lib/python3.10/site-packages/urllib3/util/connection.py
+#usr/lib/python3.10/site-packages/urllib3/util/proxy.py
+#usr/lib/python3.10/site-packages/urllib3/util/queue.py
+#usr/lib/python3.10/site-packages/urllib3/util/request.py
+#usr/lib/python3.10/site-packages/urllib3/util/response.py
+#usr/lib/python3.10/site-packages/urllib3/util/retry.py
+#usr/lib/python3.10/site-packages/urllib3/util/ssl_.py
+#usr/lib/python3.10/site-packages/urllib3/util/ssltransport.py
+#usr/lib/python3.10/site-packages/urllib3/util/timeout.py
+#usr/lib/python3.10/site-packages/urllib3/util/url.py
+#usr/lib/python3.10/site-packages/urllib3/util/wait.py
diff --git a/lfs/python3-urllib3 b/lfs/python3-urllib3
index 30ea26f2d..78cc24dbd 100644
--- a/lfs/python3-urllib3
+++ b/lfs/python3-urllib3
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 1.26.2
+VER        = 1.26.7
 
 THISAPP    = urllib3-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = python3-urllib3
-PAK_VER    = 1
+PAK_VER    = 2
 
 ###############################################################################
 # Top-level Rules
@@ -42,7 +42,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 2233256ccfe140a915f68703f8c2cc1f
+$(DL_FILE)_MD5 = e0051a87a956e618a6bb514a07fa7773
 
 install : $(TARGET)