pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-urllib3



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jan 30 20:04:53 UTC 2024

Modified Files:
        pkgsrc/www/py-urllib3: Makefile PLIST distinfo

Log Message:
py-urllib3: updated to 2.2.0

2.2.0 (2024-01-30)

- Added support for `Emscripten and Pyodide <https://urllib3.readthedocs.io/en/latest/reference/contrib/emscripten.html>`__, including streaming support in cross-origin isolated browser environments 
where threading is enabled.
- Added support for ``HTTPResponse.read1()`` method.
- Added rudimentary support for HTTP/2.
- Fixed issue where requests against urls with trailing dots were failing due to SSL errors
  when using proxy.
- Fixed ``HTTPConnection.proxy_is_verified`` and ``HTTPSConnection.proxy_is_verified``
  to be always set to a boolean after connecting to a proxy. It could be
  ``None`` in some cases previously.
- Fixed an issue where ``headers`` passed in a request with ``json=`` would be mutated
- Fixed ``HTTPSConnection.is_verified`` to be set to ``False`` when connecting
  from a HTTPS proxy to an HTTP target. It was set to ``True`` previously.
- Fixed handling of new error message from OpenSSL 3.2.0 when configuring an HTTP proxy as HTTPS
- Fixed TLS 1.3 post-handshake auth when the server certificate validation is disabled
- Note for downstream distributors: To run integration tests, you now need to run the tests a second
  time with the ``--integration`` pytest flag.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/www/py-urllib3/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/py-urllib3/PLIST
cvs rdiff -u -r1.46 -r1.47 pkgsrc/www/py-urllib3/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-urllib3/Makefile
diff -u pkgsrc/www/py-urllib3/Makefile:1.56 pkgsrc/www/py-urllib3/Makefile:1.57
--- pkgsrc/www/py-urllib3/Makefile:1.56 Sun Nov 19 19:53:33 2023
+++ pkgsrc/www/py-urllib3/Makefile      Tue Jan 30 20:04:53 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.56 2023/11/19 19:53:33 wiz Exp $
+# $NetBSD: Makefile,v 1.57 2024/01/30 20:04:53 adam Exp $
 
-DISTNAME=      urllib3-2.1.0
+DISTNAME=      urllib3-2.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/urllib3/}
 
@@ -17,7 +16,7 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-hatchling>
 DEPENDS+=      ${PYPKGPREFIX}-Socks>=1.7.1:../../net/py-Socks
 # "brotli"
 DEPENDS+=      ${PYPKGPREFIX}-brotli>=1.0.9:../../archivers/py-brotli
-DEPENDS+=      ${PYPKGPREFIX}-brotlicffi>=0:../../archivers/py-brotlicffi
+DEPENDS+=      ${PYPKGPREFIX}-brotlicffi>=0.8.0:../../archivers/py-brotlicffi
 # "zstd"
 DEPENDS+=      ${PYPKGPREFIX}-zstandard>=0.18.0:../../archivers/py-zstandard
 # "secure"
@@ -36,7 +35,8 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-test>=7.2.
 #TEST_DEPENDS+=        ${PYPKGPREFIX}-towncrier>=21.9.0:../../wip/py-towncrier
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=2.1.0:../../devel/py-test-timeout
 TEST_DEPENDS+= ${PYPKGPREFIX}-trustme>=0.9.0:../../security/py-trustme
-#pytest-memray=        =1.4.0;python_version>="3.8" and python_version<"3.12" and sys_platform!="win32" and implementation_name=="cpython"
+#hypercorn @ git+https://github.com/urllib3/hypercorn@urllib3-changes
+#pytest-memray==1.5.0; sys_platform!="win32" and implementation_name=="cpython"
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/www/py-urllib3/PLIST
diff -u pkgsrc/www/py-urllib3/PLIST:1.15 pkgsrc/www/py-urllib3/PLIST:1.16
--- pkgsrc/www/py-urllib3/PLIST:1.15    Sun Nov 19 17:38:36 2023
+++ pkgsrc/www/py-urllib3/PLIST Tue Jan 30 20:04:53 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2023/11/19 17:38:36 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2024/01/30 20:04:53 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -27,6 +27,22 @@ ${PYSITELIB}/urllib3/connectionpool.pyo
 ${PYSITELIB}/urllib3/contrib/__init__.py
 ${PYSITELIB}/urllib3/contrib/__init__.pyc
 ${PYSITELIB}/urllib3/contrib/__init__.pyo
