diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2024-09-24 10:59:59 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-30 17:00:50 +0100 |
| commit | e4b30c0de5fced43370dd78d19456a1a813977ce (patch) | |
| tree | 651860123c43251afca51b951e83566ab2a0a04d /meta/recipes-devtools/python/python3-pytest_8.3.3.bb | |
| parent | 66c067260a9aead41e831717b63f24d8eb21d309 (diff) | |
| download | poky-e4b30c0de5fced43370dd78d19456a1a813977ce.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pytest_8.3.3.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-pytest_8.3.3.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pytest_8.3.3.bb b/meta/recipes-devtools/python/python3-pytest_8.3.3.bb new file mode 100644 index 0000000000..dbd984208d --- /dev/null +++ b/meta/recipes-devtools/python/python3-pytest_8.3.3.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | SUMMARY = "Simple powerful testing with python" | ||
| 2 | HOMEPAGE = "https://pypi.org/project/pytest/" | ||
| 3 | DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries." | ||
| 4 | |||
| 5 | LICENSE = "MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c" | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "70b98107bd648308a7952b06e6ca9a50bc660be218d53c257cc1fc94fda10181" | ||
| 9 | |||
| 10 | DEPENDS += "python3-setuptools-scm-native" | ||
| 11 | |||
| 12 | inherit update-alternatives pypi python_setuptools_build_meta | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += " \ | ||
| 15 | python3-xml \ | ||
| 16 | python3-debugger \ | ||
| 17 | python3-doctest \ | ||
| 18 | python3-iniconfig \ | ||
| 19 | python3-json \ | ||
| 20 | python3-packaging \ | ||
| 21 | python3-pluggy \ | ||
| 22 | python3-tomllib \ | ||
| 23 | " | ||
| 24 | |||
| 25 | ALTERNATIVE:${PN} += "py.test pytest" | ||
| 26 | |||
| 27 | NATIVE_LINK_NAME[pytest] = "${bindir}/pytest" | ||
| 28 | ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest" | ||
| 29 | |||
| 30 | ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test" | ||
| 31 | ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test" | ||
| 32 | |||
| 33 | BBCLASSEXTEND = "native nativesdk" | ||
