Files
poky/meta/recipes-devtools/python/python3-pytest_8.3.3.bb
Trevor Gamblin e4b30c0de5 python3-pytest: upgrade 8.3.2 -> 8.3.3
Changelog (https://docs.pytest.org/en/stable/changelog.html):

Bug fixes
    #12446: Avoid calling @property (and other instance descriptors) during fixture discovery – by @asottile
    #12659: Fixed the issue of not displaying assertion failure differences when using the parameter --import-mode=importlib in pytest>=8.1.
    #12667: Fixed a regression where type change in ExceptionInfo.errisinstance caused mypy to fail.
    #12744: Fixed typing compatibility with Python 3.9 or less – replaced typing.Self with typing_extensions.Self – by @Avasam
    #12745: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.
    #6682: Fixed bug where the verbosity levels where not being respected when printing the “msg” part of failed assertion (as in assert condition, msg).
    #9422: Fix bug where disabling the terminal plugin via -p no:terminal would cause crashes related to missing the verbose option.
    – by @GTowers1

Improved documentation
    #12663: Clarify that the pytest_deselected hook should be called from pytest_collection_modifyitems hook implementations when items are deselected.
    #12678: Remove erroneous quotes from tmp_path_retention_policy example in docs.

Miscellaneous internal changes
    #12769: Fix typos discovered by codespell and add codespell to pre-commit hooks.

(From OE-Core rev: 51fb98c6da61ad4faf5b00316e7075f3bbee9bc7)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:50 +01:00

34 lines
1006 B
BlitzBasic

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] = "70b98107bd648308a7952b06e6ca9a50bc660be218d53c257cc1fc94fda10181"
DEPENDS += "python3-setuptools-scm-native"
inherit update-alternatives pypi python_setuptools_build_meta
RDEPENDS:${PN} += " \
python3-xml \
python3-debugger \
python3-doctest \
python3-iniconfig \
python3-json \
python3-packaging \
python3-pluggy \
python3-tomllib \
"
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"