+${PYSITELIB}/urllib3/contrib/emscripten/__init__.py
+${PYSITELIB}/urllib3/contrib/emscripten/__init__.pyc
+${PYSITELIB}/urllib3/contrib/emscripten/__init__.pyo
+${PYSITELIB}/urllib3/contrib/emscripten/connection.py
+${PYSITELIB}/urllib3/contrib/emscripten/connection.pyc
+${PYSITELIB}/urllib3/contrib/emscripten/connection.pyo
+${PYSITELIB}/urllib3/contrib/emscripten/emscripten_fetch_worker.js
+${PYSITELIB}/urllib3/contrib/emscripten/fetch.py
+${PYSITELIB}/urllib3/contrib/emscripten/fetch.pyc
+${PYSITELIB}/urllib3/contrib/emscripten/fetch.pyo
+${PYSITELIB}/urllib3/contrib/emscripten/request.py
+${PYSITELIB}/urllib3/contrib/emscripten/request.pyc
+${PYSITELIB}/urllib3/contrib/emscripten/request.pyo
+${PYSITELIB}/urllib3/contrib/emscripten/response.py
+${PYSITELIB}/urllib3/contrib/emscripten/response.pyc
+${PYSITELIB}/urllib3/contrib/emscripten/response.pyo
 ${PYSITELIB}/urllib3/contrib/pyopenssl.py
 ${PYSITELIB}/urllib3/contrib/pyopenssl.pyc
 ${PYSITELIB}/urllib3/contrib/pyopenssl.pyo
@@ -42,6 +58,9 @@ ${PYSITELIB}/urllib3/fields.pyo
 ${PYSITELIB}/urllib3/filepost.py
 ${PYSITELIB}/urllib3/filepost.pyc
 ${PYSITELIB}/urllib3/filepost.pyo
+${PYSITELIB}/urllib3/http2.py
+${PYSITELIB}/urllib3/http2.pyc
+${PYSITELIB}/urllib3/http2.pyo
 ${PYSITELIB}/urllib3/poolmanager.py
 ${PYSITELIB}/urllib3/poolmanager.pyc
 ${PYSITELIB}/urllib3/poolmanager.pyo

Index: pkgsrc/www/py-urllib3/distinfo
diff -u pkgsrc/www/py-urllib3/distinfo:1.46 pkgsrc/www/py-urllib3/distinfo:1.47
--- pkgsrc/www/py-urllib3/distinfo:1.46 Sun Nov 19 17:38:36 2023
+++ pkgsrc/www/py-urllib3/distinfo      Tue Jan 30 20:04:53 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.46 2023/11/19 17:38:36 adam Exp $
+$NetBSD: distinfo,v 1.47 2024/01/30 20:04:53 adam Exp $
 
-BLAKE2s (urllib3-2.1.0.tar.gz) = 337f006c5552e8a596c724afbd55a25bdb946b82972da58d66904b523f4483b0
-SHA512 (urllib3-2.1.0.tar.gz) = 33d6eafd9b6ecd97ee2dca8a4f1612a6fcc584961bcfd3a0a188f557a73f4c1576f98dc525c3b2feecb2d676f4bf4364aafeef093d6686e4b3ef2043726561a8
-Size (urllib3-2.1.0.tar.gz) = 263900 bytes
+BLAKE2s (urllib3-2.2.0.tar.gz) = 1c983c8a1e94fb404272431f8e16d2ebc62d3a2430f99fdb67153e6355876fb0
+SHA512 (urllib3-2.2.0.tar.gz) = 8fa2735ff623ec549802290a2317d3d24cdd18e43b8b0702dcee03ecba31428bd0dd12e5b8e129135a3f254bcf5bcd6a8b608c3a43192b50e3a815c73906f6cd
+Size (urllib3-2.2.0.tar.gz) = 287152 bytes



Home | Main Index | Thread Index | Old Index