Check out the blog post for a migration guide and overview of the changes!
Breaking changes
The pytest rules PT001 and PT023 now default to omitting the decorator parentheses when there are no arguments
(#12838, #13292).
This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part.
See the blog post for more details.
The useless-try-except rule (in our tryceratops category) has been recoded from TRY302 to
TRY203 (#13502). This ensures Ruff's code is consistent with
the same rule in the tryceratops linter.
[flake8-simplify] Stabilize preview behavior for SIM115 so that the rule can detect files
being opened from a wider range of standard-library functions (#12959).
CLI
Add explanation of fixable in --statistics command (#13774)
Check out the blog post for a migration guide and overview of the changes!
Breaking changes
The pytest rules PT001 and PT023 now default to omitting the decorator parentheses when there are no arguments
(#12838, #13292).
This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part.
See the blog post for more details.
The useless-try-except rule (in our tryceratops category) has been recoded from TRY302 to
TRY203 (#13502). This ensures Ruff's code is consistent with
the same rule in the tryceratops linter.
[flake8-simplify] Stabilize preview behavior for SIM115 so that the rule can detect files
being opened from a wider range of standard-library functions (#12959).
CLI
Add explanation of fixable in --statistics command (#13774)
[orm] [usecase] Added new parameter _orm.mapped_column.hash to ORM constructs
such as _orm.mapped_column(), _orm.relationship(), etc.,
which is interpreted for ORM Native Dataclasses in the same way as other
dataclass-specific field parameters.
[orm] [bug] Fixed bug in ORM bulk update/delete where using RETURNING with bulk
update/delete in combination with populate_existing would fail to
accommodate the populate_existing option.
[orm] [bug] Continuing from #11912, columns marked with
mapped_column.onupdate,
mapped_column.server_onupdate, or Computed are now
refreshed in ORM instances when running an ORM enabled UPDATE with WHERE
criteria, even if the statement does not use RETURNING or
populate_existing.
[orm] [bug] Fixed regression caused by fixes to joined eager loading in #11449
released in 2.0.31, where a particular joinedload case could not be
asserted correctly. We now have an example of that case so the assertion
has been repaired to allow for it.
[orm] [bug] Improved the error message emitted when trying to map as dataclass a class
while also manually providing the __table__ attribute.
This usage is currently not supported.
[orm] [bug] Refined the check which the ORM lazy loader uses to detect "this would be
loading by primary key and the primary key is NULL, skip loading" to take
into account the current setting for the
orm.Mapper.allow_partial_pks parameter. If this parameter is
False, then a composite PK value that has partial NULL elements should
also be skipped. This can apply to some composite overlapping foreign key
configurations.
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 poetry group with 5 updates in the / directory:
0.29.0
0.30.0
2.5.2
2.6.0
0.6.9
0.7.0
2.0.35
2.0.36
0.31.1
0.32.0
Updates
asyncpg
from 0.29.0 to 0.30.0Release notes
Sourced from asyncpg's releases.
... (truncated)
Commits
bae282e
asyncpg v0.30.0965fb08
Fix release workflowf6ec755
Allow customizing connection state reset (#1191)3ef884e
Upgrade Sphinx3ee19ba
Add connect_fn kwarg to Pool to better support GCP's CloudSQL (#1170)73f2209
Addfetchmany
to execute many and return rows (#1175)b732b4f
tests: Attempt to inhibit spurious ConnectionResetError on Windows (#1190)cee97e1
Test on PostgreSQL 17 (#1189)3aa9894
Test and build on Python 3.13 (#1188)afdb05c
Add support for thesslnegotiation
parameter (#1187)Updates
pydantic-settings
from 2.5.2 to 2.6.0Release notes
Sourced from pydantic-settings's releases.
Commits
eeea989
Prepare release 2.6.0 (#444)a72fa73
Fix bug in dotenv source when there is env with and without prefix (#440)d2e498a
Add support for suppressing fields from CLI help. (#436)0d605d0
Update nested model partial update docs example. (#433)8f7653c
Put tests for non-default sources in separate files (#429)f3a25f2
Fix a regression in dotenv optional nested field (#423)76ba2c6
Fix context not passed to field validators bug (#417)84cab2b
Add CLI App Support (#389)fdd666b
Fix nested model AliasChoices in validation alias (#411)9b73e92
Addcli_flag_prefix_char
config option. (#418)Updates
ruff
from 0.6.9 to 0.7.0Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
Commits
5e6de4e
Changelog for Ruff v0.7 (#13794)70e5c4a
RecodeTRY302
toTRY203
(#13502)9218d6b
Removeallow-unused-imports
setting from the common lint options (#13677)1b79ae9
[ruff-0.7] Stabilise the expansion ofopen-file-with-context-handler
to wor...2b87587
[flake8-pytest-style
] Fix defaults whenlint.flake8-pytest-style
config s...d1e15f6
Remove tab-size setting (#12835)89a8215
Remove error messages for removed CLI aliases (#12833)202c6a6
Removeoutput-format=text
setting (#12836)5c3c0c4
[red-knot] Inference for comparison of union types (#13781)6b7a738
Add explanation of fixable in--statistics
command (#13774)Updates
sqlalchemy
from 2.0.35 to 2.0.36Release notes
Sourced from sqlalchemy's releases.
... (truncated)
Commits
Updates
uvicorn
from 0.31.1 to 0.32.0Release notes
Sourced from uvicorn's releases.
Changelog
Sourced from uvicorn's changelog.
Commits
fe39100
Version 0.32.0 (#2485)967a2dc
Support Python 3.13 (#2482)079f07a
feat(server): log warning when max request limit is exceeded (#2430)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