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:           Thu Sep 12 19:38:22 UTC 2024

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

Log Message:
py-urllib3: updated to 2.2.3

2.2.3 (2024-09-12)
==================

Features
--------

- Added support for Python 3.13.

Bugfixes
--------

- Fixed the default encoding of chunked request bodies to be UTF-8 instead of ISO-8859-1.
  All other methods of supplying a request body already use UTF-8 starting in urllib3 v2.0.
- Fixed ResourceWarning on CONNECT with Python < 3.11.4 by backporting https://github.com/python/cpython/issues/103472.
- Adjust tolerance for floating-point comparison on Windows to avoid flakiness in CI
- Fixed a crash where certain standard library hash functions were absent in restricted environments.
- Fixed mypy error when adding to ``HTTPConnection.default_socket_options``.

HTTP/2 (experimental)
---------------------

HTTP/2 support is still in early development.

- Excluded Transfer-Encoding: chunked from HTTP/2 request body
- Added version checking for ``h2`` (https://pypi.org/project/h2/) usage.

  Now only accepting supported h2 major version 4.x.x.
- Added a probing mechanism for determining whether a given target origin
  supports HTTP/2 via ALPN.
- Add support for sending a request body with HTTP/2

Deprecations and Removals
-------------------------

- Note for downstream distributors: the ``_version.py`` file has been removed and is now created at build time by hatch-vcs.
- Drop support for end-of-life PyPy3.8 and PyPy3.9.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/www/py-urllib3/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/py-urllib3/PLIST
cvs rdiff -u -r1.49 -r1.50 pkgsrc/www/py-urllib3/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-urllib3/options.mk

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.62 pkgsrc/www/py-urllib3/Makefile:1.63
--- pkgsrc/www/py-urllib3/Makefile:1.62 Thu Aug 15 21:55:18 2024
+++ pkgsrc/www/py-urllib3/Makefile      Thu Sep 12 19:38:21 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.62 2024/08/15 21:55:18 wiz Exp $
+# $NetBSD: Makefile,v 1.63 2024/09/12 19:38:21 adam Exp $
 
-DISTNAME=      urllib3-2.2.2
+DISTNAME=      urllib3-2.2.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/urllib3/}
@@ -10,6 +10,7 @@ HOMEPAGE=     https://urllib3.readthedocs.io
 COMMENT=       HTTP library with thread-safe connection pooling
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0.4.0":../../devel/py-hatch-vcs
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.6.0:../../devel/py-hatchling
 # optional dependencies:
 # "socks"; higher requirement from dev_requirements.txt
@@ -20,8 +21,6 @@ DEPENDS+=     ${PYPKGPREFIX}-Socks>=1.7.1:..
 #DEPENDS+=     ${PYPKGPREFIX}-certifi>=0:../../www/py-certify
 # but also needs unpackaged urlib3-secure-extra
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 # brotli, zstd
 .include "options.mk"
 
@@ -30,10 +29,10 @@ PYTHON_VERSIONED_DEPENDENCIES+=     cryptogr
 
 TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=7.0.4:../../devel/py-coverage
 TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun>=1.2.2:../../devel/py-freezegun
-TEST_DEPENDS+= ${PYPKGPREFIX}-tornado>=6.2:../../www/py-tornado
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.2.0:../../devel/py-test
 #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}-tornado>=6.2:../../www/py-tornado
+TEST_DEPENDS+= ${PYPKGPREFIX}-trio>=0.26.2:../../devel/py-trio
 TEST_DEPENDS+= ${PYPKGPREFIX}-trustme>=0.9.0:../../security/py-trustme
 #hypercorn @ git+https://github.com/urllib3/hypercorn@urllib3-changes
 #pytest-memray==1.5.0; sys_platform!="win32" and implementation_name=="cpython"

Index: pkgsrc/www/py-urllib3/PLIST
diff -u pkgsrc/www/py-urllib3/PLIST:1.16 pkgsrc/www/py-urllib3/PLIST:1.17
--- pkgsrc/www/py-urllib3/PLIST:1.16    Tue Jan 30 20:04:53 2024
+++ pkgsrc/www/py-urllib3/PLIST Thu Sep 12 19:38:21 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2024/01/30 20:04:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2024/09/12 19:38:21 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -58,9 +58,15 @@ ${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/http2/__init__.py
+${PYSITELIB}/urllib3/http2/__init__.pyc
+${PYSITELIB}/urllib3/http2/__init__.pyo
+${PYSITELIB}/urllib3/http2/connection.py
+${PYSITELIB}/urllib3/http2/connection.pyc
+${PYSITELIB}/urllib3/http2/connection.pyo
+${PYSITELIB}/urllib3/http2/probe.py
+${PYSITELIB}/urllib3/http2/probe.pyc
+${PYSITELIB}/urllib3/http2/probe.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.49 pkgsrc/www/py-urllib3/distinfo:1.50
--- pkgsrc/www/py-urllib3/distinfo:1.49 Mon Jun 17 15:26:36 2024
+++ pkgsrc/www/py-urllib3/distinfo      Thu Sep 12 19:38:21 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.49 2024/06/17 15:26:36 adam Exp $
+$NetBSD: distinfo,v 1.50 2024/09/12 19:38:21 adam Exp $
 
-BLAKE2s (urllib3-2.2.2.tar.gz) = 8bb4067cc02fa4d81d555db795186ee7789ccb070d99bb419a346c077026f32a
-SHA512 (urllib3-2.2.2.tar.gz) = 98695bcf37e772a1220cc05679ea799d82a09c73115717668c90dab9377690dd096f648d60ac0759a23cf65f2b1b6f363ec6826f669d4299bfa0a203a45dce0f
-Size (urllib3-2.2.2.tar.gz) = 292266 bytes
+BLAKE2s (urllib3-2.2.3.tar.gz) = fa2d83f23011f575035e8b90c6aab2b02122742c0fcfca3e086dcc311d08fa0a
+SHA512 (urllib3-2.2.3.tar.gz) = f461cc959d675b8b13c2f40f4b021cab01ccb3a5033143f5c3eae3fce7486115994d198c78db9ef353fce47c17b25e0ecb010fbdebc1b8731d4fd708054b39cc
+Size (urllib3-2.2.3.tar.gz) = 300677 bytes

Index: pkgsrc/www/py-urllib3/options.mk
diff -u pkgsrc/www/py-urllib3/options.mk:1.1 pkgsrc/www/py-urllib3/options.mk:1.2
--- pkgsrc/www/py-urllib3/options.mk:1.1        Tue Mar 19 10:58:01 2024
+++ pkgsrc/www/py-urllib3/options.mk    Thu Sep 12 19:38:21 2024
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.1 2024/03/19 10:58:01 nia Exp $
+# $NetBSD: options.mk,v 1.2 2024/09/12 19:38:21 adam Exp $
 
-PKG_OPTIONS_VAR=               PKG_OPTIONS.py-urllib3
-PKG_SUPPORTED_OPTIONS=         brotli zstd
-PKG_SUGGESTED_OPTIONS=         brotli zstd
+PKG_OPTIONS_VAR=       PKG_OPTIONS.py-urllib3
+PKG_SUPPORTED_OPTIONS= brotli zstd
+PKG_SUGGESTED_OPTIONS= brotli zstd
 
 .include "../../mk/bsd.options.mk"
 



Home | Main Index | Thread Index | Old Index