meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.4.3.bb
Leon Anavi 68cafa5a95 python3-alembic: Upgrade 1.4.2 -> 1.4.3
Upgrade to release 1.4.3:

- Added support to drop named CHECK constraints that are specified
  as part of a column, rather than table wide. Previously, only
  constraints associated with the table were considered.
- Fixed issue where the MySQL dialect would not correctly render
  the server default of a column in an alter operation, if the
  operation were programmatically generated from an autogenerate
  pass as it would not accommodate for the full structure of the
  DefaultClause construct.
- Fixed issue where the CAST applied to a JSON column when copying
  a SQLite table during batch mode would cause the data to be lost,
  as SQLite's CAST with JSON appears to convert the data to the
  value "0". The CAST is now skipped in a dialect-specific manner,
  including for JSON columns on SQLite.
- The alembic current command no longer creates an alembic_version
  table in the database if one does not exist already, returning
  no version as the current version. This allows checking for
  migrations in parallel without introducing race conditions.
- Fixed issue where columns in a foreign-key referenced table
  would be replaced with null-type columns during a batch
  operation; while this did not generally have any side effects,
  it could theoretically impact a batch operation that also
  targets that table directly and also would interfere with future
  changes to the .append_column() method to disallow implicit
  replacement of columns.
- Fixed issue where the mssql_drop_foreign_key=True flag on
  op.drop_column would lead to incorrect syntax error due to a
  typo in the SQL emitted, same typo was present in the test as
  well so it was not detected.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-15 09:28:34 -07:00

18 lines
472 B
BlitzBasic

DESCRIPTION = "A database migration tool for SQLAlchemy"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bd64aba1b968c2bfbc2b525a181ce85c"
inherit pypi setuptools3
SRC_URI[md5sum] = "6051576d8e25e3d4a9fd818d79531bad"
SRC_URI[sha256sum] = "5334f32314fb2a56d86b4c4dd1ae34b08c03cae4cb888bc699942104d66bc245"
PYPI_PACKAGE = "alembic"
RDEPENDS_${PN} += "\
${PYTHON_PN}-dateutil \
${PYTHON_PN}-editor \
${PYTHON_PN}-mako \
${PYTHON_PN}-sqlalchemy \
"