From 5a5e22f078bb6017a7ce007327b8e9eb672f308c Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Mon, 10 Jun 2024 13:41:26 -0400 Subject: python3-pytest: upgrade 8.2.1 -> 8.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Richard Purdie --- .../python/python3-pytest_8.2.1.bb | 41 ---------------------- .../python/python3-pytest_8.2.2.bb | 41 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pytest_8.2.1.bb create mode 100644 meta/recipes-devtools/python/python3-pytest_8.2.2.bb diff --git a/meta/recipes-devtools/python/python3-pytest_8.2.1.bb b/meta/recipes-devtools/python/python3-pytest_8.2.1.bb deleted file mode 100644 index 28dbe786f8..0000000000 --- a/meta/recipes-devtools/python/python3-pytest_8.2.1.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] = "5046e5b46d8e4cac199c373041f26be56fdb81eb4e67dc11d4e10811fc3408fd" - -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.2.2.bb b/meta/recipes-devtools/python/python3-pytest_8.2.2.bb new file mode 100644 index 0000000000..531f40df81 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pytest_8.2.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] = "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" -- cgit v1.2.3-54-g00ecf