]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3-pytest: depend on python3-tomli instead of python3-toml
authorArnout Vandecappelle <arnout@mind.be>
Thu, 2 Feb 2023 12:49:53 +0000 (13:49 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 10 Feb 2023 21:07:39 +0000 (11:07 -1000)
Since version 7.0.0 [1], pytest switched from the toml package to the
tomli package for parsing pyproject.toml configuration files [2].

This change is not immediately noticable during tests, because the
toml/tomli module is only important if a pyproject.toml is actually
present in a project.

[1] https://docs.pytest.org/en/latest/changelog.html#pytest-7-0-0rc1-2021-12-06
[2] https://github.com/pytest-dev/pytest/issues/8789

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/python/python3-pytest_7.1.3.bb

index 373f7f35fa65ecae466cf8bdd3fded48d6f76935..9710242655d81c63273108695d51afb310f9ac44 100644 (file)
@@ -26,7 +26,7 @@ RDEPENDS:${PN}:class-target += " \
     ${PYTHON_PN}-py \
     ${PYTHON_PN}-setuptools \
     ${PYTHON_PN}-six \
-    ${PYTHON_PN}-toml \
+    ${PYTHON_PN}-tomli \
     ${PYTHON_PN}-wcwidth \
 "