Fix regression to include tests in source distribution.
3.5 (2023-11-24)
++++++++++++++++
Update to Unicode 15.1.0
String codec name is now "idna2008" as overriding the system codec
"idna" was not working.
Fix typing error for codec encoding
"setup.cfg" has been added for this release due to some downstream
lack of adherence to PEP 517. Should be removed in a future release
so please prepare accordingly.
Removed reliance on a symlink for the "idna-data" tool to comport
with PEP 517 and the Python Packaging User Guide for sdist archives.
Added security reporting protocol for project
Thanks Jon Ribbens, Diogo Teles Sant'Anna, Wu Tingfeng for contributions
to this release.
This is a fix release for the 2.1.x feature release branch. It fixes bugs but does not otherwise change behavior and should not result in breaking changes.
Fixes a regression in striptags behavior from 2.14. Spaces are now collapsed correctly.
This is a fix release for the 2.1.x feature release branch. It fixes bugs but does not otherwise change behavior and should not result in breaking changes.
Improves performance of the Markup.striptags method for large input.
* Document calendar-based versioning scheme (:issue:`716`)
* Enforce that the entire marker string is parsed (:issue:`687`)
* Requirement parsing no longer automatically validates the URL (:issue:`120`)
* Canonicalize names for requirements comparison (:issue:`644`)
* Introduce ``metadata.Metadata`` (along with ``metadata.ExceptionGroup`` and ``metadata.InvalidMetadata``; :issue:`570`)
* Introduce the ``validate`` keyword parameter to ``utils.normalize_name()`` (:issue:`570`)
* Introduce ``utils.is_normalized_name()`` (:issue:`570`)
* Make ``utils.parse_sdist_filename()`` and ``utils.parse_wheel_filename()``
raise ``InvalidSdistFilename`` and ``InvalidWheelFilename``, respectively,
when the version component of the name is invalid
Remove Sphinx as a required dependency, as circular dependencies may cause
failure with package managers that expect a directed acyclic graph (DAG)
of dependencies.
Remove Sphinx as a required dependency, as circular dependencies may cause
failure with package managers that expect a directed acyclic graph (DAG)
of dependencies.
Remove Sphinx as a required dependency, as circular dependencies may cause
failure with package managers that expect a directed acyclic graph (DAG)
of dependencies.
Remove Sphinx as a required dependency, as circular dependencies may cause
failure with package managers that expect a directed acyclic graph (DAG)
of dependencies.
Remove Sphinx as a required dependency, as circular dependencies may cause
failure with package managers that expect a directed acyclic graph (DAG)
of dependencies.
urllib3 is raising ~$40,000 USD to release HTTP/2 support and ensure long-term sustainable maintenance of the project after a sharp decline in financial support for 2023. If your company or organization uses Python and would benefit from HTTP/2 support in Requests, pip, cloud SDKs, and thousands of other projects please consider contributing financially to ensure HTTP/2 support is developed sustainably and maintained for the long-haul.
Thank you for your support.
Changes
Fixed issue where InsecureRequestWarning was emitted for HTTPS connections when using Emscripten. (#3331)
Fixed HTTPConnectionPool.urlopen to stop automatically casting non-proxy headers to HTTPHeaderDict. This change was premature as it did not apply to proxy headers and HTTPHeaderDict does not handle byte header values correctly yet. (#3343)
Changed ProtocolError to InvalidChunkLength when response terminates before the chunk length is sent. (#2860)
Changed ProtocolError to be more verbose on incomplete reads with excess content. (#3261)
Thanks to Joe Marshall (@joemarshall) for contributing this feature. This change was possible thanks to work done in urllib3 v2.0 to detach our API from http.client. Please report all bugs to the urllib3 issue tracker.
🚀 urllib3 is fundraising for HTTP/2 support
urllib3 is raising ~$40,000 USD to release HTTP/2 support and ensure long-term sustainable maintenance of the project after a sharp decline in financial support for 2023. If your company or organization uses Python and would benefit from HTTP/2 support in Requests, pip, cloud SDKs, and thousands of other projects please consider contributing financially to ensure HTTP/2 support is developed sustainably and maintained for the long-haul.
Thank you for your support.
Changes
Added support for Emscripten and Pyodide, including streaming support in cross-origin isolated browser environments where threading is enabled. (#2951)
Added support for HTTPResponse.read1() method. (#3186)
Fixed issue where requests against urls with trailing dots were failing due to SSL errors
when using proxy. (#2244)
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. (#3130)
Fixed an issue where headers passed in a request with json= would be mutated (#3203)
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. (#3267)
Fixed handling of new error message from OpenSSL 3.2.0 when configuring an HTTP proxy as HTTPS (#3268)
Fixed TLS 1.3 post-handshake auth when the server certificate validation is disabled (#3325)
Note for downstream distributors: To run integration tests, you now need to run the tests a second time with the --integration pytest flag. (#3181)
Fixed issue where InsecureRequestWarning was emitted for HTTPS connections when using Emscripten. ([#3331](https://github.com/urllib3/urllib3/issues/3331) <https://github.com/urllib3/urllib3/issues/3331>__)
Fixed HTTPConnectionPool.urlopen to stop automatically casting non-proxy headers to HTTPHeaderDict. This change was premature as it did not apply to proxy headers and HTTPHeaderDict does not handle byte header values correctly yet. ([#3343](https://github.com/urllib3/urllib3/issues/3343) <https://github.com/urllib3/urllib3/issues/3343>__)
Changed InvalidChunkLength to ProtocolError when response terminates before the chunk length is sent. ([#2860](https://github.com/urllib3/urllib3/issues/2860) <https://github.com/urllib3/urllib3/issues/2860>__)
Changed ProtocolError to be more verbose on incomplete reads with excess content. ([#3261](https://github.com/urllib3/urllib3/issues/3261) <https://github.com/urllib3/urllib3/issues/3261>__)
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. ([#2951](https://github.com/urllib3/urllib3/issues/2951) <https://github.com/urllib3/urllib3/issues/2951>)
Added support for HTTPResponse.read1() method. ([#3186](https://github.com/urllib3/urllib3/issues/3186) <https://github.com/urllib3/urllib3/issues/3186>__)
Added rudimentary support for HTTP/2. ([#3284](https://github.com/urllib3/urllib3/issues/3284) <https://github.com/urllib3/urllib3/issues/3284>__)
Fixed issue where requests against urls with trailing dots were failing due to SSL errors
when using proxy. ([#2244](https://github.com/urllib3/urllib3/issues/2244) <https://github.com/urllib3/urllib3/issues/2244>__)
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. ([#3130](https://github.com/urllib3/urllib3/issues/3130) <https://github.com/urllib3/urllib3/issues/3130>__)
Fixed an issue where headers passed in a request with json= would be mutated ([#3203](https://github.com/urllib3/urllib3/issues/3203) <https://github.com/urllib3/urllib3/issues/3203>__)
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. ([#3267](https://github.com/urllib3/urllib3/issues/3267) <https://github.com/urllib3/urllib3/issues/3267>__)
Fixed handling of new error message from OpenSSL 3.2.0 when configuring an HTTP proxy as HTTPS ([#3268](https://github.com/urllib3/urllib3/issues/3268) <https://github.com/urllib3/urllib3/issues/3268>__)
Fixed TLS 1.3 post-handshake auth when the server certificate validation is disabled ([#3325](https://github.com/urllib3/urllib3/issues/3325) <https://github.com/urllib3/urllib3/issues/3325>__)
Note for downstream distributors: To run integration tests, you now need to run the tests a second
time with the --integration pytest flag. ([#3181](https://github.com/urllib3/urllib3/issues/3181) <https://github.com/urllib3/urllib3/issues/3181>__)
Bumps the dependencies group with 16 updates:
2021.3.14
2024.2.4
0.7.13
0.7.16
2023.11.17
2024.2.2
3.2.0
3.3.2
0.18.1
0.20.1
3.4
3.6
7.0.0
7.0.1
2.1.3
2.1.5
23.1
23.2
1.0.7
1.0.8
1.0.5
1.0.6
2.0.4
2.0.5
1.0.6
1.0.7
1.1.9
1.1.10
6.3.3
6.4
2.1.0
2.2.1
Updates
sphinx-autobuild
from 2021.3.14 to 2024.2.4Release notes
Sourced from sphinx-autobuild's releases.
Changelog
Sourced from sphinx-autobuild's changelog.
... (truncated)
Commits
7a8fa12
Release 2024.02.0465d4e06
Update NEWS4d7f939
Add create-release workflow7683185
Apply formattingd57f117
Call Sphinx's build directly6f9627e
Movemain()
to the top19541fb
Use Sphinx's argument parser88a1098
Renameportn
toport_num
e7c7daa
Splitpre_build_commands
from_get_build_args()
f62d325
Move _get_ignore_handlerUpdates
alabaster
from 0.7.13 to 0.7.16Release notes
Sourced from alabaster's releases.
Changelog
Sourced from alabaster's changelog.
Commits
f3fdc04
Bump to 0.7.1639cbbc1
Do not display logo_name == 'false'd24c4cb
Bump to 0.7.1556f12de
Include documentation in the sdist2d8d038
Adorn the LICENSE file with a suffixa31816c
Remove obscenities (#173)166d6e7
Replace © with unicode decimal code entity (#161)b9e8d79
Deprecate canonical_url in favor of html_baseurl (#178)848e718
Allow an arbitrary string in the logo_name option (#213)6922a16
Improve sidebar stylesUpdates
certifi
from 2023.11.17 to 2024.2.2Commits
45eb611
2024.02.02 (#266)83f4f04
fix leaking certificate issue (#265)bbf2208
Bump actions/upload-artifact from 4.2.0 to 4.3.0 (#264)9e837a5
Bump actions/upload-artifact from 4.1.0 to 4.2.0 (#262)05d071b
Bump actions/upload-artifact from 4.0.0 to 4.1.0 (#261)2a3088a
Bump actions/download-artifact from 4.1.0 to 4.1.1 (#260)d4ca66e
Bump actions/upload-artifact from 3.1.3 to 4.0.0 (#258)5d15663
Bump actions/download-artifact from 3.0.2 to 4.1.0 (#257)d66ef9d
Bump actions/setup-python from 4.7.1 to 5.0.0 (#256)8f0d412
Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11 (#255)Updates
charset-normalizer
from 3.2.0 to 3.3.2Release notes
Sourced from charset-normalizer's releases.
Changelog
Sourced from charset-normalizer's changelog.
Commits
79dce48
:bug: Regression on some detection case showcased in the documentation (#371)...a4b9b01
Bump github/codeql-action from 2.22.4 to 2.22.5 (#375)dcc01cc
Bump ossf/scorecard-action from 2.3.0 to 2.3.1 (#374)9cd402c
Bump pytest from 7.4.2 to 7.4.3 (#373)e274dcc
:bug: Fix unintentional memory usage regression when using large payload that...07f3041
:arrow_up: Bump github/codeql-action from 2.22.3 to 2.22.4 (#370)5208644
:bookmark: Release 3.3.1 (#367)66966f1
:sparkle: Improve the detection around some cases (#366)49653a6
:arrow_up: Bump actions/setup-python from 4.7.0 to 4.7.1 (#359)f6a66ed
:arrow_up: Bump pypa/cibuildwheel from 2.16.0 to 2.16.2 (#361)Updates
docutils
from 0.18.1 to 0.20.1Updates
idna
from 3.4 to 3.6Changelog
Sourced from idna's changelog.
Commits
4ae74cf
Release v3.621888f3
Merge pull request #164 from mgorny/sdist-testc5ba76a
Include tests in sdist2eb16d3
Merge pull request #162 from kjd/release-3.589cd061
Release v3.59fc29cd
Merge pull request #161 from kjd/masteracb8c4a
Merge pull request #160 from cclauss/patch-1adca101
README.rst: Fix typos33a8f7b
Merge pull request #159 from diogoteles08/add-scorecard354a412
Add Scorecard GitHub ActionUpdates
importlib-metadata
from 7.0.0 to 7.0.1Changelog
Sourced from importlib-metadata's changelog.
Commits
f2e84e3
Finalizee9e9f77
Merge commit '98196a'98196a7
Fixed type annotations to allow strings.f38e051
Add Python 3.13 to compatibility matrix. Ref python/cpython#113174.0c1d32e
Inline os.PathLike using future annotations.b99c9d6
Refine SimplePath to allow for os.PathLike on input and SimplePath on output.200cf45
Merge pull request #480 from python/bugfix/distribution-simplepathac243d3
Include _meta in docs to fix doc build failures.1b3f272
Corrected the interface for SimplePath to encompass the expectations of locat...fc4df51
Rely on read_text and read_bytes from located paths.Updates
markupsafe
from 2.1.3 to 2.1.5Release notes
Sourced from markupsafe's releases.
Changelog
Sourced from markupsafe's changelog.
Commits
fbba4ac
release version 2.1.5c5fa23b
update publish actions60a6512
striptags collapses spaces correctly (#418)0b6bee0
collapse spaces after stripping tags73e6a48
start version 2.1.5d704bf4
use pip-compile, dependabot updates (#419)1f82932
use pip-compile, dependabot updates25a640f
release version 2.1.4 (#414)b7cd652
release version 2.1.43bead8e
update cibuildwheel for 3.12 wheelsUpdates
packaging
from 23.1 to 23.2Release notes
Sourced from packaging's releases.
Changelog
Sourced from packaging's changelog.
Commits
b3a5d7d
Bump for released7ce40d
Fix code blocks in CHANGELOG.md (#724)524b701
parse_{sdist,wheel}_filename: don't raise InvalidVersion (#721)b509bef
Typing annotations fixed (#723)0206c39
Bump pip version to avoid known vulnerabilities (#720)7023537
fix: Update copyright date for docs (#713)39786bb
Document use of calendar-based versioning scheme (#717)c1346df
fix: Detect when a platform is 32-bit more accurately (#711)7e68d82
Correct rST syntax in CHANGELOG.rst (#709)61e6efb
Support enriched metadata inpackaging.metadata
(#686)Updates
sphinxcontrib-applehelp
from 1.0.7 to 1.0.8Release notes
Sourced from sphinxcontrib-applehelp's releases.
Changelog
Sourced from sphinxcontrib-applehelp's changelog.
Commits
cadf870
Bump to 1.0.8 finalccc77c8
Remove Sphinx as a required dependency (#15)Updates
sphinxcontrib-devhelp
from 1.0.5 to 1.0.6Release notes
Sourced from sphinxcontrib-devhelp's releases.
Changelog
Sourced from sphinxcontrib-devhelp's changelog.
Commits
1ace65f
Bump to 1.0.6 finalff26d1f
Remove Sphinx as a required dependency (#11)6401cf7
UseNode.findall
overNode.traverse
(#10)Updates
sphinxcontrib-htmlhelp
from 2.0.4 to 2.0.5Release notes
Sourced from sphinxcontrib-htmlhelp's releases.
Changelog
Sourced from sphinxcontrib-htmlhelp's changelog.
Commits
244375f
Bump to 2.0.5 final25f9218
Remove Sphinx as a required dependency (#18)Updates
sphinxcontrib-qthelp
from 1.0.6 to 1.0.7Release notes
Sourced from sphinxcontrib-qthelp's releases.
Changelog
Sourced from sphinxcontrib-qthelp's changelog.
Commits
79f0780
Bump to 1.0.7 finalb4d64f5
Remove Sphinx as a required dependency (#15)Updates
sphinxcontrib-serializinghtml
from 1.1.9 to 1.1.10Release notes
Sourced from sphinxcontrib-serializinghtml's releases.
Changelog
Sourced from sphinxcontrib-serializinghtml's changelog.
Commits
941e0e8
Bump to 1.0.10 finalf0b7604
Remove Sphinx as a required dependency (#10)Updates
tornado
from 6.3.3 to 6.4Changelog
Sourced from tornado's changelog.
... (truncated)
Commits
b3f2a4b
Merge pull request #3352 from bdarnell/master451419c
Set version to 6.4 final5a87723
Merge pull request #3348 from bdarnell/iostream-hostname-test2da0a99
iostream_test: Don't require server-side log on windows06e1a65
iostream_test: Test check_hostname functionality.a6dfd70
Merge pull request #3341 from bdarnell/more-utcnowc60d80c
web,demos: Remove more uses of deprecated datetime utc methods55db80e
Merge pull request #3339 from tornadoweb/dependabot/pip/urllib3-1.26.18ec59fa0
Merge pull request #3332 from bdarnell/selector-thread-atexitdcc6e59
build(deps): bump urllib3 from 1.26.17 to 1.26.18Updates
urllib3
from 2.1.0 to 2.2.1Release notes
Sourced from urllib3's releases.
Changelog
Sourced from urllib3's changelog.
Commits
54d6edf
Release 2.2.149b2dda
Stop casting request headers to HTTPHeaderDict (#3344)e22f651
Fix docstring of retries parameterfa54179
Distinguish between truncated and excess content in response (#3273)cfe52f9
Fix InsecureRequestWarning for HTTPS Emscripten requests (#3333)25155d7
Ensure no remote connections during testing (#3328)12f9233
Bump cryptography to 42.0.2 and PyOpenSSL to 24.0.0 (#3340)9929d3c
Add nox session to start local Pyodide consoleaa8d3dd
Fix ssl_version tests for upcoming migration to pytest 823f2287
Remove TODO about informational responses (