pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-urllib3 py-urllib3: updated to 1.26.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62c652ab3430
branches:  trunk
changeset: 441844:62c652ab3430
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Nov 12 09:00:07 2020 +0000

description:
py-urllib3: updated to 1.26.1

1.26.1 (2020-11-11)
-------------------
* Fixed an issue where two ``User-Agent`` headers would be sent if a
  ``User-Agent`` header key is passed as ``bytes``


1.26.0 (2020-11-10)
-------------------
* **NOTE: urllib3 v2.0 will drop support for Python 2**.
  `Read more in the v2.0 Roadmap <https://urllib3.readthedocs.io/en/latest/v2-roadmap.html>`_.
* Added support for HTTPS proxies contacting HTTPS servers
* Deprecated negotiating TLSv1 and TLSv1.1 by default. Users that
  still wish to use TLS earlier than 1.2 without a deprecation warning
  should opt-in explicitly by setting ``ssl_version=ssl.PROTOCOL_TLSv1_1``
  **Starting in urllib3 v2.0: Connections that receive a ``DeprecationWarning`` will fail**
* Deprecated ``Retry`` options ``Retry.DEFAULT_METHOD_WHITELIST``, ``Retry.DEFAULT_REDIRECT_HEADERS_BLACKLIST``
  and ``Retry(method_whitelist=...)`` in favor of ``Retry.DEFAULT_ALLOWED_METHODS``,
  ``Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT``, and ``Retry(allowed_methods=...)``
* Added default ``User-Agent`` header to every request
* Added ``urllib3.util.SKIP_HEADER`` for skipping ``User-Agent``, ``Accept-Encoding``,
  and ``Host`` headers from being automatically emitted with requests
* Collapse ``transfer-encoding: chunked`` request data and framing into
  the same ``socket.send()`` call
* Send ``http/1.1`` ALPN identifier with every TLS handshake by default
* Properly terminate SecureTransport connections when CA verification fails
* Don't emit an ``SNIMissingWarning`` when passing ``server_hostname=None``
  to SecureTransport
* Disabled requesting TLSv1.2 session tickets as they weren't being used by urllib3
* Suppress ``BrokenPipeError`` when writing request body after the server
  has closed the socket
* Wrap ``ssl.SSLError`` that can be raised from reading a socket (e.g. "bad MAC")
  into an ``urllib3.exceptions.SSLError``

diffstat:

 www/py-urllib3/Makefile |   4 ++--
 www/py-urllib3/PLIST    |   8 +++++++-
 www/py-urllib3/distinfo |  10 +++++-----
 3 files changed, 14 insertions(+), 8 deletions(-)

diffs (56 lines):

diff -r e450bccfe1ef -r 62c652ab3430 www/py-urllib3/Makefile
--- a/www/py-urllib3/Makefile   Thu Nov 12 06:39:16 2020 +0000
+++ b/www/py-urllib3/Makefile   Thu Nov 12 09:00:07 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2020/10/19 18:55:29 adam Exp $
+# $NetBSD: Makefile,v 1.25 2020/11/12 09:00:07 adam Exp $
 
-DISTNAME=      urllib3-1.25.11
+DISTNAME=      urllib3-1.26.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/urllib3/}
diff -r e450bccfe1ef -r 62c652ab3430 www/py-urllib3/PLIST
--- a/www/py-urllib3/PLIST      Thu Nov 12 06:39:16 2020 +0000
+++ b/www/py-urllib3/PLIST      Thu Nov 12 09:00:07 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2020/07/27 10:06:52 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2020/11/12 09:00:07 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -91,6 +91,9 @@
 ${PYSITELIB}/urllib3/util/connection.py
 ${PYSITELIB}/urllib3/util/connection.pyc
 ${PYSITELIB}/urllib3/util/connection.pyo
+${PYSITELIB}/urllib3/util/proxy.py
+${PYSITELIB}/urllib3/util/proxy.pyc
+${PYSITELIB}/urllib3/util/proxy.pyo
 ${PYSITELIB}/urllib3/util/queue.py
 ${PYSITELIB}/urllib3/util/queue.pyc
 ${PYSITELIB}/urllib3/util/queue.pyo
@@ -106,6 +109,9 @@
 ${PYSITELIB}/urllib3/util/ssl_.py
 ${PYSITELIB}/urllib3/util/ssl_.pyc
 ${PYSITELIB}/urllib3/util/ssl_.pyo
+${PYSITELIB}/urllib3/util/ssltransport.py
+${PYSITELIB}/urllib3/util/ssltransport.pyc
+${PYSITELIB}/urllib3/util/ssltransport.pyo
 ${PYSITELIB}/urllib3/util/timeout.py
 ${PYSITELIB}/urllib3/util/timeout.pyc
 ${PYSITELIB}/urllib3/util/timeout.pyo
diff -r e450bccfe1ef -r 62c652ab3430 www/py-urllib3/distinfo
--- a/www/py-urllib3/distinfo   Thu Nov 12 06:39:16 2020 +0000
+++ b/www/py-urllib3/distinfo   Thu Nov 12 09:00:07 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2020/10/19 18:55:29 adam Exp $
+$NetBSD: distinfo,v 1.22 2020/11/12 09:00:07 adam Exp $
 
-SHA1 (urllib3-1.25.11.tar.gz) = fb096161db7025d6fefd716f7da878e887f91082
-RMD160 (urllib3-1.25.11.tar.gz) = 4134912b78d7da31e244a4e80ad9c75bcd12303e
-SHA512 (urllib3-1.25.11.tar.gz) = 58f77edb9ced62cbac7b0baf2651c07f9f413267f103730ee25f08c5d4d0bf52a2ace02f58841bcd55652db677c7a1dc9a756681e7e32d590bc69d8b93e8f173
-Size (urllib3-1.25.11.tar.gz) = 260300 bytes
+SHA1 (urllib3-1.26.1.tar.gz) = fd162f082c7a17e0db0b82994ec6267238bb3eb7
+RMD160 (urllib3-1.26.1.tar.gz) = 413ade7e08c54b01d93955591337997b6b8aa911
+SHA512 (urllib3-1.26.1.tar.gz) = 5fbb28e190ecf58aae0932994bc1adb1542041bf96f176a9ece22bd6ee8d4ae8dc8f40dea77359601b704025e65c65ca27137f65d3d47fac3fc796b7bbd112f3
+Size (urllib3-1.26.1.tar.gz) = 286708 bytes



Home | Main Index | Thread Index | Old Index