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.

(From OE-Core rev: 0aee9aa7b70667fefe898f6a9019a82b004da391)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2024-07-24 11:58:30 +01:00
committed by Richard Purdie
parent 14b545a9e7
commit 50e95b7138

View File

@@ -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"