forget
forget copied to clipboard
Bump alembic from 1.7.6 to 1.8.1
Bumps alembic from 1.7.6 to 1.8.1.
Release notes
Sourced from alembic's releases.
1.8.1
Released: July 13, 2022
bug
[bug] [sqlite] Fixed bug where the SQLite implementation of
Operations.rename_table()
would render an explicit schema name for both the old and new table name, which while is the standard ALTER syntax, is not accepted by SQLite's syntax which doesn't support a rename across schemas. In particular, the syntax issue would prevent batch mode from working for SQLite databases that made use of attached databases (which are treated as "schemas" in SQLAlchemy).References: #1065
[bug] [batch] Added an error raise for the condition where
Operations.batch_alter_table()
is used in--sql
mode, where the operation requires table reflection, as is the case when running against SQLite without giving it a fixedTable
object. Previously the operation would fail with an internal error. To get a "move and copy" batch operation as a SQL script without connecting to a database, aTable
object should be passed to theOperations.batch_alter_table.copy_from
parameter so that reflection may be skipped.References: #1021
1.8.0
Released: May 31, 2022
changed
[changed] [installation] Alembic 1.8 now supports Python 3.7 and above.
References: #1025
[changed] [environment] The "Pylons" environment template has been removed as of Alembic 1.8. This template was based on the very old pre-Pyramid Pylons web framework which has been long superseded by Pyramid.
References: #987
feature
- [feature] [typing] PEP 484 typing annotations have been added to the
env.py
and
... (truncated)
Commits
- See full diff in compare view
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)