From patchwork Tue Jun 21 13:10:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 9407 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 85BCFC433EF for ; Tue, 21 Jun 2022 13:10:24 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web12.43004.1655817014500318973 for ; Tue, 21 Jun 2022 06:10:15 -0700 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 AC830165C; Tue, 21 Jun 2022 06:10:13 -0700 (PDT) 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 145843F534; Tue, 21 Jun 2022 06:10:12 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH v3 1/5] Add python3-editables (from meta-python) Date: Tue, 21 Jun 2022 14:10:07 +0100 Message-Id: <20220621131011.96980-1-ross.burton@arm.com> X-Mailer: git-send-email 2.25.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 ; Tue, 21 Jun 2022 13:10:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/167146 This is a dependency of the Hatch build system, to be added as python3-hatchling. Signed-off-by: Ross Burton --- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-devtools/python/python3-editables_0.3.bb | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-editables_0.3.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 6ab2ed9a9f5..40b6ee9ce65 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -604,6 +604,7 @@ RECIPE_MAINTAINER:pn-python3-dbusmock = "Oleksandr Kravchuk X-Patchwork-Id: 9410 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 A456BCCA483 for ; Tue, 21 Jun 2022 13:10:24 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web08.43158.1655817015252198755 for ; Tue, 21 Jun 2022 06:10:15 -0700 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 583E21688; Tue, 21 Jun 2022 06:10:14 -0700 (PDT) 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 B58CD3F534; Tue, 21 Jun 2022 06:10:13 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH v3 2/5] Add python3-pathspec (from meta-python) Date: Tue, 21 Jun 2022 14:10:08 +0100 Message-Id: <20220621131011.96980-2-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220621131011.96980-1-ross.burton@arm.com> References: <20220621131011.96980-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 ; Tue, 21 Jun 2022 13:10:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/167148 This is a dependency of the Hatch build system, to be added as python3-hatchling. Signed-off-by: Ross Burton --- meta/conf/distro/include/maintainers.inc | 1 + .../recipes-devtools/python/python3-pathspec_0.9.0.bb | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-pathspec_0.9.0.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 40b6ee9ce65..62e0ac24e35 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -633,6 +633,7 @@ RECIPE_MAINTAINER:pn-python3-ndg-httpsclient = "Tim Orling X-Patchwork-Id: 9409 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 A44C8CCA473 for ; Tue, 21 Jun 2022 13:10:24 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web08.43159.1655817015252430316 for ; Tue, 21 Jun 2022 06:10:15 -0700 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 0533D168F; Tue, 21 Jun 2022 06:10:15 -0700 (PDT) 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 627AB3F534; Tue, 21 Jun 2022 06:10:14 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH v3 3/5] Add python3-hatchling (from meta-oe) Date: Tue, 21 Jun 2022 14:10:09 +0100 Message-Id: <20220621131011.96980-3-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220621131011.96980-1-ross.burton@arm.com> References: <20220621131011.96980-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 ; Tue, 21 Jun 2022 13:10:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/167147 Recipes in core are now needing to use the Hatch build system, so move the hatchling recipe and class from meta-oe to oe-core. Signed-off-by: Ross Burton --- meta/classes/python_hatchling.bbclass | 5 +++++ meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-hatchling_1.3.0.bb | 21 +++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 meta/classes/python_hatchling.bbclass create mode 100644 meta/recipes-devtools/python/python3-hatchling_1.3.0.bb diff --git a/meta/classes/python_hatchling.bbclass b/meta/classes/python_hatchling.bbclass new file mode 100644 index 00000000000..b3cbe23601b --- /dev/null +++ b/meta/classes/python_hatchling.bbclass @@ -0,0 +1,5 @@ +inherit python_pep517 python3native python3-dir setuptools3-base + +DEPENDS += "python3-hatchling-native" + +PEP517_BUILD_API = "hatchling.build" diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 62e0ac24e35..cf7723deb08 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -612,6 +612,7 @@ RECIPE_MAINTAINER:pn-python3-extras = "Oleksandr Kravchuk X-Patchwork-Id: 9406 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 866E1C43334 for ; Tue, 21 Jun 2022 13:10:24 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.32641.1655817015893667083 for ; Tue, 21 Jun 2022 06:10:16 -0700 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 A6266165C; Tue, 21 Jun 2022 06:10:15 -0700 (PDT) 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 0F5FD3F534; Tue, 21 Jun 2022 06:10:14 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH v3 4/5] python3-hatch-vcs: add new recipe Date: Tue, 21 Jun 2022 14:10:10 +0100 Message-Id: <20220621131011.96980-4-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220621131011.96980-1-ross.burton@arm.com> References: <20220621131011.96980-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 ; Tue, 21 Jun 2022 13:10:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/167149 This recipe (a VCS plugin for Hatch) is needed by the new python3-jsonschema to build. Signed-off-by: Ross Burton --- meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-hatch-vcs_0.2.0.bb | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-hatch-vcs_0.2.0.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index cf7723deb08..18b0624af72 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -613,6 +613,7 @@ RECIPE_MAINTAINER:pn-python3-flit-core = "Tim Orling " RECIPE_MAINTAINER:pn-python3-git = "Oleksandr Kravchuk " RECIPE_MAINTAINER:pn-python3-gitdb = "Oleksandr Kravchuk " RECIPE_MAINTAINER:pn-python3-hatchling = "Ross Burton " +RECIPE_MAINTAINER:pn-python3-hatch-vcs = "Ross Burton " RECIPE_MAINTAINER:pn-python3-hypothesis = "Tim Orling " RECIPE_MAINTAINER:pn-python3-idna = "Bruce Ashfield " RECIPE_MAINTAINER:pn-python3-imagesize = "Tim Orling " diff --git a/meta/recipes-devtools/python/python3-hatch-vcs_0.2.0.bb b/meta/recipes-devtools/python/python3-hatch-vcs_0.2.0.bb new file mode 100644 index 00000000000..100099c130c --- /dev/null +++ b/meta/recipes-devtools/python/python3-hatch-vcs_0.2.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "Hatch plugin for versioning with your preferred VCS" +HOMEPAGE = "https://pypi.org/project/hatch-vcs/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26501cfd0bbddf830ee820e95551fa3d" + +inherit pypi python_hatchling + +PYPI_PACKAGE = "hatch_vcs" + +SRC_URI[sha256sum] = "9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff" + +BBCLASSEXTEND = "native nativesdk" From patchwork Tue Jun 21 13:10:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 9408 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 86F8ACCA481 for ; Tue, 21 Jun 2022 13:10:24 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web08.43161.1655817016538062336 for ; Tue, 21 Jun 2022 06:10:16 -0700 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 52FD81688; Tue, 21 Jun 2022 06:10:16 -0700 (PDT) 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 B05AE3F534; Tue, 21 Jun 2022 06:10:15 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH v3 5/5] python3-jsonschema: upgrade 4.5.1 -> 4.6.0 Date: Tue, 21 Jun 2022 14:10:11 +0100 Message-Id: <20220621131011.96980-5-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220621131011.96980-1-ross.burton@arm.com> References: <20220621131011.96980-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 ; Tue, 21 Jun 2022 13:10:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/167150 Switch the build system from setuptools to hatch. Signed-off-by: Ross Burton --- ...hon3-jsonschema_4.5.1.bb => python3-jsonschema_4.6.0.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python3-jsonschema_4.5.1.bb => python3-jsonschema_4.6.0.bb} (84%) diff --git a/meta/recipes-devtools/python/python3-jsonschema_4.5.1.bb b/meta/recipes-devtools/python/python3-jsonschema_4.6.0.bb similarity index 84% rename from meta/recipes-devtools/python/python3-jsonschema_4.5.1.bb rename to meta/recipes-devtools/python/python3-jsonschema_4.6.0.bb index 9f8719870c2..edd7fafc77d 100644 --- a/meta/recipes-devtools/python/python3-jsonschema_4.5.1.bb +++ b/meta/recipes-devtools/python/python3-jsonschema_4.6.0.bb @@ -4,11 +4,11 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \ file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af" -SRC_URI[sha256sum] = "7c6d882619340c3347a1bf7315e147e6d3dae439033ae6383d6acb908c101dfc" +SRC_URI[sha256sum] = "9d6397ba4a6c0bf0300736057f649e3e12ecbc07d3e81a0dacb72de4e9801957" -inherit pypi python_setuptools_build_meta +inherit pypi python_hatchling -DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native" +DEPENDS += "${PYTHON_PN}-hatch-vcs-native" PACKAGECONFIG ??= "format" PACKAGECONFIG[format] = ",,,\