mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 18:23:02 +01:00
python3-pytest: upgrade 8.3.5 -> 8.4.1
Changelog for 8.4.0: https://docs.pytest.org/en/stable/changelog.html#pytest-8-4-0-2025-06-02 Add colorama (moved to oe-core from meta-python) and pygments to RDEPENDS. Note that 8.4.0 accidentally removed pytest.PytestReturnNotNoneWarning, which seems to have broken some tests (e.g. python3-pytz). See: https://github.com/pytest-dev/pytest/releases/tag/8.4.1 (From OE-Core rev: 908c5535506592af654e7efac5b4a28a05da23f6) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e7c2d33df4
commit
0a6432ac3f
35
meta/recipes-devtools/python/python3-pytest_8.4.1.bb
Normal file
35
meta/recipes-devtools/python/python3-pytest_8.4.1.bb
Normal file
@@ -0,0 +1,35 @@
|
||||
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] = "7c67fd69174877359ed9371ec3af8a3d2b04741818c51e5e99cc1742251fa93c"
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
inherit update-alternatives pypi python_setuptools_build_meta
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-colorama \
|
||||
python3-debugger \
|
||||
python3-doctest \
|
||||
python3-iniconfig \
|
||||
python3-json \
|
||||
python3-packaging \
|
||||
python3-pluggy \
|
||||
python3-pygments \
|
||||
python3-tomllib \
|
||||
python3-xml \
|
||||
"
|
||||
|
||||
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