Skip to content

Commit fefdfd3

Browse files
author
adam
committed
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 python/cpython#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.
1 parent a8d8f4c commit fefdfd3

File tree

4 files changed

+23
-18
lines changed

4 files changed

+23
-18
lines changed

www/py-urllib3/Makefile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# $NetBSD: Makefile,v 1.62 2024/08/15 21:55:18 wiz Exp $
1+
# $NetBSD: Makefile,v 1.63 2024/09/12 19:38:21 adam Exp $
22

3-
DISTNAME= urllib3-2.2.2
3+
DISTNAME= urllib3-2.2.3
44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
55
CATEGORIES= www python
66
MASTER_SITES= ${MASTER_SITE_PYPI:=u/urllib3/}
@@ -10,6 +10,7 @@ HOMEPAGE= https://urllib3.readthedocs.io/
1010
COMMENT= HTTP library with thread-safe connection pooling
1111
LICENSE= mit
1212

13+
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0.4.0":../../devel/py-hatch-vcs
1314
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.6.0:../../devel/py-hatchling
1415
# optional dependencies:
1516
# "socks"; higher requirement from dev_requirements.txt
@@ -20,8 +21,6 @@ DEPENDS+= ${PYPKGPREFIX}-Socks>=1.7.1:../../net/py-Socks
2021
#DEPENDS+= ${PYPKGPREFIX}-certifi>=0:../../www/py-certify
2122
# but also needs unpackaged urlib3-secure-extra
2223

23-
PYTHON_VERSIONS_INCOMPATIBLE= 27
24-
2524
# brotli, zstd
2625
.include "options.mk"
2726

@@ -30,10 +29,10 @@ PYTHON_VERSIONED_DEPENDENCIES+= cryptography:test
3029

3130
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=7.0.4:../../devel/py-coverage
3231
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun>=1.2.2:../../devel/py-freezegun
33-
TEST_DEPENDS+= ${PYPKGPREFIX}-tornado>=6.2:../../www/py-tornado
34-
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.2.0:../../devel/py-test
3532
#TEST_DEPENDS+= ${PYPKGPREFIX}-towncrier>=21.9.0:../../wip/py-towncrier
3633
TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=2.1.0:../../devel/py-test-timeout
34+
TEST_DEPENDS+= ${PYPKGPREFIX}-tornado>=6.2:../../www/py-tornado
35+
TEST_DEPENDS+= ${PYPKGPREFIX}-trio>=0.26.2:../../devel/py-trio
3736
TEST_DEPENDS+= ${PYPKGPREFIX}-trustme>=0.9.0:../../security/py-trustme
3837
#hypercorn @ git+https://github.com/urllib3/hypercorn@urllib3-changes
3938
#pytest-memray==1.5.0; sys_platform!="win32" and implementation_name=="cpython"

www/py-urllib3/PLIST

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.16 2024/01/30 20:04:53 adam Exp $
1+
@comment $NetBSD: PLIST,v 1.17 2024/09/12 19:38:21 adam Exp $
22
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
33
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
44
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -58,9 +58,15 @@ ${PYSITELIB}/urllib3/fields.pyo
5858
${PYSITELIB}/urllib3/filepost.py
5959
${PYSITELIB}/urllib3/filepost.pyc
6060
${PYSITELIB}/urllib3/filepost.pyo
61-
${PYSITELIB}/urllib3/http2.py
62-
${PYSITELIB}/urllib3/http2.pyc
63-
${PYSITELIB}/urllib3/http2.pyo
61+
${PYSITELIB}/urllib3/http2/__init__.py
62+
${PYSITELIB}/urllib3/http2/__init__.pyc
63+
${PYSITELIB}/urllib3/http2/__init__.pyo
64+
${PYSITELIB}/urllib3/http2/connection.py
65+
${PYSITELIB}/urllib3/http2/connection.pyc
66+
${PYSITELIB}/urllib3/http2/connection.pyo
67+
${PYSITELIB}/urllib3/http2/probe.py
68+
${PYSITELIB}/urllib3/http2/probe.pyc
69+
${PYSITELIB}/urllib3/http2/probe.pyo
6470
${PYSITELIB}/urllib3/poolmanager.py
6571
${PYSITELIB}/urllib3/poolmanager.pyc
6672
${PYSITELIB}/urllib3/poolmanager.pyo

www/py-urllib3/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.49 2024/06/17 15:26:36 adam Exp $
1+
$NetBSD: distinfo,v 1.50 2024/09/12 19:38:21 adam Exp $
22

3-
BLAKE2s (urllib3-2.2.2.tar.gz) = 8bb4067cc02fa4d81d555db795186ee7789ccb070d99bb419a346c077026f32a
4-
SHA512 (urllib3-2.2.2.tar.gz) = 98695bcf37e772a1220cc05679ea799d82a09c73115717668c90dab9377690dd096f648d60ac0759a23cf65f2b1b6f363ec6826f669d4299bfa0a203a45dce0f
5-
Size (urllib3-2.2.2.tar.gz) = 292266 bytes
3+
BLAKE2s (urllib3-2.2.3.tar.gz) = fa2d83f23011f575035e8b90c6aab2b02122742c0fcfca3e086dcc311d08fa0a
4+
SHA512 (urllib3-2.2.3.tar.gz) = f461cc959d675b8b13c2f40f4b021cab01ccb3a5033143f5c3eae3fce7486115994d198c78db9ef353fce47c17b25e0ecb010fbdebc1b8731d4fd708054b39cc
5+
Size (urllib3-2.2.3.tar.gz) = 300677 bytes

www/py-urllib3/options.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# $NetBSD: options.mk,v 1.1 2024/03/19 10:58:01 nia Exp $
1+
# $NetBSD: options.mk,v 1.2 2024/09/12 19:38:21 adam Exp $
22

3-
PKG_OPTIONS_VAR= PKG_OPTIONS.py-urllib3
4-
PKG_SUPPORTED_OPTIONS= brotli zstd
5-
PKG_SUGGESTED_OPTIONS= brotli zstd
3+
PKG_OPTIONS_VAR= PKG_OPTIONS.py-urllib3
4+
PKG_SUPPORTED_OPTIONS= brotli zstd
5+
PKG_SUGGESTED_OPTIONS= brotli zstd
66

77
.include "../../mk/bsd.options.mk"
88

0 commit comments

Comments
 (0)