Fixed proxy headers being used in the ConnectionKey hash when a proxy was not being used -- by :user:bdraco.
If default headers are used, they are also used for proxy headers. This could have led to creating connections that were not needed when one was already available.
Removals and backward incompatible breaking changes
Fixed failure to try next host after single-host connection timeout -- by :user:brettdh.
The default client :class:aiohttp.ClientTimeout params has changed to include a sock_connect timeout of 30 seconds so that this correct behavior happens by default.
Fixed proxy headers being used in the ConnectionKey hash when a proxy was not being used -- by :user:bdraco.
If default headers are used, they are also used for proxy headers. This could have led to creating connections that were not needed when one was already available.
Related issues and pull requests on GitHub:
:issue:9368.
Widened the type of the trace_request_ctx parameter of
:meth:ClientSession.request() <aiohttp.ClientSession.request> and friends
-- by :user:layday.
Related issues and pull requests on GitHub:
:issue:9397.
Removals and backward incompatible breaking changes
Fixed failure to try next host after single-host connection timeout -- by :user:brettdh.
The default client :class:aiohttp.ClientTimeout params has changed to include a sock_connect timeout of 30 seconds so that this correct behavior happens by default.
Related issues and pull requests on GitHub:
:issue:7342.
Miscellaneous internal changes
Improved performance of resolving hosts with Python 3.12+ -- by :user:bdraco.
Related issues and pull requests on GitHub:
:issue:9342.
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 dev group with 3 updates: pre-commit, ruff and aiohttp.
Updates
pre-commit
from 3.8.0 to 4.0.0Release notes
Sourced from pre-commit's releases.
Changelog
Sourced from pre-commit's changelog.
Commits
dbccd57
v4.0.0d07e529
Merge pull request #3320 from pre-commit/remove-python-venv801b956
remove deprecated python_venv aliasa2f7b80
Merge pull request #3315 from pre-commit/warn-deprecated-stage-names-on-initd317223
add warning for deprecates stages for remote repos on init7555e11
Merge pull request #3314 from pre-commit/remove-log-info-mock05e365f
Merge pull request #3313 from pre-commit/default-stages-warning1d2f1c0
replace log_info_mock with pytest's caplog33e020f
add warning for deprecated stages values indefault_stages
e7cfc0d
Merge pull request #3312 from pre-commit/warning-for-old-stage-namesUpdates
ruff
from 0.6.8 to 0.6.9Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
Commits
975be9c
Bump version to 0.6.9 (#13624)99e4566
MarkFURB118
fix as unsafe (#13613)7ad07c2
Addallow-unused-imports
setting forunused-import
rule (F401
) (#13601)4aefe52
Support ruff discovery in pip build environments (#13591)cc1f766
Preserve trivia (i.e. comments) in PLR5501 (#13573)fdd0a22
Move to maintained mirror of prettier (#13592)3728d5b
[pyupgrade
] Fix UP043 to apply tocollections.abc.Generator
and `collecti...7e3894f
Avoid short circuitingB017
for multiple context managers (#13609)c3b40da
Use backticks for code in red-knot messages (#13599)ef45185
Allow users to provide custom diagnostic messages when unwrapping calls (#13597)Updates
aiohttp
from 3.10.8 to 3.10.9Release notes
Sourced from aiohttp's releases.
... (truncated)
Changelog
Sourced from aiohttp's changelog.
... (truncated)
Commits
b779432
Release 3.10.9 (#9415)08ada3e
[PR #9405/b96b01b backport][3.10] Only create the connection closed exception...978ed74
[PR #9406/24b0e6f backport][3.10] Add slots to timer helpers (#9411)e1320b7
[PR #9398/3f43bd1b backport][3.10] Widentrace_request_ctx
type (#9403)b5e2b0b
[PR #7368/8a8913b backport][3.10] Fixed failure to try next host after single...6198a56
[PR #9368/02d8dba9 backport][3.10] Avoid using the proxy headers in the Conne...456cf5e
[PR #9386/803d818d backport][3.10] Small speed up to starting client requests...8e395a1
[PR #9366/43deadb2 backport][3.10] Small speed up to update_headers (#9383)57ce46c
[PR #9372/0416d28 backport][3.10] Only prepare proxy headers for a request if...0a74b54
[PR #9367/b612127d backport][3.10] Speed up handling auth in urls (#9380)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