From 9a5c2f900ebef32e198e83ee9131ea8ec5b26691 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 28 Feb 2024 15:32:43 +0800 Subject: 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 Signed-off-by: Richard Purdie --- .../python/python3-pytest_8.0.0.bb | 41 ---------------------- .../python/python3-pytest_8.0.2.bb | 41 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pytest_8.0.0.bb create mode 100644 meta/recipes-devtools/python/python3-pytest_8.0.2.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-pytest_8.0.0.bb b/meta/recipes-devtools/python/python3-pytest_8.0.0.bb deleted file mode 100644 index f43796710a..0000000000 --- a/meta/recipes-devtools/python/python3-pytest_8.0.0.bb +++ /dev/null @@ -1,41 +0,0 @@ -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] = "249b1b0864530ba251b7438274c4d251c58d868edaaec8762893ad4a0d71c36c" - -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" 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 @@ +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" -- cgit v1.2.3-54-g00ecf