Skip to content

Commit

Permalink
Update dependency urllib3 to v2.2.3 (#318)
Browse files Browse the repository at this point in the history
## Features

- Added support for Python 3.13. (`#​3473
<https://github.com/urllib3/urllib3/issues/3473>`\__)

## 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. (`#&#8203;3053
<https://github.com/urllib3/urllib3/issues/3053>`\__)
- Fixed ResourceWarning on CONNECT with Python < 3.11.4 by backporting
[https://github.com/python/cpython/issues/103472](https://redirect.github.com/python/cpython/issues/103472).
(`#&#8203;3252 <https://github.com/urllib3/urllib3/issues/3252>`\__)
- Adjust tolerance for floating-point comparison on Windows to avoid
flakiness in CI (`#&#8203;3413
<https://github.com/urllib3/urllib3/issues/3413>`\__)
- Fixed a crash where certain standard library hash functions were
absent in restricted environments. (`#&#8203;3432
<https://github.com/urllib3/urllib3/issues/3432>`\__)
- Fixed mypy error when adding to
`HTTPConnection.default_socket_options`. (`#&#8203;3448
<https://github.com/urllib3/urllib3/issues/3448>`\__)

## HTTP/2 (experimental)

HTTP/2 support is still in early development.

- Excluded Transfer-Encoding: chunked from HTTP/2 request body
(`#&#8203;3425 <https://github.com/urllib3/urllib3/issues/3425>`\__)
- Added version checking for `h2` (https://pypi.org/project/h2/) usage.

Now only accepting supported h2 major version 4.x.x. (`#&#8203;3290
<https://github.com/urllib3/urllib3/issues/3290>`\__)
- Added a probing mechanism for determining whether a given target
origin
supports HTTP/2 via ALPN. (`#&#8203;3301
<https://github.com/urllib3/urllib3/issues/3301>`\__)
- Add support for sending a request body with HTTP/2 (`#&#8203;3302
<https://github.com/urllib3/urllib3/issues/3302>`\__)

## Deprecations and Removals

- Note for downstream distributors: the `_version.py` file has been
removed and is now created at build time by hatch-vcs. (`#&#8203;3412
<https://github.com/urllib3/urllib3/issues/3412>`\__)
- Drop support for end-of-life PyPy3.8 and PyPy3.9. (`#&#8203;3475
<https://github.com/urllib3/urllib3/issues/3475>`\__)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 7, 2024
1 parent 9f1ea8c commit b36bdad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ GitPython==3.1.43
idna==3.8
requests==2.32.3
smmap==5.0.1
urllib3==2.2.2
urllib3==2.2.3

0 comments on commit b36bdad

Please sign in to comment.