From patchwork Wed Sep 6 01:56:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mingyu Wang (Fujitsu)" X-Patchwork-Id: 30037 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F185CCFA0C for ; Wed, 6 Sep 2023 01:56:45 +0000 (UTC) Received: from esa11.hc1455-7.c3s2.iphmx.com (esa11.hc1455-7.c3s2.iphmx.com [207.54.90.137]) by mx.groups.io with SMTP id smtpd.web10.2347.1693965397683324650 for ; Tue, 05 Sep 2023 18:56:38 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: fujitsu.com, ip: 207.54.90.137, mailfrom: wangmy@fujitsu.com) X-IronPort-AV: E=McAfee;i="6600,9927,10824"; a="110266253" X-IronPort-AV: E=Sophos;i="6.02,230,1688396400"; d="scan'208";a="110266253" Received: from unknown (HELO yto-r1.gw.nic.fujitsu.com) ([218.44.52.217]) by esa11.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2023 10:56:35 +0900 Received: from yto-m1.gw.nic.fujitsu.com (yto-nat-yto-m1.gw.nic.fujitsu.com [192.168.83.64]) by yto-r1.gw.nic.fujitsu.com (Postfix) with ESMTP id 4B1A6DB3C7 for ; Wed, 6 Sep 2023 10:56:33 +0900 (JST) Received: from aks-ab2.gw.nic.fujitsu.com (aks-ab2.gw.nic.fujitsu.com [192.51.207.12]) by yto-m1.gw.nic.fujitsu.com (Postfix) with ESMTP id 7D364CFAB1 for ; Wed, 6 Sep 2023 10:56:32 +0900 (JST) Received: from localhost.localdomain (unknown [10.167.225.33]) by aks-ab2.gw.nic.fujitsu.com (Postfix) with ESMTP id B2A9A8653F; Wed, 6 Sep 2023 10:56:31 +0900 (JST) From: wangmy@fujitsu.com To: openembedded-devel@lists.openembedded.org Cc: Wang Mingyu Subject: [oe] [meta-python] [PATCH] python3-alembic: upgrade 1.11.3 -> 1.12.0 Date: Wed, 6 Sep 2023 09:56:04 +0800 Message-Id: <1693965364-14175-1-git-send-email-wangmy@fujitsu.com> X-Mailer: git-send-email 1.8.3.1 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSS-9.1.0.1408-9.0.0.1002-27858.004 X-TM-AS-User-Approved-Sender: Yes X-TMASE-Version: IMSS-9.1.0.1408-9.0.1002-27858.004 X-TMASE-Result: 10--6.620800-10.000000 X-TMASE-MatchedRID: PWXwJQp0B9ujz0nOeth/yUIIxwDaU5mr0bdjqKOoG3dYC5LPd7Bvbf6p qdmAtaLQr6YGgo/fM91AbXYckVtdxqc3w8LXZ2a4z5r5y9mouSA2ugGkJu34Zr4hD5p4uWGfBOC yMglQlkgmN1m+ms6wPEaF8kcOjx9I/GF5t1cq7C6z8d6zvo5NkJSr4ZD/PIl0RkICFa5gS+Q5xj +OQMYqIkJLmUv1xsAUhLh28z4SFpnZnRDYvUcjh1K9xlSOuRoWtkpWbH/Eii6U8ftiyKjZrdMjj wb9QfV2CC8aAmGeO6lV00+whwxVQy/7QU2czuUNuce7gFxhKa0BQOqUsWgx5gIZ++dWnH7bnptr 8PnHpyni8zVgXoAltsIJ+4gwXrEtIAcCikR3vq9mDQQ81mBfUndzPSHshKyVKl4PPbW+tpAsOkK JVwAXCzlYVtR7gfK4 X-TMASE-SNAP-Result: 1.821001.0001-0-1-22:0,33:0,34:0-0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 06 Sep 2023 01:56:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/104741 From: Wang Mingyu 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 --- .../{python3-alembic_1.11.3.bb => python3-alembic_1.12.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-alembic_1.11.3.bb => python3-alembic_1.12.0.bb} (81%) diff --git a/meta-python/recipes-devtools/python/python3-alembic_1.11.3.bb b/meta-python/recipes-devtools/python/python3-alembic_1.12.0.bb similarity index 81% rename from meta-python/recipes-devtools/python/python3-alembic_1.11.3.bb rename to meta-python/recipes-devtools/python/python3-alembic_1.12.0.bb index 6d8a84edfe..78b888e9f1 100644 --- a/meta-python/recipes-devtools/python/python3-alembic_1.11.3.bb +++ b/meta-python/recipes-devtools/python/python3-alembic_1.12.0.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e3023b042cb6002cb398344b51c67093" inherit pypi setuptools3 -SRC_URI[sha256sum] = "3db4ce81a9072e1b5aa44c2d202add24553182672a12daf21608d6f62a8f9cf9" +SRC_URI[sha256sum] = "8e7645c32e4f200675e69f0745415335eb59a3663f5feb487abfa0b30c45888b" PYPI_PACKAGE = "alembic"