mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 18:02:12 +01:00
python3-pytest: upgrade 8.0.0 -> 8.0.2
Changelog: ============ -Fix collection on Windows where initial paths contain the short version of a path (for example c:\PROGRA~1\tests). -Fix an IndexError crash raising from getstatementrange_ast. -Reverted a fix to --maxfail handling in pytest 8.0.0 because it caused a regression in pytest-xdist whereby session fixture teardowns may get executed multiple times when the max-fails is reached. -Correctly handle errors from getpass.getuser() in Python 3.13. -Fix an edge case where ExceptionInfo._stringify_exception could crash pytest.raises(). -Fix regression with pytest.warns() using custom warning subclasses which have more than one parameter in their __init__. -Fix a regression in pytest 8.0.0 whereby calling pytest.skip() and similar control-flow exceptions within a pytest.warns() block would get suppressed instead of propagating. -Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module get ignored by the doctests in the module. -Fix a regression in pytest 8.0.0 whereby items would be collected in reverse order in some circumstances. (From OE-Core rev: 0a6824bc920bebfa019641f8134cb287c8564bef) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
00c9cfd712
commit
9a5c2f900e
41
meta/recipes-devtools/python/python3-pytest_8.0.2.bb
Normal file
41
meta/recipes-devtools/python/python3-pytest_8.0.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] = "d4051d623a2e0b7e51960ba963193b09ce6daeb9759a451844a21e4ddedfc1bd"
|
||||
|
||||
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