Skip to content

Commit 4191e02

Browse files
committed
Prepare release version 7.2.2
1 parent eb50c6c commit 4191e02

13 files changed

+64
-12
lines changed

changelog/10533.bugfix.rst

-1
This file was deleted.

changelog/10592.bugfix.rst

-1
This file was deleted.

changelog/10597.bugfix.rst

-1
This file was deleted.

changelog/10626.bugfix.rst

-1
This file was deleted.

changelog/10660.bugfix.rst

-2
This file was deleted.

changelog/10690.doc.rst

-1
This file was deleted.

changelog/10721.doc.rst

-1
This file was deleted.

changelog/10753.doc.rst

-2
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.2
910
release-7.2.1
1011
release-7.2.0
1112
release-7.1.3

doc/en/announce/release-7.2.2.rst

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
pytest-7.2.2
2+
=======================================
3+
4+
pytest 7.2.2 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+
* Bruno Oliveira
15+
* Garvit Shubham
16+
* Mahesh Vashishtha
17+
* Ramsey
18+
* Ronny Pfannschmidt
19+
* Teejay
20+
* q0w
21+
* vin01
22+
23+
24+
Happy testing,
25+
The pytest Development Team

doc/en/builtin.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
2222
cachedir: .pytest_cache
2323
rootdir: /home/sweet/project
2424
collected 0 items
25-
cache -- .../_pytest/cacheprovider.py:510
25+
cache -- .../_pytest/cacheprovider.py:509
2626
Return a cache object that can persist state between testing sessions.
2727
2828
cache.get(key, default)

doc/en/changelog.rst

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

2929
.. towncrier release notes start
3030
31+
pytest 7.2.2 (2023-03-03)
32+
=========================
33+
34+
Bug Fixes
35+
---------
36+
37+
- `#10533 <https://github.com/pytest-dev/pytest/issues/10533>`_: Fixed :func:`pytest.approx` handling of dictionaries containing one or more values of `0.0`.
38+
39+
40+
- `#10592 <https://github.com/pytest-dev/pytest/issues/10592>`_: Fixed crash if `--cache-show` and `--help` are passed at the same time.
41+
42+
43+
- `#10597 <https://github.com/pytest-dev/pytest/issues/10597>`_: Fixed bug where a fixture method named ``teardown`` would be called as part of ``nose`` teardown stage.
44+
45+
46+
- `#10626 <https://github.com/pytest-dev/pytest/issues/10626>`_: Fixed crash if ``--fixtures`` and ``--help`` are passed at the same time.
47+
48+
49+
- `#10660 <https://github.com/pytest-dev/pytest/issues/10660>`_: Fixed :py:func:`pytest.raises` to return a 'ContextManager' so that type-checkers could narrow
50+
:code:`pytest.raises(...) if ... else nullcontext()` down to 'ContextManager' rather than 'object'.
51+
52+
53+
54+
Improved Documentation
55+
----------------------
56+
57+
- `#10690 <https://github.com/pytest-dev/pytest/issues/10690>`_: Added `CI` and `BUILD_NUMBER` environment variables to the documentation.
58+
59+
60+
- `#10721 <https://github.com/pytest-dev/pytest/issues/10721>`_: Fixed entry-points declaration in the documentation example using Hatch.
61+
62+
63+
- `#10753 <https://github.com/pytest-dev/pytest/issues/10753>`_: Changed wording of the module level skip to be very explicit
64+
about not collecting tests and not executing the rest of the module.
65+
66+
3167
pytest 7.2.1 (2023-01-13)
3268
=========================
3369

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.1
25+
pytest 7.2.2
2626
2727
.. _`simpletest`:
2828

0 commit comments

Comments
 (0)