Bump alembic from 1.13.2 to 1.13.3
Bumps alembic from 1.13.2 to 1.13.3.
Release notes
Sourced from alembic's releases.
1.13.3
Released: September 23, 2024
usecase
[usecase] [autogenerate] Render
if_exists
andif_not_exists
parameters inCreateTableOp
,CreateIndexOp
,DropTableOp
andDropIndexOp
in an autogenerate context. While Alembic does not set these parameters during an autogenerate run, they can be enabled using a customRewriter
in theenv.py
file, where they will now be part of the rendered Python code in revision files. Pull request courtesy of Louis-Amaury Chaib (@lachaib
).[usecase] [environment] Enhance
version_locations
parsing to handle paths containing newlines.References: #1509
[usecase] [operations] Added support for
Operations.create_table.if_not_exists
andOperations.drop_table.if_exists
, adding similar functionality to render IF [NOT] EXISTS for table operations in a similar way as with indexes. Pull request courtesy Aaron Griffin.References: #1520
misc
- [change] [general] The pin for
setuptools<69.3
inpyproject.toml
has been removed. This pin was to prevent a sudden change to PEP 625 in setuptools from taking place which changes the file name of SQLAlchemy's source distribution on pypi to be an all lower case name, and the change was extended to all SQLAlchemy projects to prevent any further surprises. However, the presence of this pin is now holding back environments that otherwise want to use a newer setuptools, so we've decided to move forward with this change, with the assumption that build environments will have largely accommodated the setuptools change by now.
Commits
- See full diff in compare view