Skip to content

Commit

Permalink
Merge pull request pytest-dev#10659 from pytest-dev/release-7.2.1
Browse files Browse the repository at this point in the history
Prepare release 7.2.1
  • Loading branch information
nicoddemus committed Jan 14, 2023
2 parents cb07711 + 1ae778f commit 94c05bc
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 11 deletions.
1 change: 0 additions & 1 deletion changelog/10452.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/10457.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/10506.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/10607.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/10641.bugfix.rst

This file was deleted.

1 change: 1 addition & 0 deletions doc/en/announce/index.rst
Expand Up @@ -6,6 +6,7 @@ Release announcements
:maxdepth: 2


release-7.2.1
release-7.2.0
release-7.1.3
release-7.1.2
Expand Down
25 changes: 25 additions & 0 deletions doc/en/announce/release-7.2.1.rst
@@ -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
2 changes: 1 addition & 1 deletion doc/en/builtin.rst
Expand Up @@ -119,7 +119,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
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`
object.
Expand Down
21 changes: 21 additions & 0 deletions doc/en/changelog.rst
Expand Up @@ -28,6 +28,27 @@ with advance notice in the **Deprecations** section of releases.

.. 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)
=========================

Expand Down
8 changes: 4 additions & 4 deletions doc/en/example/parametrize.rst
Expand Up @@ -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
sssssssssssssssssssssssssss [100%]
========================= short test summary info ==========================
SKIPPED [9] multipython.py:29: 'python3.5' not found
SKIPPED [9] multipython.py:29: 'python3.6' not found
SKIPPED [9] multipython.py:29: 'python3.7' not found
SKIPPED [9] multipython.py:69: 'python3.5' not found
SKIPPED [9] multipython.py:69: 'python3.6' not found
SKIPPED [9] multipython.py:69: 'python3.7' not found
27 skipped in 0.12s
Indirect parametrization of optional implementations/imports
Expand Down Expand Up @@ -574,7 +574,7 @@ If you run this with reporting for skips enabled:
test_module.py .s [100%]
========================= 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 =======================
You'll see that we don't have an ``opt2`` module and thus the second test run
Expand Down
2 changes: 1 addition & 1 deletion doc/en/getting-started.rst
Expand Up @@ -22,7 +22,7 @@ Install ``pytest``
.. code-block:: bash
$ pytest --version
pytest 7.2.0
pytest 7.2.1
.. _`simpletest`:

Expand Down

0 comments on commit 94c05bc

Please sign in to comment.