From 26011fef97f0ce74492ee6ede2c665d4f57bd27c Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 27 Feb 2023 16:03:39 +0800 Subject: python3-alembic: upgrade 1.9.2 -> 1.9.4 Changelog: =========== [bug] [mssql] Ongoing fixes for SQL Server server default comparisons under autogenerate, adjusting for SQL Server's collapsing of whitespace between SQL function arguments when reporting on a function-based server default, as well as its arbitrary addition of parenthesis within arguments; the approach has now been made more aggressive by stripping the two default strings to compare of all whitespace, parenthesis, and quoting characters. References: #1177 [bug] [postgresql] Fixed PostgreSQL server default comparison to handle SQL expressions sent as text() constructs, such as text("substring('name', 1, 3)"), which previously would raise errors when attempting to run a server-based comparison. [bug] [autogenerate] Removed a mis-use of the EnvironmentContext.configure.render_item callable where the "server_default" renderer would be erroneously used within the server default comparison process, which is working against SQL expressions, not Python code. References: #1180 [bug] [commands] Fixed regression introduced in 1.7.0 where the "config" object passed to the template context when running the merge() command programmatically failed to be correctly populated. Pull request courtesy Brendan Gann. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-alembic_1.9.4.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-alembic_1.9.4.bb (limited to 'meta-python/recipes-devtools/python/python3-alembic_1.9.4.bb') diff --git a/meta-python/recipes-devtools/python/python3-alembic_1.9.4.bb b/meta-python/recipes-devtools/python/python3-alembic_1.9.4.bb new file mode 100644 index 0000000000..7f9ac2ec91 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-alembic_1.9.4.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] = "4d3bd32ecdbb7bbfb48a9fe9e6d6fd6a831a1b59d03e26e292210237373e7db5" + +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