From 4802ce261207ff517edd000c6d28d0823d7589e6 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 6 Sep 2023 09:56:04 +0800 Subject: python3-alembic: upgrade 1.11.3 -> 1.12.0 Changelog: =========== [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. [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. [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. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-alembic_1.11.3.bb | 19 ------------------- .../recipes-devtools/python/python3-alembic_1.12.0.bb | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-alembic_1.11.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-alembic_1.12.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-alembic_1.11.3.bb b/meta-python/recipes-devtools/python/python3-alembic_1.11.3.bb deleted file mode 100644 index 6d8a84edfe..0000000000 --- a/meta-python/recipes-devtools/python/python3-alembic_1.11.3.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "A database migration tool for SQLAlchemy" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e3023b042cb6002cb398344b51c67093" - -inherit pypi setuptools3 - -SRC_URI[sha256sum] = "3db4ce81a9072e1b5aa44c2d202add24553182672a12daf21608d6f62a8f9cf9" - -PYPI_PACKAGE = "alembic" - -RDEPENDS:${PN} += "\ - ${PYTHON_PN}-dateutil \ - ${PYTHON_PN}-editor \ - ${PYTHON_PN}-mako \ - ${PYTHON_PN}-sqlalchemy \ - ${PYTHON_PN}-misc \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-alembic_1.12.0.bb b/meta-python/recipes-devtools/python/python3-alembic_1.12.0.bb new file mode 100644 index 0000000000..78b888e9f1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-alembic_1.12.0.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "A database migration tool for SQLAlchemy" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e3023b042cb6002cb398344b51c67093" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "8e7645c32e4f200675e69f0745415335eb59a3663f5feb487abfa0b30c45888b" + +PYPI_PACKAGE = "alembic" + +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-dateutil \ + ${PYTHON_PN}-editor \ + ${PYTHON_PN}-mako \ + ${PYTHON_PN}-sqlalchemy \ + ${PYTHON_PN}-misc \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf