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"