summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pytest_8.0.2.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-02-28 15:32:43 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-01 09:28:52 +0000
commit9a5c2f900ebef32e198e83ee9131ea8ec5b26691 (patch)
tree49bc598c5b1f5cef2e327ab17da25d6e7dd7d9da /meta/recipes-devtools/python/python3-pytest_8.0.2.bb
parent00c9cfd712c001a02c45e4704210b3ecf6c5d132 (diff)
downloadpoky-9a5c2f900ebef32e198e83ee9131ea8ec5b26691.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pytest_8.0.2.bb')
-rw-r--r--meta/recipes-devtools/python/python3-pytest_8.0.2.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pytest_8.0.2.bb b/meta/recipes-devtools/python/python3-pytest_8.0.2.bb
new file mode 100644
index 0000000000..57e979e909
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pytest_8.0.2.bb
@@ -0,0 +1,41 @@
1SUMMARY = "Simple powerful testing with python"
2HOMEPAGE = "https://pypi.org/project/pytest/"
3DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries."
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c"
7
8SRC_URI[sha256sum] = "d4051d623a2e0b7e51960ba963193b09ce6daeb9759a451844a21e4ddedfc1bd"
9
10DEPENDS += "python3-setuptools-scm-native"
11
12inherit update-alternatives pypi python_setuptools_build_meta
13
14RDEPENDS:${PN} += " \
15 python3-atomicwrites \
16 python3-attrs \
17 python3-debugger \
18 python3-doctest \
19 python3-importlib-metadata \
20 python3-iniconfig \
21 python3-json \
22 python3-more-itertools \
23 python3-packaging \
24 python3-pathlib2 \
25 python3-pluggy \
26 python3-py \
27 python3-setuptools \
28 python3-six \
29 python3-tomllib \
30 python3-wcwidth \
31"
32
33ALTERNATIVE:${PN} += "py.test pytest"
34
35NATIVE_LINK_NAME[pytest] = "${bindir}/pytest"
36ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest"
37
38ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test"
39ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test"
40
41BBCLASSEXTEND = "native nativesdk"