mirror of
https://git.yoctoproject.org/poky
synced 2026-03-26 04:02:21 +01:00
python3-pytest: upgrade 7.2.0 -> 7.2.1
https://docs.pytest.org/en/stable/changelog.html#pytest-7-2-1-2023-01-13 pytest 7.2.1 (2023-01-13) Bug Fixes #10452: Fix ‘importlib.abc.TraversableResources’ deprecation warning in Python 3.12. #10457: If a test is skipped from inside a fixture, the test summary now shows the test location instead of the fixture location. #10506: Fix bug where sometimes pytest would use the file system root directory as rootdir on Windows. #10607: Fix a race condition when creating junitxml reports, which could occur when multiple instances of pytest execute in parallel. #10641: Fix a race condition when creating or updating the stepwise plugin’s cache, which could occur when multiple xdist worker nodes try to simultaneously update the stepwise plugin’s cache. (From OE-Core rev: f5e3d3104b441d7e2586d5450390a829ef91a5a4) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d663b2b57b
commit
94ac339b91
41
meta/recipes-devtools/python/python3-pytest_7.2.1.bb
Normal file
41
meta/recipes-devtools/python/python3-pytest_7.2.1.bb
Normal file
@@ -0,0 +1,41 @@
|
||||
SUMMARY = "Simple powerful testing with python"
|
||||
HOMEPAGE = "https://pypi.org/project/pytest/"
|
||||
DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries."
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c"
|
||||
|
||||
SRC_URI[sha256sum] = "d45e0952f3727241918b8fd0f376f5ff6b301cc0777c6f9a556935c92d8a7d42"
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
inherit update-alternatives pypi python_setuptools_build_meta
|
||||
|
||||
RDEPENDS:${PN}:class-target += " \
|
||||
${PYTHON_PN}-atomicwrites \
|
||||
${PYTHON_PN}-attrs \
|
||||
${PYTHON_PN}-debugger \
|
||||
${PYTHON_PN}-doctest \
|
||||
${PYTHON_PN}-importlib-metadata \
|
||||
${PYTHON_PN}-iniconfig \
|
||||
${PYTHON_PN}-json \
|
||||
${PYTHON_PN}-more-itertools \
|
||||
${PYTHON_PN}-packaging \
|
||||
${PYTHON_PN}-pathlib2 \
|
||||
${PYTHON_PN}-pluggy \
|
||||
${PYTHON_PN}-py \
|
||||
${PYTHON_PN}-setuptools \
|
||||
${PYTHON_PN}-six \
|
||||
${PYTHON_PN}-toml \
|
||||
${PYTHON_PN}-wcwidth \
|
||||
"
|
||||
|
||||
ALTERNATIVE:${PN} += "py.test pytest"
|
||||
|
||||
NATIVE_LINK_NAME[pytest] = "${bindir}/pytest"
|
||||
ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest"
|
||||
|
||||
ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test"
|
||||
ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user