From patchwork Thu Dec 8 19:30:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 16547 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 015DBC001B2 for ; Thu, 8 Dec 2022 19:30:39 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.24586.1670527835796612749 for ; Thu, 08 Dec 2022 11:30:36 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0907923A; Thu, 8 Dec 2022 11:30:42 -0800 (PST) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CB9223F71A; Thu, 8 Dec 2022 11:30:34 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH 1/3] python3-hatchling: remove python3-tomli DEPENDS Date: Thu, 8 Dec 2022 19:30:22 +0000 Message-Id: <20221208193024.3189494-1-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.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 ; Thu, 08 Dec 2022 19:30:39 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/174409 Now that we have Python 3.11, hatchling will use the internal tomllib instead of tomli. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-hatchling_1.11.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-hatchling_1.11.1.bb b/meta/recipes-devtools/python/python3-hatchling_1.11.1.bb index d98d8746062..04f5f5fd4c3 100644 --- a/meta/recipes-devtools/python/python3-hatchling_1.11.1.bb +++ b/meta/recipes-devtools/python/python3-hatchling_1.11.1.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cbe2fd33fc9297692812fc94b7d27fd9" inherit pypi python_hatchling -DEPENDS += "python3-pluggy-native python3-tomli-native python3-pathspec-native python3-packaging-native python3-editables-native" +DEPENDS += "python3-pluggy-native python3-pathspec-native python3-packaging-native python3-editables-native" DEPENDS:remove:class-native = "python3-hatchling-native" SRC_URI[sha256sum] = "9f84361f70cf3a7ab9543b0c3ecc64211ed2ba8a606a71eb6a473c1c9b08e1d0" From patchwork Thu Dec 8 19:30:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 16548 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 0263CC10F1B for ; Thu, 8 Dec 2022 19:30:39 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.24587.1670527836245111910 for ; Thu, 08 Dec 2022 11:30:36 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A90D8D6E; Thu, 8 Dec 2022 11:30:42 -0800 (PST) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 78A913F71A; Thu, 8 Dec 2022 11:30:35 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH 2/3] python3-cryptography: remove python3-tomli RDEPENDS Date: Thu, 8 Dec 2022 19:30:23 +0000 Message-Id: <20221208193024.3189494-2-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221208193024.3189494-1-ross.burton@arm.com> References: <20221208193024.3189494-1-ross.burton@arm.com> MIME-Version: 1.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 ; Thu, 08 Dec 2022 19:30:39 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/174410 The test suite doesn't use tomli, so remove it. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-cryptography_38.0.3.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-cryptography_38.0.3.bb b/meta/recipes-devtools/python/python3-cryptography_38.0.3.bb index 14ad459c1b1..4bbc0904ed7 100644 --- a/meta/recipes-devtools/python/python3-cryptography_38.0.3.bb +++ b/meta/recipes-devtools/python/python3-cryptography_38.0.3.bb @@ -45,7 +45,6 @@ RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-pytest \ ${PYTHON_PN}-pytest-subtests \ ${PYTHON_PN}-pytz \ - ${PYTHON_PN}-tomli \ " inherit ptest From patchwork Thu Dec 8 19:30:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 16549 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 060ADC4167B for ; Thu, 8 Dec 2022 19:30:39 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.24588.1670527837607582179 for ; Thu, 08 Dec 2022 11:30:37 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 56173FEC; Thu, 8 Dec 2022 11:30:43 -0800 (PST) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 258B13F71A; Thu, 8 Dec 2022 11:30:36 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH 3/3] python3-packaging: upgrade to 22.0 Date: Thu, 8 Dec 2022 19:30:24 +0000 Message-Id: <20221208193024.3189494-3-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221208193024.3189494-1-ross.burton@arm.com> References: <20221208193024.3189494-1-ross.burton@arm.com> MIME-Version: 1.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 ; Thu, 08 Dec 2022 19:30:39 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/174411 This has been ported from setuptools to flit_core, and now contains a hand-written parser instead of using pyparsing. Signed-off-by: Ross Burton --- ...{python3-packaging_21.3.bb => python3-packaging_22.0.bb} | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) rename meta/recipes-devtools/python/{python3-packaging_21.3.bb => python3-packaging_22.0.bb} (58%) diff --git a/meta/recipes-devtools/python/python3-packaging_21.3.bb b/meta/recipes-devtools/python/python3-packaging_22.0.bb similarity index 58% rename from meta/recipes-devtools/python/python3-packaging_21.3.bb rename to meta/recipes-devtools/python/python3-packaging_22.0.bb index e3b9a440c4e..bcf077d2c71 100644 --- a/meta/recipes-devtools/python/python3-packaging_21.3.bb +++ b/meta/recipes-devtools/python/python3-packaging_22.0.bb @@ -3,10 +3,8 @@ HOMEPAGE = "https://github.com/pypa/packaging" LICENSE = "Apache-2.0 | BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" -SRC_URI[sha256sum] = "dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb" +SRC_URI[sha256sum] = "2198ec20bd4c017b8f9717e00f0c8714076fc2fd93816750ab48e2c41de2cfd3" -inherit pypi python_setuptools_build_meta +inherit pypi python_flit_core BBCLASSEXTEND = "native nativesdk" - -RDEPENDS:${PN} += "${PYTHON_PN}-pyparsing"