[feature] [autogenerate] Added new feature to the "code formatter" function which allows standalone
executable tools to be run against code, without going through the Python
interpreter. Known as the exec runner, it complements the existing
console_scripts runner by allowing non-Python tools such as ruff to
be used. Pull request courtesy Mihail Milushev.
[usecase] [autogenerate] Change the default value of
EnvironmentContext.configure.compare_type to True.
As Alembic's autogenerate for types was dramatically improved in
version 1.4 released in 2020, the type comparison feature is now much
more reliable so is now enabled by default.
[bug] [operations] Added support for op.drop_constraint() to support PostrgreSQL
ExcludeConstraint objects, as well as other constraint-like objects
that may be present in third party dialects, by resolving the type_
parameter to be None for this case. Autogenerate has also been
enhanced to exclude the type_ parameter from rendering within this
command when type_ is None. Pull request courtesy David Hills.
[bug] [commmands] Fixed issue where the revision_environment directive in alembic.ini
was ignored by the alembic merge command, leading to issues when other
configurational elements depend upon env.py being invoked within the
command.
[bug] [autogenerate] Fixed issue where the ForeignKeyConstraint.match parameter would not be
rendered in autogenerated migrations. Pull request courtesy Asib
Kamalsada.
[orm] [bug] Adjusted the ORM's interpretation of the "target" entity used within
Update and Delete to not interfere with the target
"from" object passed to the statement, such as when passing an ORM-mapped
_orm.aliased construct that should be maintained within a phrase
like "UPDATE FROM". Cases like ORM session synchonize using "SELECT"
statements such as with MySQL/ MariaDB will still have issues with
UPDATE/DELETE of this form so it's best to disable synchonize_session when
using DML statements of this type.
[orm] [bug] Added new capability to the _orm.selectin_polymorphic() loader option
which allows other loader options to be bundled as siblings, referring to
one of its subclasses, within the sub-options of parent loader option.
Previously, this pattern was only supported if the
_orm.selectin_polymorphic() were at the top level of the options for
the query. See new documentation section for example.
As part of this change, improved the behavior of the
_orm.Load.selectin_polymorphic() method / loader strategy so that the
subclass load does not load most already-loaded columns from the parent
table, when the option is used against a class that is already being
relationship-loaded. Previously, the logic to load only the subclass
columns worked only for a top level class load.
[engine] [bug] Fixed a series of reflection issues affecting the PostgreSQL,
MySQL/MariaDB, and SQLite dialects when reflecting foreign key constraints
where the target column contained parenthesis in one or both of the table
name or column name.
[sql] [usecase] Adjusted the _types.Enum datatype to accept an argument of
None for the _types.Enum.length parameter, resulting in a
VARCHAR or other textual type with no length in the resulting DDL. This
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
Updates the requirements on alembic, asyncpg, pandas and sqlalchemy to permit the latest version. Updates
alembic
to 1.12.0Release notes
Sourced from alembic's releases.
Commits
Updates
asyncpg
to 0.28.0Release notes
Sourced from asyncpg's releases.
Commits
9a12d14
asyncpg v0.28.0a1a7b1a
Scale flake8 back to 5.0 (#1048)fdf559f
Move pytest and coverage config to pyproject.tomlbc79953
Minor edits to thetarget_session_attrs
patch.6043d91
Fix closing of connection discarded by session target attrs (#1046)faa94d1
Move most metadata to pyproject.toml (#1045)83c1159
Bust README cache7d4fcf0
Update benchmarks, add psycopg3 (#1042)2f20bae
Add support for READ UNCOMMITTED (#1039)bf74e88
Add support for target_session_attrs (#987)Updates
pandas
to 2.0.3Release notes
Sourced from pandas's releases.
Commits
0f43794
RLS: 2.0.386036f2
Backport PR #53897: DOC: Update release date for 2.0.3 (#53913)0ef704c
Backport PR #53888 on branch 2.0.x (CI: Fix pytest scripts and doc failure) (...b8f14c4
Backport PR #53795 on branch 2.0.x (BUG: fixes weekday for dates before 1752)...7d8be44
Backport PR #53855: BUG: Fix string formatting (#53860)000a42f
Backport PR #52150 on branch 2.0.x (Fix/mpl37 compat) (#53850)d273ee0
CI: Backport changes to fix unreliable tests on ARM (#53849)5299051
Backport PR #53819 on branch 2.0.x (TST/CI: Skipif test_complibs) (#53823)dde820f
Backport PR #53754 on branch 2.0.x (TST: Make test_complibs deterministic) (#...7839406
Backport PR #53774 on branch 2.0.x (COMPAT: Remove np.compat) (#53776)Updates
sqlalchemy
to 2.0.21Release notes
Sourced from sqlalchemy's releases.
... (truncated)
Commits
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