summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pytest_8.0.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pytest: upgrade 8.0.0 -> 8.0.2Wang Mingyu2024-03-011-41/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python: Drop ${PYTHON_PN}Richard Purdie2024-02-201-16/+16
| | | | | | | | | | | python 2 is gone and we don't need the abstraction now, drop the remaining usage of this variable. The definition in python3-dir.bbclass is left for now for other layers. (From OE-Core rev: b566b1e32c7993d1ab7795562f648e52ce186a70) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: upgrade 7.4.4 -> 8.0.0Wang Mingyu2024-02-171-0/+41
Changelog: ============= #11842: Properly escape the reason of a skip mark when writing JUnit XML files. #11861: Avoid microsecond exceeds 1_000_000 when using log-date-format with %f specifier, which might cause the test suite to crash. (From OE-Core rev: a2dab7d231a235b668f639c0060362cb83ea68ab) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>