Skip to content

Commit

Permalink
python3-pytest: depend on python3-tomli instead of python3-toml
Browse files Browse the repository at this point in the history
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] pytest-dev/pytest#8789

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
  • Loading branch information
arnout authored and chenxy1988 committed Mar 28, 2023
1 parent 914b41c commit 78d0849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/recipes-devtools/python/python3-pytest_7.1.1.bb
Expand Up @@ -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 \
"

Expand Down

0 comments on commit 78d0849

Please sign in to comment.