mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 10:13:03 +01:00
python3-pytest: upgrade 8.2.1 -> 8.2.2
Changelog (https://docs.pytest.org/en/stable/changelog.html): Bug Fixes - #12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters. - #12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown. - #12381: Fix possible “Directory not empty” crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0. Improved Documentation - #12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme. - #12356: Added a subsection to the documentation for debugging flaky tests to mention lack of thread safety in pytest as a possible source of flakyness. - #12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results. (From OE-Core rev: e875ac5114eaf6582dfba93802e2e0144c08aeaa) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d547fe7b7b
commit
5a5e22f078
41
meta/recipes-devtools/python/python3-pytest_8.2.2.bb
Normal file
41
meta/recipes-devtools/python/python3-pytest_8.2.2.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] = "de4bb8104e201939ccdc688b27a89a7be2079b22e2bd2b07f806b6ba71117977"
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
inherit update-alternatives pypi python_setuptools_build_meta
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-atomicwrites \
|
||||
python3-attrs \
|
||||
python3-debugger \
|
||||
python3-doctest \
|
||||
python3-importlib-metadata \
|
||||
python3-iniconfig \
|
||||
python3-json \
|
||||
python3-more-itertools \
|
||||
python3-packaging \
|
||||
python3-pathlib2 \
|
||||
python3-pluggy \
|
||||
python3-py \
|
||||
python3-setuptools \
|
||||
python3-six \
|
||||
python3-tomllib \
|
||||
python3-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