:warning: This release will be the last release supporting Python 3.5. Please upgrade to a non-EOL Python version.
Added extra message tourllib3.exceptions.ProxyError when urllib3 detects that a proxy is configured to use HTTPS but the proxy itself appears to only use HTTP.
Added a mention of the size of the connection pool when discarding a connection due to the pool being full.
Added explicit support for Python 3.11.
Deprecated the Retry.MAX_BACKOFF class property in favor of Retry.DEFAULT_MAX_BACKOFF to better match the rest of the default parameter names. Retry.MAX_BACKOFF is removed in v2.0.
Changed location of the vendored ssl.match_hostname function from urllib3.packages.ssl_match_hostname to urllib3.util.ssl_match_hostname to ensure Python 3.10+ compatibility after being repackaged by downstream distributors.
Fixed absolute imports, all imports are now relative.
Added extra message tourllib3.exceptions.ProxyError when urllib3 detects that
a proxy is configured to use HTTPS but the proxy itself appears to only use HTTP.
Added a mention of the size of the connection pool when discarding a connection due to the pool being full.
Added explicit support for Python 3.11.
Deprecated the Retry.MAX_BACKOFF class property in favor of Retry.DEFAULT_MAX_BACKOFF
to better match the rest of the default parameter names. Retry.MAX_BACKOFF is removed in v2.0.
Changed location of the vendored ssl.match_hostname function from urllib3.packages.ssl_match_hostname
to urllib3.util.ssl_match_hostname to ensure Python 3.10+ compatibility after being repackaged
by downstream distributors.
Fixed absolute imports, all imports are now relative.
1.26.7 (2021-09-22)
Fixed a bug with HTTPS hostname verification involving IP addresses and lack
of SNI. (Issue #2400)
Fixed a bug where IPv6 braces weren't stripped during certificate hostname
matching. (Issue #2240)
1.26.6 (2021-06-25)
Deprecated the urllib3.contrib.ntlmpool module. urllib3 is not able to support
it properly due to reasons listed in this issue <https://github.com/urllib3/urllib3/issues/2282>_.
If you are a user of this module please leave a comment.
Changed HTTPConnection.request_chunked() to not erroneously emit multiple
Transfer-Encoding headers in the case that one is already specified.
Fixed typo in deprecation message to recommend Retry.DEFAULT_ALLOWED_METHODS.
1.26.5 (2021-05-26)
Fixed deprecation warnings emitted in Python 3.10.
Updated vendored six library to 1.16.0.
Improved performance of URL parser when splitting
the authority component.
1.26.4 (2021-03-15)
Changed behavior of the default SSLContext when connecting to HTTPS proxy
during HTTPS requests. The default SSLContext now sets check_hostname=True.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on urllib3 to permit the latest version.
Release notes
Sourced from urllib3's releases.
Changelog
Sourced from urllib3's changelog.
... (truncated)
Commits
b1f60e4
Release 1.26.872e72b8
[1.26] Add explicit support for Python 3.11 to packaging metadata0435b0c
Wrap HTTPS/HTTP proxy mismatch error into ProxyError25d0454
Revert commit bd816ee8 '[1.26] Add exception wrapper for HTTPS proxy connecti...109b445
Deprecate BACKOFF_MAX in favor of DEFAULT_BACKOFF_MAXdc279bd
[1.26] Point setuptools to use standard library distutils as a fallbackdc1e68f
[1.26] Upload coverage report if check faileda472d6d
[1.26] Remove codecov in favor of GHA artifacts to upload and combine coverag...6bad9ac
Test against Python 3.1106406c5
[1.26] Mention pool size when discarding connections (#2497)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)