Fixed backwards compatibility breakage (in 3.9.2) of ssl parameter when set outside
of ClientSession (e.g. directly in TCPConnector) -- by :user:Dreamsorcerer.
Related issues and pull requests on GitHub:#8097, #8098.
Miscellaneous internal changes
Improved test suite handling of paths and temp files to consistently use pathlib and pytest fixtures.
Fixed backwards compatibility breakage (in 3.9.2) of ssl parameter when set outside
of ClientSession (e.g. directly in TCPConnector) -- by :user:Dreamsorcerer.
Related issues and pull requests on GitHub:
:issue:8097, :issue:8098.
Miscellaneous internal changes
Improved test suite handling of paths and temp files to consistently use pathlib and pytest fixtures.
Related issues and pull requests on GitHub:
:issue:3957.
3.9.2 (2024-01-28)
Bug fixes
Fixed server-side websocket connection leak.
Related issues and pull requests on GitHub:
:issue:7978.
Fixed web.FileResponse doing blocking I/O in the event loop.
Related issues and pull requests on GitHub:
:issue:8012.
Use positional-only self in BaseModel constructor, so no field name can ever conflict with it by @ariebovenberg in #8072
Make @validate_call return a function instead of a custom descriptor - fixes binding issue with inheritance and adds self/cls argument to validation errors by @alexmojaki in #8268
Exclude BaseModel docstring from JSON schema description by @sydney-runkle in #8352
Introducing classproperty decorator for model_computed_fields by @Jocelyn-Gas in #8437
Explicitly raise an error if field names clashes with types by @Viicos in #8243
Use positional-only self in BaseModel constructor, so no field name can ever conflict with it by @ariebovenberg in #8072
Make @validate_call return a function instead of a custom descriptor - fixes binding issue with inheritance and adds self/cls argument to validation errors by @alexmojaki in #8268
Exclude BaseModel docstring from JSON schema description by @sydney-runkle in #8352
Introducing classproperty decorator for model_computed_fields by @Jocelyn-Gas in #8437
Explicitly raise an error if field names clashes with types by @Viicos in #8243
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)
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>__)
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dependencies group with 7 updates:
3.9.1
3.9.3
10.1.0
10.2.0
2.5.3
2.6.0
2.14.6
2.16.1
2023.3.post1
2023.4
1.39.1
1.40.0
2.1.0
2.2.0
Updates
aiohttp
from 3.9.1 to 3.9.3Release notes
Sourced from aiohttp's releases.
... (truncated)
Changelog
Sourced from aiohttp's changelog.
... (truncated)
Commits
bf4edce
Release v3.9.3 (#8102)5637e8f
[PR #8098/aca206fc backport][3.9] Fix backwards compatibility with ssl (#8101)33f49e8
Bump pypa/cibuildwheel from 2.16.2 to 2.16.4 (#8092)5ff4b3c
Update version94462ee
[PR #3957/79fe2045 backport][3.9] Improve test suite handling of paths, temp ...24a6d64
Release v3.9.2 (#8082)9118a58
[PR #8079/1c335944 backport][3.9] Validate static paths (#8080)435ad46
[PR #3955/8960063e backport][3.9] Replace all tmpdir fixtures with tmp_path (...d33bc21
Improve validation in HTTP parser (#8074) (#8078)0d945d1
[PR #7916/822fbc74 backport][3.9] Add more information to contributing page (...Updates
more-itertools
from 10.1.0 to 10.2.0Release notes
Sourced from more-itertools's releases.
Commits
1e0e662
Merge pull request #789 from more-itertools/version-10.2.06700628
Add time_limited credit740ea62
Merge remote-tracking branch 'origin/master' into version-10.2.03e94640
Merge pull request #791 from haukex/time_limit_0fcd1f88
Fix up credits7313c86
Ensure time_limited(0, ...) always returns nothingf83ff28
Attempt to fix RTD theme, round 2451c06f
Attempt to fix RTD themef7d7c5a
Add missing commas51ad8fb
Bump version: 10.1.0 → 10.2.0Updates
pydantic
from 2.5.3 to 2.6.0Release notes
Sourced from pydantic's releases.
... (truncated)
Changelog
Sourced from pydantic's changelog.
... (truncated)
Commits
3257fa3
Use pydantic-settings 2.1 docs (#8636)3e87125
Prep for 2.6 release (#8612)b2aa36a
Tweak ordering of definitions in generated schemas (#8583)5d6840f
Add examples forfunctional_serializers
in API docs (#8546)e131d53
Prep for 2.6.0b1 Release (#8589)a2a4281
Add support for dataclass fields init (#8552)48d0df4
Fix ordering bug of PlainValidator annotation #8512 (#8567)8e9b107
Bumppydantic-core
to 2.16.1, various other bumps (#8578)2171b20
Refactor signature generation for simplicity (#8572)8060fa1
Add eval_type_backport to handle union operator and builtin generic subscript...Updates
pydantic-core
from 2.14.6 to 2.16.1Release notes
Sourced from pydantic-core's releases.
... (truncated)
Commits
4538190
Uprev core to 2.16.1 (#1167)7a5f8e6
Ensure recursion guard is always used as a stack (#1166)4da7192
uprev to jiter v0.0.6, uprev pydantic-core (#1165)29c5419
Add support for dataclass fields init (#1163)5a1385b
dataclass serialization speedups (#1162)e1cb0eb
improve performance of recursion guard (#1156)d7cf72d
Int extraction (#1155)5d3aa43
correct build-profiling make command (#1160)5791667
Bump serde from 1.0.193 to 1.0.195 (#1150)545f8c3
Bump pyo3-build-config from 0.20.1 to 0.20.2 (#1151)Updates
pytz
from 2023.3.post1 to 2023.4Commits
ebee1ae
Stop building unused distribution files77d9c8c
Default to Python 3.128f15f80
PyPI publication from githubee2e37b
Bump version to 2023.4 (2023d)4a8ca23
IANA 2023d4a37f7c
Squashed 'tz/' changes from ddb8cf09d..2bb5bb955Updates
sentry-sdk
from 1.39.1 to 1.40.0Release notes
Sourced from sentry-sdk's releases.
Changelog
Sourced from sentry-sdk's changelog.
Commits
33f65e0
Update CHANGELOG.md371cf44
release: 1.40.0eee728c
feat(ddm): Enable metrics related settings by default (#2685)e373e35
fix(utils): FixUnicodeDecodeError
on Python 2 (#2657)704d259
Enable DB query source by default (#2629)1a9225c
fix(query-source): Fix query source duration check (#2675)e864eab
style: Reformat with black==24.1.0 (#2680)ed3ac88
Cleaning up existing code to prepare for new Scopes API (#2611)fb03f7c
Moved redis related tests to databases (#2674)2f05ccb
ref(api): Improvesentry_sdk.trace
type hints (#2633)Updates
urllib3
from 2.1.0 to 2.2.0Release notes
Sourced from urllib3's releases.
Changelog
Sourced from urllib3's changelog.
Commits
04df048
Release 2.2.02aec09f
Add documentation for Emscripten support6d2f0f6
Annotate response attributelength_remaining
in BaseHTTPResponse (#3317)d7bb83b
Fix TLS 1.3 post-handshake auth8c8e26d
Hide H2Connection inside _LockedObject (#3318)26a07db
Make BaseHTTPResponse a base class of HTTP2Response (#3311)71e7c35
Allow testing HTTP/1.1 and HTTP/2 in the same test (#3310)89ed0d6
Add test-pypy 3.8 3.9 3.10 nox sessions (#3304)fb6cf2d
Pin to pypy-3.9-v7.3.13 to not timeout CI03f7b65
Skip memray on pypy (#3286)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 show