summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pytest_7.2.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pytest: upgrade 7.2.1 -> 7.2.2Wang Mingyu2023-03-161-40/+0
| | | | | | | | | | | | | | | | | | | | | Bug Fixes ========= #10533: Fixed pytest.approx() handling of dictionaries containing one or more values of 0.0. #10592: Fixed crash if --cache-show and --help are passed at the same time. #10597: Fixed bug where a fixture method named teardown would be called as part of nose teardown stage. #10626: Fixed crash if --fixtures and --help are passed at the same time. #10660: Fixed pytest.raises() to return a ‘ContextManager’ so that type-checkers could narrow pytest.raises(...) if ... else nullcontext() down to ‘ContextManager’ rather than ‘object’. Improved Documentation ====================== #10690: Added CI and BUILD_NUMBER environment variables to the documentation. #10721: Fixed entry-points declaration in the documentation example using Hatch. #10753: Changed wording of the module level skip to be very explicit about not collecting tests and not executing the rest of the module. (From OE-Core rev: e99106eec6e4b0017b621844092c12791b02ca11) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: set RDEPENDS globally, not just targetRoss Burton2023-02-241-1/+1
| | | | | | | | | | | Now that we have the dependencies we can set the RDEPENDS for all builds, not just target. (From OE-Core rev: e7980308d78e7fb8ea1568b80363c809c91c2363) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: Remove dependency on python3-tomlArnout Vandecappelle2023-02-041-1/+0
| | | | | | | | | | | | | | Since version 7.2.0 [1], pytest uses the "batteries included" tomllib module for parsing pyproject.toml configuration files [2]. It is therefore no longer necessary to have python3-toml in RDEPENDS. [1] https://docs.pytest.org/en/latest/changelog.html#pytest-7-2-0-2022-10-23 [2] https://github.com/pytest-dev/pytest/pull/9741 (From OE-Core rev: c84214ac5a55c5256843365b0108d1392282fced) Signed-off-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: upgrade 7.2.0 -> 7.2.1Tim Orling2023-02-041-0/+41
https://docs.pytest.org/en/stable/changelog.html#pytest-7-2-1-2023-01-13 pytest 7.2.1 (2023-01-13) Bug Fixes #10452: Fix ‘importlib.abc.TraversableResources’ deprecation warning in Python 3.12. #10457: If a test is skipped from inside a fixture, the test summary now shows the test location instead of the fixture location. #10506: Fix bug where sometimes pytest would use the file system root directory as rootdir on Windows. #10607: Fix a race condition when creating junitxml reports, which could occur when multiple instances of pytest execute in parallel. #10641: Fix a race condition when creating or updating the stepwise plugin’s cache, which could occur when multiple xdist worker nodes try to simultaneously update the stepwise plugin’s cache. (From OE-Core rev: f5e3d3104b441d7e2586d5450390a829ef91a5a4) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>