Merge pull request #10659 from pytest-dev/release-7.2.1
Prepare release 7.2.1 (cherry picked from commit 94c05bc2a489a3d6eb5cb47991741f8a61bb4099)
This commit is contained in:
parent
7421f3bb94
commit
b2ac31cc9f
|
@ -1 +0,0 @@
|
||||||
Fix 'importlib.abc.TraversableResources' deprecation warning in Python 3.12.
|
|
|
@ -1 +0,0 @@
|
||||||
If a test is skipped from inside a fixture, the test summary now shows the test location instead of the fixture location.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix bug where sometimes pytest would use the file system root directory as :ref:`rootdir <rootdir>` on Windows.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix a race condition when creating junitxml reports, which could occur when multiple instances of pytest execute in parallel.
|
|
|
@ -1 +0,0 @@
|
||||||
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.
|
|
|
@ -6,6 +6,7 @@ Release announcements
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
|
|
||||||
|
release-7.2.1
|
||||||
release-7.2.0
|
release-7.2.0
|
||||||
release-7.1.3
|
release-7.1.3
|
||||||
release-7.1.2
|
release-7.1.2
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
pytest-7.2.1
|
||||||
|
=======================================
|
||||||
|
|
||||||
|
pytest 7.2.1 has just been released to PyPI.
|
||||||
|
|
||||||
|
This is a bug-fix release, being a drop-in replacement. To upgrade::
|
||||||
|
|
||||||
|
pip install --upgrade pytest
|
||||||
|
|
||||||
|
The full changelog is available at https://docs.pytest.org/en/stable/changelog.html.
|
||||||
|
|
||||||
|
Thanks to all of the contributors to this release:
|
||||||
|
|
||||||
|
* Anthony Sottile
|
||||||
|
* Bruno Oliveira
|
||||||
|
* Daniel Valenzuela
|
||||||
|
* Kadino
|
||||||
|
* Prerak Patel
|
||||||
|
* Ronny Pfannschmidt
|
||||||
|
* Santiago Castro
|
||||||
|
* s-padmanaban
|
||||||
|
|
||||||
|
|
||||||
|
Happy testing,
|
||||||
|
The pytest Development Team
|
|
@ -119,7 +119,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
|
||||||
|
|
||||||
For more details: :ref:`doctest_namespace`.
|
For more details: :ref:`doctest_namespace`.
|
||||||
|
|
||||||
pytestconfig [session scope] -- .../_pytest/fixtures.py:1351
|
pytestconfig [session scope] -- .../_pytest/fixtures.py:1356
|
||||||
Session-scoped fixture that returns the session's :class:`pytest.Config`
|
Session-scoped fixture that returns the session's :class:`pytest.Config`
|
||||||
object.
|
object.
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,27 @@ with advance notice in the **Deprecations** section of releases.
|
||||||
|
|
||||||
.. towncrier release notes start
|
.. towncrier release notes start
|
||||||
|
|
||||||
|
pytest 7.2.1 (2023-01-13)
|
||||||
|
=========================
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
---------
|
||||||
|
|
||||||
|
- `#10452 <https://github.com/pytest-dev/pytest/issues/10452>`_: Fix 'importlib.abc.TraversableResources' deprecation warning in Python 3.12.
|
||||||
|
|
||||||
|
|
||||||
|
- `#10457 <https://github.com/pytest-dev/pytest/issues/10457>`_: If a test is skipped from inside a fixture, the test summary now shows the test location instead of the fixture location.
|
||||||
|
|
||||||
|
|
||||||
|
- `#10506 <https://github.com/pytest-dev/pytest/issues/10506>`_: Fix bug where sometimes pytest would use the file system root directory as :ref:`rootdir <rootdir>` on Windows.
|
||||||
|
|
||||||
|
|
||||||
|
- `#10607 <https://github.com/pytest-dev/pytest/issues/10607>`_: Fix a race condition when creating junitxml reports, which could occur when multiple instances of pytest execute in parallel.
|
||||||
|
|
||||||
|
|
||||||
|
- `#10641 <https://github.com/pytest-dev/pytest/issues/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.
|
||||||
|
|
||||||
|
|
||||||
pytest 7.2.0 (2022-10-23)
|
pytest 7.2.0 (2022-10-23)
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
|
|
@ -504,9 +504,9 @@ Running it results in some skips if we don't have all the python interpreters in
|
||||||
. $ pytest -rs -q multipython.py
|
. $ pytest -rs -q multipython.py
|
||||||
sssssssssssssssssssssssssss [100%]
|
sssssssssssssssssssssssssss [100%]
|
||||||
========================= short test summary info ==========================
|
========================= short test summary info ==========================
|
||||||
SKIPPED [9] multipython.py:29: 'python3.5' not found
|
SKIPPED [9] multipython.py:69: 'python3.5' not found
|
||||||
SKIPPED [9] multipython.py:29: 'python3.6' not found
|
SKIPPED [9] multipython.py:69: 'python3.6' not found
|
||||||
SKIPPED [9] multipython.py:29: 'python3.7' not found
|
SKIPPED [9] multipython.py:69: 'python3.7' not found
|
||||||
27 skipped in 0.12s
|
27 skipped in 0.12s
|
||||||
|
|
||||||
Indirect parametrization of optional implementations/imports
|
Indirect parametrization of optional implementations/imports
|
||||||
|
@ -574,7 +574,7 @@ If you run this with reporting for skips enabled:
|
||||||
test_module.py .s [100%]
|
test_module.py .s [100%]
|
||||||
|
|
||||||
========================= short test summary info ==========================
|
========================= short test summary info ==========================
|
||||||
SKIPPED [1] conftest.py:12: could not import 'opt2': No module named 'opt2'
|
SKIPPED [1] test_module.py:3: could not import 'opt2': No module named 'opt2'
|
||||||
======================= 1 passed, 1 skipped in 0.12s =======================
|
======================= 1 passed, 1 skipped in 0.12s =======================
|
||||||
|
|
||||||
You'll see that we don't have an ``opt2`` module and thus the second test run
|
You'll see that we don't have an ``opt2`` module and thus the second test run
|
||||||
|
|
|
@ -22,7 +22,7 @@ Install ``pytest``
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ pytest --version
|
$ pytest --version
|
||||||
pytest 7.2.0
|
pytest 7.2.1
|
||||||
|
|
||||||
.. _`simpletest`:
|
.. _`simpletest`:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue