From: Ross Burton Date: Wed, 24 Jul 2024 10:58:30 +0000 (+0100) Subject: python3-pytest: clean up RDEPENDS X-Git-Tag: yocto-5.2~2275 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0aee9aa;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git python3-pytest: clean up RDEPENDS 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 - wcwidth removed in 6.0.0 This removals now means that python3-xml has to be added explicitly. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- 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..f0d16f473f2 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,14 @@ 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"