- Update to 1.14.1
* Modified SQLite’s dialect to render “ALTER TABLE <t> RENAME COLUMN”
when Operations.alter_column() is used with a straight rename,
supporting SQLite’s recently added column rename feature.
* Added tzdata to tz extras, which is required on some platforms
such as Windows. Pull request courtesy Danipulok.
* Fixed bug where autogen render of a “variant” type would fail to
catch the variants if the leading type were a dialect-specific type,
rather than a generic type.
OBS-URL: https://build.opensuse.org/request/show/1240525
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-alembic?expand=0&rev=168
* **[usecase] [runtime]** Added a new hook to the
`DefaultImpl` `DefaultImpl.version_table_impl()`. This allows
third party dialects to define the exact structure of the
alembic_version table, to include use cases where the table
requires special directives and/or additional columns so that
it may function correctly on a particular backend.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-alembic?expand=0&rev=166
- update to 1.13.3:
* Render `if_exists` and `if_not_exists` parameters in
`CreateTableOp`, `CreateIndexOp`, `DropTableOp` and
`DropIndexOp` in an autogenerate context.
* Enhance `version_locations` parsing to handle paths containing
newlines.
* Added support for `Operations.create_table.if_not_exists` and
`Operations.drop_table.if_exists`, adding similar
functionality to render IF [NOT] EXISTS for table operations
in a similar way as with indexes.
- update to 1.13.2:
OBS-URL: https://build.opensuse.org/request/show/1204393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-alembic?expand=0&rev=81
* Render `if_exists` and `if_not_exists` parameters in
`CreateTableOp`, `CreateIndexOp`, `DropTableOp` and
`DropIndexOp` in an autogenerate context.
* Enhance `version_locations` parsing to handle paths containing
newlines.
* Added support for `Operations.create_table.if_not_exists` and
`Operations.drop_table.if_exists`, adding similar
functionality to render IF [NOT] EXISTS for table operations
in a similar way as with indexes.
- update to 1.13.2:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-alembic?expand=0&rev=164
- update to 1.31.2:
* Improve computed column compare function to support multi-line
expressions. Pull request courtesy of Georg Wicke-Arndt.
* Fixed bug in alembic command stdout where long messages were
not properly wrapping at the terminal width. Pull request
courtesy Saif Hakim.
* Fixed internal issue where Alembic would call
connection.execute() sending an empty tuple to indicate
“no params”. In SQLAlchemy 2.1 this case will be deprecated as
“empty sequence” is ambiguous as to its intent.
* Fixes to support pytest 8.1 for the test suite.
* Fixed the detection of serial column in autogenerate with
tables not under default schema on PostgreSQL.
- Drop pytest8.patch as it has merged upstream and included
in the 1.31.2 release.
OBS-URL: https://build.opensuse.org/request/show/1197961
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-alembic?expand=0&rev=162