| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
https://docs.pytest.org/en/stable/changelog.html#pytest-7-2-0-2022-10-23
Excerpt from upstream release notes:
Deprecations
* #10012: Update pytest.PytestUnhandledCoroutineWarning to a
deprecation; it will raise an error in pytest 8.
* #10396: pytest no longer depends on the py library. pytest provides
a vendored copy of py.error and py.path modules but will use
the py library if it is installed. If you need other py.* modules,
continue to install the deprecated py library separately, otherwise it
can usually be removed as a dependency.
* #4562: Deprecate configuring hook specs/impls using
attributes/marks.
Instead use pytest.hookimpl() and pytest.hookspec(). For more
details, see the docs.
* #9886: The functionality for running tests written for nose has been
officially deprecated.
This includes:
Plain setup and teardown functions and methods: this might catch
users by surprise, as setup() and teardown() are not pytest idioms, but
part of the nose support.
Setup/teardown using the @with_setup decorator.
For more details, consult the deprecation docs.
(From OE-Core rev: 8ae3b896b0e1a77bcbd5b98b4b983e4f34746a94)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|