From patchwork Tue Jul 23 14:51:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46737 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 AE8BEC3DA49 for ; Tue, 23 Jul 2024 14:51:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45927.1721746302619252609 for ; Tue, 23 Jul 2024 07:51:42 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 A123C1476 for ; Tue, 23 Jul 2024 07:52:07 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D017F3F73F for ; Tue, 23 Jul 2024 07:51:41 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 01/37] python3: add dependency on -compression to -core Date: Tue, 23 Jul 2024 15:51:01 +0100 Message-Id: <20240723145137.74198-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 ; Tue, 23 Jul 2024 14:51:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202368 importlib.metadata is part of -core, but that will import zipfile which is part of -compression. Obviously this shows that our packaging of the Python modules is not optimal. I plan to follow up with a redesign of the splitting which focuses on simply pulling out the larger or esoteric modules and having a more featureful core. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3/python3-manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index 46092d40040..292c5bbc5da 100644 --- a/meta/recipes-devtools/python/python3/python3-manifest.json +++ b/meta/recipes-devtools/python/python3/python3-manifest.json @@ -216,7 +216,7 @@ }, "core": { "summary": "Python interpreter and core modules", - "rdepends": [], + "rdepends": ["compression"], "files": [ "${bindir}/python${PYTHON_MAJMIN}", "${bindir}/python${PYTHON_MAJMIN}.real", From patchwork Tue Jul 23 14:51:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46740 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 D5046C49EA1 for ; Tue, 23 Jul 2024 14:51:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45929.1721746303130381360 for ; Tue, 23 Jul 2024 07:51:43 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 424511476 for ; Tue, 23 Jul 2024 07:52:08 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 67E033F73F for ; Tue, 23 Jul 2024 07:51:42 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 02/37] python3-jsonschema: rename nongpl PACKAGECONFIG Date: Tue, 23 Jul 2024 15:51:02 +0100 Message-Id: <20240723145137.74198-2-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202369 To make it clear that this is an alternative to the format PACKAGECONFIG, rename it to format-nongpl. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb b/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb index c3184396d29..95afc1ead20 100644 --- a/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb +++ b/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb @@ -21,7 +21,7 @@ PACKAGECONFIG[format] = ",,,\ python3-rfc3987 \ python3-rfc3339-validator \ " -PACKAGECONFIG[nongpl] = ",,,\ +PACKAGECONFIG[format-nongpl] = ",,,\ python3-idna \ python3-jsonpointer \ python3-webcolors \ From patchwork Tue Jul 23 14:51:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46750 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 7D468C52D71 for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45930.1721746303656428526 for ; Tue, 23 Jul 2024 07:51:43 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 C50881476 for ; Tue, 23 Jul 2024 07:52:08 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 002B23F73F for ; Tue, 23 Jul 2024 07:51:42 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 03/37] python3-setuptools: RDEPEND on python3-unixadmin Date: Tue, 23 Jul 2024 15:51:03 +0100 Message-Id: <20240723145137.74198-3-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202370 setuptools/command/register.py uses the getpass module. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-setuptools_70.3.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-setuptools_70.3.0.bb b/meta/recipes-devtools/python/python3-setuptools_70.3.0.bb index 291601ca983..72a8d7bc3c9 100644 --- a/meta/recipes-devtools/python/python3-setuptools_70.3.0.bb +++ b/meta/recipes-devtools/python/python3-setuptools_70.3.0.bb @@ -32,6 +32,7 @@ RDEPENDS:${PN} = "\ python3-stringold \ python3-threading \ python3-unittest \ + python3-unixadmin \ python3-xml \ " From patchwork Tue Jul 23 14:51:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46754 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 88E1CC52D72 for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45839.1721746304331580305 for ; Tue, 23 Jul 2024 07:51:44 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 5C9F91476 for ; Tue, 23 Jul 2024 07:52:09 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8CBE53F73F for ; Tue, 23 Jul 2024 07:51:43 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 04/37] python3-poetry-core: remove python3-pathlib2 dependency Date: Tue, 23 Jul 2024 15:51:04 +0100 Message-Id: <20240723145137.74198-4-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202371 Poetry 1.1.0 removed pathlib2 from the dependencies entirely, and before then it was only needed with Python 2. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb b/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb index 540fdffaeda..a073f8b069e 100644 --- a/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb +++ b/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb @@ -29,7 +29,6 @@ RDEPENDS:${PN}:append:class-target = "\ python3-json \ python3-logging \ python3-netclient \ - python3-pathlib2 \ python3-pprint \ python3-shell \ " From patchwork Tue Jul 23 14:51:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46742 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 EF6FAC52CD8 for ; Tue, 23 Jul 2024 14:51:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45931.1721746304907745765 for ; Tue, 23 Jul 2024 07:51:45 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 DFAA81480 for ; Tue, 23 Jul 2024 07:52:09 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 242693F73F for ; Tue, 23 Jul 2024 07:51:44 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 05/37] python3-pytest: clean up RDEPENDS Date: Tue, 23 Jul 2024 15:51:05 +0100 Message-Id: <20240723145137.74198-5-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202372 These dependencies are only used in development: - attrs - setuptools These dependencies are obsolete: - atomicwrites removed 7.2.0 - importlib-metadata removed in 5.1.0 - more-itertools removed 6.1.0 - pathlib2 removed 6.2.2 - py removed in 7.2 - six removed in 5.0.0 - tomllib not needed as we have Python 3.11+ - wcwidth removed in 6.0.0 This removals now means that python3-xml has to be added explicitly. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pytest_8.2.2.bb | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/meta/recipes-devtools/python/python3-pytest_8.2.2.bb b/meta/recipes-devtools/python/python3-pytest_8.2.2.bb index 531f40df81d..a5f6f7358bf 100644 --- a/meta/recipes-devtools/python/python3-pytest_8.2.2.bb +++ b/meta/recipes-devtools/python/python3-pytest_8.2.2.bb @@ -12,22 +12,13 @@ DEPENDS += "python3-setuptools-scm-native" inherit update-alternatives pypi python_setuptools_build_meta RDEPENDS:${PN} += " \ - python3-atomicwrites \ - python3-attrs \ + python3-xml \ python3-debugger \ python3-doctest \ - python3-importlib-metadata \ python3-iniconfig \ python3-json \ - python3-more-itertools \ python3-packaging \ - python3-pathlib2 \ python3-pluggy \ - python3-py \ - python3-setuptools \ - python3-six \ - python3-tomllib \ - python3-wcwidth \ " ALTERNATIVE:${PN} += "py.test pytest" From patchwork Tue Jul 23 14:51:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46744 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 35750C52CDC for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45840.1721746305355655328 for ; Tue, 23 Jul 2024 07:51:45 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 7E8941476 for ; Tue, 23 Jul 2024 07:52:10 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A758A3F73F for ; Tue, 23 Jul 2024 07:51:44 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 06/37] pytest-runner: remove python3-py dependency Date: Tue, 23 Jul 2024 15:51:06 +0100 Message-Id: <20240723145137.74198-6-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202373 It appears that this package has never required the `py` module. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb b/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb index cce9ce33e22..e5e5e048bd4 100644 --- a/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb +++ b/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb @@ -10,7 +10,6 @@ inherit pypi python_setuptools_build_meta DEPENDS += " \ python3-setuptools-scm-native" -RDEPENDS:${PN} = "python3-py python3-setuptools python3-debugger python3-json \ - python3-io" +RDEPENDS:${PN} = "python3-setuptools python3-debugger python3-json python3-io" BBCLASSEXTEND = "native nativesdk" From patchwork Tue Jul 23 14:51:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46749 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 5BC7FC52D1F for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45841.1721746305929322772 for ; Tue, 23 Jul 2024 07:51:46 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 15ED41476 for ; Tue, 23 Jul 2024 07:52:11 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 3FF4D3F73F for ; Tue, 23 Jul 2024 07:51:45 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 07/37] python3-chardet: remove pytest-runner DEPENDS Date: Tue, 23 Jul 2024 15:51:07 +0100 Message-Id: <20240723145137.74198-7-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202374 This was removed in 4.0.0[1] [1] https://github.com/chardet/chardet/commit/6a59c4b19226231fc310a3c11e0be939a04f9b3e Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-chardet_5.2.0.bb | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/recipes-devtools/python/python3-chardet_5.2.0.bb b/meta/recipes-devtools/python/python3-chardet_5.2.0.bb index ed792b1c7ed..9acbeeb3f25 100644 --- a/meta/recipes-devtools/python/python3-chardet_5.2.0.bb +++ b/meta/recipes-devtools/python/python3-chardet_5.2.0.bb @@ -5,9 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" SRC_URI[sha256sum] = "1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7" -# setup.py of chardet needs this. -DEPENDS += "python3-pytest-runner-native" - inherit pypi python_setuptools_build_meta PACKAGES =+ "${PN}-cli" From patchwork Tue Jul 23 14:51:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46748 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 3BCBDC52D1D for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45842.1721746306557117857 for ; Tue, 23 Jul 2024 07:51:46 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 9CFBD1476 for ; Tue, 23 Jul 2024 07:52:11 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id CC6343F73F for ; Tue, 23 Jul 2024 07:51:45 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 08/37] python3-websockets: remove unused imports Date: Tue, 23 Jul 2024 15:51:08 +0100 Message-Id: <20240723145137.74198-8-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202375 These modules are not imported by websockets. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-websockets_12.0.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-devtools/python/python3-websockets_12.0.bb b/meta/recipes-devtools/python/python3-websockets_12.0.bb index 1bebcb4ce65..a04c63f6af1 100644 --- a/meta/recipes-devtools/python/python3-websockets_12.0.bb +++ b/meta/recipes-devtools/python/python3-websockets_12.0.bb @@ -12,6 +12,4 @@ BBCLASSEXTEND = "native nativesdk" RDEPENDS:${PN} = " \ python3-asyncio \ - python3-profile \ - python3-zipp \ " From patchwork Tue Jul 23 14:51:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46752 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 756FCC52D6F for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45843.1721746307226057788 for ; Tue, 23 Jul 2024 07:51:47 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 3487A1476 for ; Tue, 23 Jul 2024 07:52:12 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6471F3F73F for ; Tue, 23 Jul 2024 07:51:46 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 09/37] python3-beartype: add missing RDEPENDS Date: Tue, 23 Jul 2024 15:51:09 +0100 Message-Id: <20240723145137.74198-9-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202376 These parts of the standard library are imported by beartype. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-beartype_0.18.5.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb index 04fbd3139fb..00554dd60c5 100644 --- a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb +++ b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb @@ -8,4 +8,6 @@ SRC_URI[sha256sum] = "264ddc2f1da9ec94ff639141fbe33d22e12a9f75aa863b83b7046ffff1 inherit setuptools3 pypi +RDEPENDS:${PN} += "python3-numbers python3-io" + BBCLASSEXTEND = "native nativesdk" From patchwork Tue Jul 23 14:51:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46755 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 7039FC52D70 for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45937.1721746307930461767 for ; Tue, 23 Jul 2024 07:51:48 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 F15701476 for ; Tue, 23 Jul 2024 07:52:12 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F04BC3F73F for ; Tue, 23 Jul 2024 07:51:46 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 10/37] python3-jsonschema: remove obsolete RDEPENDS Date: Tue, 23 Jul 2024 15:51:10 +0100 Message-Id: <20240723145137.74198-10-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202377 The backport of importlib-metadata is no longer needed as we have Python 3.8+. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb b/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb index 95afc1ead20..0332b3e9b50 100644 --- a/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb +++ b/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb @@ -33,7 +33,6 @@ RDEPENDS:${PN} += " \ python3-attrs \ python3-core \ python3-datetime \ - python3-importlib-metadata \ python3-io \ python3-json \ python3-jsonschema-specifications \ From patchwork Tue Jul 23 14:51:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46751 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 6A78EC52D6D for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45938.1721746308296604716 for ; Tue, 23 Jul 2024 07:51:48 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 6B8C41480 for ; Tue, 23 Jul 2024 07:52:13 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 87D9C3F7B4 for ; Tue, 23 Jul 2024 07:51:47 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 11/37] python3-pluggy: clean up RDEPENDS Date: Tue, 23 Jul 2024 15:51:11 +0100 Message-Id: <20240723145137.74198-11-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202378 importlib-metadata is no longer needed since 0.13.0. more-itertools has never been imported directly by pluggy but was likely a dependency coming via more-itertools. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pluggy_1.5.0.bb | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb b/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb index 9822cd59f3b..4f8412d4b31 100644 --- a/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb +++ b/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb @@ -6,9 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2" SRC_URI[sha256sum] = "2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1" DEPENDS += "python3-setuptools-scm-native" -RDEPENDS:${PN} += "python3-importlib-metadata \ - python3-more-itertools \ -" inherit pypi ptest python_setuptools_build_meta From patchwork Tue Jul 23 14:51:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46745 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 1605AC52CD9 for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45939.1721746308791857252 for ; Tue, 23 Jul 2024 07:51:48 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 E356B1476 for ; Tue, 23 Jul 2024 07:52:13 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 1F26F3F73F for ; Tue, 23 Jul 2024 07:51:48 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 12/37] python3-scons: remove obsolete RDEPENDS Date: Tue, 23 Jul 2024 15:51:12 +0100 Message-Id: <20240723145137.74198-12-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202379 scons doesn't appear to have ever imported importlib_metadata. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-scons_4.7.0.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-scons_4.7.0.bb b/meta/recipes-devtools/python/python3-scons_4.7.0.bb index bba6c799d41..36115185410 100644 --- a/meta/recipes-devtools/python/python3-scons_4.7.0.bb +++ b/meta/recipes-devtools/python/python3-scons_4.7.0.bb @@ -15,7 +15,6 @@ RDEPENDS:${PN}:class-target = "\ python3-core \ python3-compression \ python3-fcntl \ - python3-importlib-metadata \ python3-io \ python3-json \ python3-shell \ From patchwork Tue Jul 23 14:51:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46743 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 F0021C52CDA for ; Tue, 23 Jul 2024 14:51:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45940.1721746309574794797 for ; Tue, 23 Jul 2024 07:51:49 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 8C61C1476 for ; Tue, 23 Jul 2024 07:52:14 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AB0633F73F for ; Tue, 23 Jul 2024 07:51:48 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 13/37] gi-docgen: remove obsolete python3-toml dependency Date: Tue, 23 Jul 2024 15:51:13 +0100 Message-Id: <20240723145137.74198-13-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202380 As we have Python 3.11+, tomllib will be used. Signed-off-by: Ross Burton --- meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb b/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb index 54d7ef75136..488f2663cbf 100644 --- a/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb +++ b/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb @@ -16,6 +16,6 @@ S = "${WORKDIR}/git" inherit setuptools3 -RDEPENDS:${PN} += "python3-asyncio python3-core python3-jinja2 python3-json python3-markdown python3-markupsafe python3-pygments python3-toml python3-typogrify python3-xml" +RDEPENDS:${PN} += "python3-asyncio python3-core python3-jinja2 python3-json python3-markdown python3-markupsafe python3-pygments python3-typogrify python3-xml" BBCLASSEXTEND = "native nativesdk" From patchwork Tue Jul 23 14:51:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46741 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 E3345C3DA63 for ; Tue, 23 Jul 2024 14:51:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45844.1721746309873095267 for ; Tue, 23 Jul 2024 07:51:49 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 1369F1480 for ; Tue, 23 Jul 2024 07:52:15 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 436593F73F for ; Tue, 23 Jul 2024 07:51:49 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 14/37] python3-jinja2: remove obsolete python3-toml dependency Date: Tue, 23 Jul 2024 15:51:14 +0100 Message-Id: <20240723145137.74198-14-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202381 As we have Python 3.11+, tomllib will be used. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-jinja2_3.1.4.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb b/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb index 2c020370113..9ea6a0cf4ec 100644 --- a/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb +++ b/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb @@ -26,7 +26,6 @@ do_install_ptest() { RDEPENDS:${PN}-ptest += " \ python3-pytest \ python3-unittest-automake-output \ - python3-toml \ python3-unixadmin \ " From patchwork Tue Jul 23 14:51:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46746 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 4F67BC52D54 for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45845.1721746310513797603 for ; Tue, 23 Jul 2024 07:51:50 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 9FC6B1476 for ; Tue, 23 Jul 2024 07:52:15 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id CF25C3F73F for ; Tue, 23 Jul 2024 07:51:49 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 15/37] python3-setuptools-rust: remove obsolete python3-toml dependency Date: Tue, 23 Jul 2024 15:51:15 +0100 Message-Id: <20240723145137.74198-15-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202382 As we have Python 3.11+, tomllib will be used. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb b/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb index 8eb2513d694..62ac4764038 100644 --- a/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb +++ b/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb @@ -27,7 +27,6 @@ RDEPENDS:${PN} += " \ python3-setuptools \ python3-setuptools-scm \ python3-shell \ - python3-toml \ python3-typing-extensions \ python3-wheel \ " From patchwork Tue Jul 23 14:51:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46739 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 CBB71C3DA7F for ; Tue, 23 Jul 2024 14:51:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45944.1721746311058787148 for ; Tue, 23 Jul 2024 07:51:51 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 38F681476 for ; Tue, 23 Jul 2024 07:52:16 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 67CE83F73F for ; Tue, 23 Jul 2024 07:51:50 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 16/37] python3-setuptools-scm: remove obsolete python3-tomli dependency Date: Tue, 23 Jul 2024 15:51:16 +0100 Message-Id: <20240723145137.74198-16-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202383 As we have Python 3.11+, tomllib will be used. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb b/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb index ea65b476fcd..d116327fc6a 100644 --- a/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb +++ b/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb @@ -21,7 +21,6 @@ RDEPENDS:${PN} = "\ python3-pip \ python3-pyparsing \ python3-setuptools \ - python3-tomli \ python3-typing-extensions \ " From patchwork Tue Jul 23 14:51:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46747 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 47D94C52D1E for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45945.1721746311618424153 for ; Tue, 23 Jul 2024 07:51:51 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 C75AF1476 for ; Tue, 23 Jul 2024 07:52:16 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 01E103F73F for ; Tue, 23 Jul 2024 07:51:50 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 17/37] python3-zipp: remove obsolete dependencies Date: Tue, 23 Jul 2024 15:51:17 +0100 Message-Id: <20240723145137.74198-17-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202384 As we have Python 3.11+, tomllib will be used instead of toml. more-itertools is only used by the tests, which we don't package. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-zipp_3.19.2.bb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meta/recipes-devtools/python/python3-zipp_3.19.2.bb b/meta/recipes-devtools/python/python3-zipp_3.19.2.bb index 2bb69f2ac8b..8efb9d1814b 100644 --- a/meta/recipes-devtools/python/python3-zipp_3.19.2.bb +++ b/meta/recipes-devtools/python/python3-zipp_3.19.2.bb @@ -9,10 +9,7 @@ DEPENDS += "python3-setuptools-scm-native" inherit pypi python_setuptools_build_meta -DEPENDS += "python3-toml-native" - RDEPENDS:${PN} += "python3-compression \ - python3-math \ - python3-more-itertools" + python3-math" BBCLASSEXTEND = "native nativesdk" From patchwork Tue Jul 23 14:51:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46738 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 AE8F7C3DA70 for ; Tue, 23 Jul 2024 14:51:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45847.1721746312190956902 for ; Tue, 23 Jul 2024 07:51:52 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 5E8E91476 for ; Tue, 23 Jul 2024 07:52:17 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8E9293F73F for ; Tue, 23 Jul 2024 07:51:51 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 18/37] python3-importlib-metadata: remove obsolete dependencies Date: Tue, 23 Jul 2024 15:51:18 +0100 Message-Id: <20240723145137.74198-18-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202385 As we have Python 3.11+, tomllib will be used instead of python3-toml. Use of pathlib2 was removed in 3.0.0. Signed-off-by: Ross Burton --- .../python/python3-importlib-metadata_8.0.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/python/python3-importlib-metadata_8.0.0.bb b/meta/recipes-devtools/python/python3-importlib-metadata_8.0.0.bb index 7c920cffa28..1e446c891f1 100644 --- a/meta/recipes-devtools/python/python3-importlib-metadata_8.0.0.bb +++ b/meta/recipes-devtools/python/python3-importlib-metadata_8.0.0.bb @@ -12,8 +12,8 @@ SRC_URI[sha256sum] = "188bd24e4c346d3f0a933f275c2fec67050326a856b9a359881d7c2a69 S = "${WORKDIR}/importlib_metadata-${PV}" -DEPENDS += "python3-setuptools-scm-native python3-toml-native" -RDEPENDS:${PN} += "python3-zipp python3-pathlib2" +DEPENDS += "python3-setuptools-scm-native" +RDEPENDS:${PN} += "python3-zipp" RDEPENDS:${PN}:append:class-target = " python3-misc" RDEPENDS:${PN}:append:class-nativesdk = " python3-misc" From patchwork Tue Jul 23 14:51:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46753 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 8E502C52D74 for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45947.1721746312830076740 for ; Tue, 23 Jul 2024 07:51:52 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 EA2D11476 for ; Tue, 23 Jul 2024 07:52:17 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 261F83F73F for ; Tue, 23 Jul 2024 07:51:52 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 19/37] python3-pathspec: use python_flit_core Date: Tue, 23 Jul 2024 15:51:19 +0100 Message-Id: <20240723145137.74198-19-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202386 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pathspec_0.12.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb b/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb index b61f6733972..2c80b24c289 100644 --- a/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb +++ b/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad" SRC_URI[sha256sum] = "a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712" -inherit pypi setuptools3 +inherit pypi python_flit_core BBCLASSEXTEND = "native nativesdk" From patchwork Tue Jul 23 14:51:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46756 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 95670C52D73 for ; Tue, 23 Jul 2024 14:51:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45948.1721746313363168161 for ; Tue, 23 Jul 2024 07:51:53 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 82A051476 for ; Tue, 23 Jul 2024 07:52:18 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B1EB83F73F for ; Tue, 23 Jul 2024 07:51:52 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 20/37] gi-docgen: use python_poetry_core Date: Tue, 23 Jul 2024 15:51:20 +0100 Message-Id: <20240723145137.74198-20-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:51:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202387 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb b/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb index 488f2663cbf..54ca5d9d078 100644 --- a/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb +++ b/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb @@ -14,7 +14,7 @@ SRCREV = "96f2e9b93e1d8a5338eb05b87fd879856ab7b3cc" S = "${WORKDIR}/git" -inherit setuptools3 +inherit python_poetry_core RDEPENDS:${PN} += "python3-asyncio python3-core python3-jinja2 python3-json python3-markdown python3-markupsafe python3-pygments python3-typogrify python3-xml" From patchwork Tue Jul 23 14:51:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46757 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 94536C3DA70 for ; Tue, 23 Jul 2024 14:52:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45949.1721746313938231802 for ; Tue, 23 Jul 2024 07:51:54 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 119981476 for ; Tue, 23 Jul 2024 07:52:19 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4A4B33F73F for ; Tue, 23 Jul 2024 07:51:53 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 21/37] python3-pyasn1: merge bb/inc Date: Tue, 23 Jul 2024 15:51:21 +0100 Message-Id: <20240723145137.74198-21-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202388 As there's just a single user of the include, merge them. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python-pyasn1.inc | 31 ------------------ .../python/python3-pyasn1_0.6.0.bb | 32 +++++++++++++++++-- 2 files changed, 30 insertions(+), 33 deletions(-) delete mode 100644 meta/recipes-devtools/python/python-pyasn1.inc diff --git a/meta/recipes-devtools/python/python-pyasn1.inc b/meta/recipes-devtools/python/python-pyasn1.inc deleted file mode 100644 index 7b269f2940f..00000000000 --- a/meta/recipes-devtools/python/python-pyasn1.inc +++ /dev/null @@ -1,31 +0,0 @@ -SUMMARY = "Python library implementing ASN.1 types." -HOMEPAGE = "http://pyasn1.sourceforge.net/" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d" - -SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c" - -RDEPENDS:${PN}:class-target += " \ - python3-codecs \ - python3-logging \ - python3-math \ - python3-shell \ -" - -BBCLASSEXTEND = "native nativesdk" - -inherit ptest - -SRC_URI += " \ - file://run-ptest \ - " - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb index 0519ba5edb0..c321f4e58e5 100644 --- a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb +++ b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb @@ -1,3 +1,31 @@ -inherit pypi setuptools3 -require python-pyasn1.inc +SUMMARY = "Python library implementing ASN.1 types." +HOMEPAGE = "http://pyasn1.sourceforge.net/" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d" +SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c" + +inherit pypi setuptools3 pytest + +RDEPENDS:${PN}:class-target += " \ + python3-codecs \ + python3-logging \ + python3-math \ + python3-shell \ +" + +SRC_URI += " \ + file://run-ptest \ + " + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native nativesdk" From patchwork Tue Jul 23 14:51:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46760 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 9E07EC3DA63 for ; Tue, 23 Jul 2024 14:52:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45852.1721746314462179533 for ; Tue, 23 Jul 2024 07:51:54 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 A0F881476 for ; Tue, 23 Jul 2024 07:52:19 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D06253F73F for ; Tue, 23 Jul 2024 07:51:53 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 22/37] python3-pyasn1: use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:22 +0100 Message-Id: <20240723145137.74198-22-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202389 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb index c321f4e58e5..7237557f444 100644 --- a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb +++ b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d" SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c" -inherit pypi setuptools3 pytest +inherit pypi python_setuptools_build_meta ptest RDEPENDS:${PN}:class-target += " \ python3-codecs \ From patchwork Tue Jul 23 14:51:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46770 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 4AF18C52D71 for ; Tue, 23 Jul 2024 14:52:04 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45853.1721746315052880473 for ; Tue, 23 Jul 2024 07:51:55 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 398D31476 for ; Tue, 23 Jul 2024 07:52:20 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 689A43F73F for ; Tue, 23 Jul 2024 07:51:54 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 23/37] python3-beartype: use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:23 +0100 Message-Id: <20240723145137.74198-23-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202390 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-beartype_0.18.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb index 00554dd60c5..95d947c90ee 100644 --- a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb +++ b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e71f94261c1b39896cacacfeaf60560e" SRC_URI[sha256sum] = "264ddc2f1da9ec94ff639141fbe33d22e12a9f75aa863b83b7046ffff1381927" -inherit setuptools3 pypi +inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "python3-numbers python3-io" From patchwork Tue Jul 23 14:51:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46772 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 55515C52D70 for ; Tue, 23 Jul 2024 14:52:04 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45854.1721746315730284904 for ; Tue, 23 Jul 2024 07:51:55 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 C61E51476 for ; Tue, 23 Jul 2024 07:52:20 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 0110F3F73F for ; Tue, 23 Jul 2024 07:51:54 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 24/37] python3-cffi: use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:24 +0100 Message-Id: <20240723145137.74198-24-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202391 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-cffi_1.16.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-cffi_1.16.0.bb b/meta/recipes-devtools/python/python3-cffi_1.16.0.bb index c5f6578ab20..8e829794a56 100644 --- a/meta/recipes-devtools/python/python3-cffi_1.16.0.bb +++ b/meta/recipes-devtools/python/python3-cffi_1.16.0.bb @@ -6,7 +6,7 @@ DEPENDS += "libffi python3-pycparser" SRC_URI[sha256sum] = "bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta RDEPENDS:${PN}:class-target = " \ python3-ctypes \ From patchwork Tue Jul 23 14:51:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46773 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 283FEC52D6F for ; Tue, 23 Jul 2024 14:52:04 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45950.1721746316202340528 for ; Tue, 23 Jul 2024 07:51:56 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 5E7291476 for ; Tue, 23 Jul 2024 07:52:21 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8DE8B3F73F for ; Tue, 23 Jul 2024 07:51:55 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 25/37] python3-psutil: use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:25 +0100 Message-Id: <20240723145137.74198-25-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202392 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-psutil_6.0.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-psutil_6.0.0.bb b/meta/recipes-devtools/python/python3-psutil_6.0.0.bb index 9b77ec40058..30b4df6bd00 100644 --- a/meta/recipes-devtools/python/python3-psutil_6.0.0.bb +++ b/meta/recipes-devtools/python/python3-psutil_6.0.0.bb @@ -5,7 +5,7 @@ HOMEPAGE = "https://pypi.org/project/psutil/" SRC_URI[sha256sum] = "8faae4f310b6d969fa26ca0545338b21f73c6b15db7c4a8d934a5482faa818f2" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta PACKAGES =+ "${PN}-tests" From patchwork Tue Jul 23 14:51:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46766 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 DFE8FC52D1E for ; Tue, 23 Jul 2024 14:52:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45855.1721746316751632430 for ; Tue, 23 Jul 2024 07:51:56 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 E74841476 for ; Tue, 23 Jul 2024 07:52:21 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 266F33F73F for ; Tue, 23 Jul 2024 07:51:56 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 26/37] python3-pycryptodome(x): use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:26 +0100 Message-Id: <20240723145137.74198-26-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202393 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb | 2 +- meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb b/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb index d24fa58d43f..6c93c205ac8 100644 --- a/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb +++ b/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb @@ -1,5 +1,5 @@ require python-pycryptodome.inc -inherit setuptools3 +inherit python_setuptools_build_meta SRC_URI[sha256sum] = "09609209ed7de61c2b560cc5c8c4fbf892f8b15b1faf7e4cbffac97db1fffda7" diff --git a/meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb b/meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb index 2673ea83262..54578d28509 100644 --- a/meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb +++ b/meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb @@ -1,5 +1,5 @@ require python-pycryptodome.inc -inherit setuptools3 +inherit python_setuptools_build_meta SRC_URI[sha256sum] = "7a710b79baddd65b806402e14766c721aee8fb83381769c27920f26476276c1e" From patchwork Tue Jul 23 14:51:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46771 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 13389C52D6D for ; Tue, 23 Jul 2024 14:52:04 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45952.1721746317316749106 for ; Tue, 23 Jul 2024 07:51:57 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 79D011476 for ; Tue, 23 Jul 2024 07:52:22 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A98B33F73F for ; Tue, 23 Jul 2024 07:51:56 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 27/37] python3-pyelftools: use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:27 +0100 Message-Id: <20240723145137.74198-27-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202394 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pyelftools_0.31.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-pyelftools_0.31.bb b/meta/recipes-devtools/python/python3-pyelftools_0.31.bb index 551fed6876d..0774caafdba 100644 --- a/meta/recipes-devtools/python/python3-pyelftools_0.31.bb +++ b/meta/recipes-devtools/python/python3-pyelftools_0.31.bb @@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "c774416b10310156879443b81187d182d8d9ee499660380e645918b50b PYPI_PACKAGE = "pyelftools" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta BBCLASSEXTEND = "native" From patchwork Tue Jul 23 14:51:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46769 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 06F83C52D54 for ; Tue, 23 Jul 2024 14:52:04 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45953.1721746317884708179 for ; Tue, 23 Jul 2024 07:51:57 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 117EE1476 for ; Tue, 23 Jul 2024 07:52:23 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 416833F73F for ; Tue, 23 Jul 2024 07:51:57 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 28/37] python3-ruemel-yaml: use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:28 +0100 Message-Id: <20240723145137.74198-28-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202395 This package can be built using pep517 classes now. Also remove the redundant RUAMEL_NO_PIP_INSTALL_CHECK assignment, this is checked by setup.py which is no longer ran. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb b/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb index 197bf91d6cc..5df1f102d9d 100644 --- a/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb +++ b/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=30cbbccd94bf3a2b0285ec35671a1938" PYPI_PACKAGE = "ruamel.yaml" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta SRC_URI[sha256sum] = "8b27e6a217e786c6fbe5634d8f3f11bc63e0f80f6a5890f28863d9c45aac311b" @@ -16,8 +16,4 @@ RDEPENDS:${PN} += "\ python3-netclient \ " -do_install:prepend() { - export RUAMEL_NO_PIP_INSTALL_CHECK=1 -} - BBCLASSEXTEND = "native nativesdk" From patchwork Tue Jul 23 14:51:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46768 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 EE400C52D1F for ; Tue, 23 Jul 2024 14:52:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45858.1721746318459061204 for ; Tue, 23 Jul 2024 07:51:58 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 9CF2E1476 for ; Tue, 23 Jul 2024 07:52:23 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id CD0893F73F for ; Tue, 23 Jul 2024 07:51:57 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 29/37] python3-scons: use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:29 +0100 Message-Id: <20240723145137.74198-29-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202396 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-scons_4.7.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-scons_4.7.0.bb b/meta/recipes-devtools/python/python3-scons_4.7.0.bb index 36115185410..f41b3e92711 100644 --- a/meta/recipes-devtools/python/python3-scons_4.7.0.bb +++ b/meta/recipes-devtools/python/python3-scons_4.7.0.bb @@ -9,7 +9,7 @@ SRC_URI[sha256sum] = "d8b617f6610a73e46509de70dcf82f76861b79762ff602d546f4e80918 PYPI_PACKAGE = "SCons" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta RDEPENDS:${PN}:class-target = "\ python3-core \ From patchwork Tue Jul 23 14:51:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46767 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 E33D3C52D1D for ; Tue, 23 Jul 2024 14:52:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45956.1721746319118191312 for ; Tue, 23 Jul 2024 07:51:59 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 470BD1476 for ; Tue, 23 Jul 2024 07:52:24 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 65DDB3F73F for ; Tue, 23 Jul 2024 07:51:58 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 30/37] python3-websockets: use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:30 +0100 Message-Id: <20240723145137.74198-30-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202397 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-websockets_12.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-websockets_12.0.bb b/meta/recipes-devtools/python/python3-websockets_12.0.bb index a04c63f6af1..e7f5e295238 100644 --- a/meta/recipes-devtools/python/python3-websockets_12.0.bb +++ b/meta/recipes-devtools/python/python3-websockets_12.0.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aaugustin/websockets" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=51924a6af4495b8cfaee1b1da869b6f4" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta SRC_URI[sha256sum] = "81df9cbcbb6c260de1e007e58c011bfebe2dafc8435107b0537f393dd38c8b1b" From patchwork Tue Jul 23 14:51:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46765 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 DFDEEC52CDA for ; Tue, 23 Jul 2024 14:52:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45859.1721746319609950361 for ; Tue, 23 Jul 2024 07:51:59 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 C20621476 for ; Tue, 23 Jul 2024 07:52:24 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F23A93F73F for ; Tue, 23 Jul 2024 07:51:58 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 31/37] python3-setuptools-scm: remove python3-tomli dependency Date: Tue, 23 Jul 2024 15:51:31 +0100 Message-Id: <20240723145137.74198-31-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202398 We have Python 3.11+ so setuptools-scm can use tomllib. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb b/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb index d116327fc6a..d8b9f8f2625 100644 --- a/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb +++ b/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb @@ -14,7 +14,7 @@ inherit pypi python_setuptools_build_meta UPSTREAM_CHECK_REGEX = "scm-(?P.*)\.tar" -DEPENDS += "python3-tomli-native python3-packaging-native python3-typing-extensions-native" +DEPENDS += "python3-packaging-native python3-typing-extensions-native" RDEPENDS:${PN} = "\ python3-packaging \ From patchwork Tue Jul 23 14:51:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46762 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 CFAD1C52CD9 for ; Tue, 23 Jul 2024 14:52:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45860.1721746320185328777 for ; Tue, 23 Jul 2024 07:52:00 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 5AA041476 for ; Tue, 23 Jul 2024 07:52:25 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 89B903F73F for ; Tue, 23 Jul 2024 07:51:59 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 32/37] python3-spdx-tools: use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:32 +0100 Message-Id: <20240723145137.74198-32-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202399 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb b/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb index 53263ca032c..6573ae9eee4 100644 --- a/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb +++ b/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb @@ -8,7 +8,9 @@ SRC_URI[sha256sum] = "aea4ac9c2c375e7f439b1cef5ff32ef34914c083de0f61e08ed67cd3d9 BBCLASSEXTEND = "native nativesdk" -inherit setuptools3 pypi +inherit pypi python_setuptools_build_meta + +DEPENDS += "python3-setuptools-scm-native" # Dependency required for pyspdxtools : python3-click # Dependencies required for conversion to spdx3 : python3-semantic-version, python3-ply From patchwork Tue Jul 23 14:51:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46763 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 C2C2DC52CD8 for ; Tue, 23 Jul 2024 14:52:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45957.1721746320768951942 for ; Tue, 23 Jul 2024 07:52:00 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 E65861476 for ; Tue, 23 Jul 2024 07:52:25 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 222E73F73F for ; Tue, 23 Jul 2024 07:52:00 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 33/37] python3-subunit: use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:33 +0100 Message-Id: <20240723145137.74198-33-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202400 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-subunit_1.4.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-subunit_1.4.4.bb b/meta/recipes-devtools/python/python3-subunit_1.4.4.bb index 11be10bab60..269b0574272 100644 --- a/meta/recipes-devtools/python/python3-subunit_1.4.4.bb +++ b/meta/recipes-devtools/python/python3-subunit_1.4.4.bb @@ -8,7 +8,7 @@ PYPI_PACKAGE = "python-subunit" SRC_URI[sha256sum] = "1079363131aa1d3f45259237265bc2e61a77e35f20edfb6e3d1d2558a2cdea34" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta RDEPENDS:${PN} = " python3-testtools python3-iso8601" From patchwork Tue Jul 23 14:51:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46764 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 D2E66C52CDC for ; Tue, 23 Jul 2024 14:52:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45861.1721746321427377069 for ; Tue, 23 Jul 2024 07:52:01 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 86B9E1476 for ; Tue, 23 Jul 2024 07:52:26 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id ADF573F73F for ; Tue, 23 Jul 2024 07:52:00 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 34/37] python3-uritools: use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:34 +0100 Message-Id: <20240723145137.74198-34-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202401 This package can be built using pep517 classes now. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-uritools_4.0.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-uritools_4.0.2.bb b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb index 5ffedccb855..08ebd07705f 100644 --- a/meta/recipes-devtools/python/python3-uritools_4.0.2.bb +++ b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb @@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ec55353c80c662e4255f8889a0ca558" SRC_URI[sha256sum] = "04df2b787d0eb76200e8319382a03562fbfe4741fd66c15506b08d3b8211d573" -inherit setuptools3 pypi +inherit pypi python_setuptools_build_meta BBCLASSEXTEND = "native nativesdk" From patchwork Tue Jul 23 14:51:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46761 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 AC0C3C3DA7F for ; Tue, 23 Jul 2024 14:52:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45958.1721746321988133250 for ; Tue, 23 Jul 2024 07:52:02 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 1F4021476 for ; Tue, 23 Jul 2024 07:52:27 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4E8453F73F for ; Tue, 23 Jul 2024 07:52:01 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 35/37] python3-yamllint: use python_setuptools_build_meta build class Date: Tue, 23 Jul 2024 15:51:35 +0100 Message-Id: <20240723145137.74198-35-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202402 This package can be built using pep517 classes now. yamlint appears to have never used setuptools-scm, so remove the dependency. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-yamllint_1.35.1.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb b/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb index 53188b02624..116209f683c 100644 --- a/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb +++ b/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb @@ -3,13 +3,12 @@ HOMEPAGE = "https://github.com/adrienverge/yamllint" LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta PYPI_PACKAGE = "yamllint" SRC_URI[sha256sum] = "7a003809f88324fd2c877734f2d575ee7881dd9043360657cc8049c809eba6cd" -DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} += "python3-pathspec python3-pyyaml" BBCLASSEXTEND = "native nativesdk" From patchwork Tue Jul 23 14:51:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46759 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 9E0B4C49EA1 for ; Tue, 23 Jul 2024 14:52:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.45961.1721746322886830508 for ; Tue, 23 Jul 2024 07:52:03 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 D3F681476 for ; Tue, 23 Jul 2024 07:52:27 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DACE73F73F for ; Tue, 23 Jul 2024 07:52:01 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 36/37] python3-mako: add dependency on python3-misc for timeit Date: Tue, 23 Jul 2024 15:51:36 +0100 Message-Id: <20240723145137.74198-36-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202403 Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-mako_1.3.5.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-mako_1.3.5.bb b/meta/recipes-devtools/python/python3-mako_1.3.5.bb index d52f72f4584..d8a05efe5b2 100644 --- a/meta/recipes-devtools/python/python3-mako_1.3.5.bb +++ b/meta/recipes-devtools/python/python3-mako_1.3.5.bb @@ -16,6 +16,7 @@ SRC_URI[sha256sum] = "48dbc20568c1d276a2698b36d968fa76161bf127194907ea6fc594fa81 RDEPENDS:${PN} = "python3-html \ python3-markupsafe \ + python3-misc \ python3-netclient \ python3-pygments \ python3-threading \ From patchwork Tue Jul 23 14:51:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 46758 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 8D373C3DA49 for ; Tue, 23 Jul 2024 14:52:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45863.1721746323065076752 for ; Tue, 23 Jul 2024 07:52:03 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 3AEFC1480 for ; Tue, 23 Jul 2024 07:52:28 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 734FB3F7B4 for ; Tue, 23 Jul 2024 07:52:02 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 37/37] python3-uritools: enable ptest Date: Tue, 23 Jul 2024 15:51:37 +0100 Message-Id: <20240723145137.74198-37-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723145137.74198-1-ross.burton@arm.com> References: <20240723145137.74198-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, 23 Jul 2024 14:52:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202404 Install the test suite and run it in core-image-ptest-fast. Signed-off-by: Ross Burton --- meta/conf/distro/include/ptest-packagelists.inc | 1 + .../python/python3-uritools/run-ptest | 3 +++ .../python/python3-uritools_4.0.2.bb | 13 ++++++++++++- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/python/python3-uritools/run-ptest diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index 16d7b9e6b2c..5e90096b1e8 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -71,6 +71,7 @@ PTESTS_FAST = "\ python3-pyyaml \ python3-rpds-py \ python3-trove-classifiers \ + python3-uritools \ python3-wcwidth \ python3-webcolors \ qemu \ diff --git a/meta/recipes-devtools/python/python3-uritools/run-ptest b/meta/recipes-devtools/python/python3-uritools/run-ptest new file mode 100644 index 00000000000..8d2017d39ce --- /dev/null +++ b/meta/recipes-devtools/python/python3-uritools/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake diff --git a/meta/recipes-devtools/python/python3-uritools_4.0.2.bb b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb index 08ebd07705f..693d1974be2 100644 --- a/meta/recipes-devtools/python/python3-uritools_4.0.2.bb +++ b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb @@ -6,6 +6,17 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ec55353c80c662e4255f8889a0ca558" SRC_URI[sha256sum] = "04df2b787d0eb76200e8319382a03562fbfe4741fd66c15506b08d3b8211d573" -inherit pypi python_setuptools_build_meta +SRC_URI += "file://run-ptest" + +inherit pypi python_setuptools_build_meta ptest + +do_install_ptest() { + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/ +} + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-unittest-automake-output \ +" BBCLASSEXTEND = "native nativesdk"