Skip to content

Commit 1ae778f

Browse files
committedJan 13, 2023·
Prepare release version 7.2.1
1 parent cb07711 commit 1ae778f

11 files changed

+53
-11
lines changed
 

‎changelog/10452.bugfix.rst

-1
This file was deleted.

‎changelog/10457.bugfix.rst

-1
This file was deleted.

‎changelog/10506.bugfix.rst

-1
This file was deleted.

‎changelog/10607.bugfix.rst

-1
This file was deleted.

‎changelog/10641.bugfix.rst

-1
This file was deleted.

‎doc/en/announce/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release announcements
66
:maxdepth: 2
77

88

9+
release-7.2.1
910
release-7.2.0
1011
release-7.1.3
1112
release-7.1.2

‎doc/en/announce/release-7.2.1.rst

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
pytest-7.2.1
2+
=======================================
3+
4+
pytest 7.2.1 has just been released to PyPI.
5+
6+
This is a bug-fix release, being a drop-in replacement. To upgrade::
7+
8+
pip install --upgrade pytest
9+
10+
The full changelog is available at https://docs.pytest.org/en/stable/changelog.html.
11+
12+
Thanks to all of the contributors to this release:
13+
14+
* Anthony Sottile
15+
* Bruno Oliveira
16+
* Daniel Valenzuela
17+
* Kadino
18+
* Prerak Patel
19+
* Ronny Pfannschmidt
20+
* Santiago Castro
21+
* s-padmanaban
22+
23+
24+
Happy testing,
25+
The pytest Development Team

‎doc/en/builtin.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
119119
120120
For more details: :ref:`doctest_namespace`.
121121
122-
pytestconfig [session scope] -- .../_pytest/fixtures.py:1351
122+
pytestconfig [session scope] -- .../_pytest/fixtures.py:1356
123123
Session-scoped fixture that returns the session's :class:`pytest.Config`
124124
object.
125125

‎doc/en/changelog.rst

+21
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,27 @@ with advance notice in the **Deprecations** section of releases.
2828

2929
.. towncrier release notes start
3030
31+
pytest 7.2.1 (2023-01-13)
32+
=========================
33+
34+
Bug Fixes
35+
---------
36+
37+
- `#10452 <https://github.com/pytest-dev/pytest/issues/10452>`_: Fix 'importlib.abc.TraversableResources' deprecation warning in Python 3.12.
38+
39+
40+
- `#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.
41+
42+
43+
- `#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.
44+
45+
46+
- `#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.
47+
48+
49+
- `#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.
50+
51+
3152
pytest 7.2.0 (2022-10-23)
3253
=========================
3354

‎doc/en/example/parametrize.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,9 @@ Running it results in some skips if we don't have all the python interpreters in
504504
. $ pytest -rs -q multipython.py
505505
sssssssssssssssssssssssssss [100%]
506506
========================= short test summary info ==========================
507-
SKIPPED [9] multipython.py:29: 'python3.5' not found
508-
SKIPPED [9] multipython.py:29: 'python3.6' not found
509-
SKIPPED [9] multipython.py:29: 'python3.7' not found
507+
SKIPPED [9] multipython.py:69: 'python3.5' not found
508+
SKIPPED [9] multipython.py:69: 'python3.6' not found
509+
SKIPPED [9] multipython.py:69: 'python3.7' not found
510510
27 skipped in 0.12s
511511
512512
Indirect parametrization of optional implementations/imports
@@ -574,7 +574,7 @@ If you run this with reporting for skips enabled:
574574
test_module.py .s [100%]
575575
576576
========================= short test summary info ==========================
577-
SKIPPED [1] conftest.py:12: could not import 'opt2': No module named 'opt2'
577+
SKIPPED [1] test_module.py:3: could not import 'opt2': No module named 'opt2'
578578
======================= 1 passed, 1 skipped in 0.12s =======================
579579
580580
You'll see that we don't have an ``opt2`` module and thus the second test run

‎doc/en/getting-started.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Install ``pytest``
2222
.. code-block:: bash
2323
2424
$ pytest --version
25-
pytest 7.2.0
25+
pytest 7.2.1
2626
2727
.. _`simpletest`:
2828

0 commit comments

Comments
 (0)
Please sign in to comment.