python3-pytest: Remove dependency on python3-toml
PATCH 1/1 python3-pytest: Remove dependency on python3-toml
Since version 7.2.0 [1], pytest uses the "batteries included" tomllib module for parsing pyproject.toml configuration files [2]. It is therefore no longer necessary to have python3-toml in RDEPENDS.
[1] https://docs.pytest.org/en/latest/changelog.html#pytest-7-2-0-2022-10-23
[2] https://github.com/pytest-dev/pytest/pull/9741
Signed-off-by Arnout Vandecappelle <[email protected]>
---
This patch only applies to kirkstone and langdale branches. On master, Python 3.11 is used which no longer needs tomli at all. On dunfell, pytest is still on 5.3.5.
--- meta/recipes-devtools/python/python3-pytest_7.2.0.bb | 1 - 1 file changed, 1 deletion(-)
meta/recipes-devtools/python/python3-pytest_7.2.0.bb +0 -1
@@ -26,7 +26,6 @@ RDEPENDS:${PN}:class-target += " \ ${PYTHON_PN}-py \ ${PYTHON_PN}-setuptools \ ${PYTHON_PN}-six \ - ${PYTHON_PN}-toml \ ${PYTHON_PN}-wcwidth \ "
Signature · 1 line
2.39.1