Skip to content

Commit 2f2f1a6

Browse files
committed
Prepare release version 7.1.2
1 parent 5c04f3a commit 2f2f1a6

9 files changed

+47
-9
lines changed

changelog/9726.bugfix.rst

-1
This file was deleted.

changelog/9820.bugfix.rst

-1
This file was deleted.

changelog/9869.bugfix.rst

-2
This file was deleted.

changelog/9871.bugfix.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.1.2
910
release-7.1.1
1011
release-7.1.0
1112
release-7.0.1

doc/en/announce/release-7.1.2.rst

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
pytest-7.1.2
2+
=======================================
3+
4+
pytest 7.1.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+
* Anthony Sottile
15+
* Bruno Oliveira
16+
* Hugo van Kemenade
17+
* Kian Eliasi
18+
* Ran Benita
19+
* Zac Hatfield-Dodds
20+
21+
22+
Happy testing,
23+
The pytest Development Team

doc/en/builtin.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
170170
See https://docs.python.org/library/how-to/capture-warnings.html for information
171171
on warning categories.
172172
173-
tmp_path_factory [session scope] -- .../_pytest/tmpdir.py:183
173+
tmp_path_factory [session scope] -- .../_pytest/tmpdir.py:184
174174
Return a :class:`pytest.TempPathFactory` instance for the test session.
175175
176-
tmp_path -- .../_pytest/tmpdir.py:198
176+
tmp_path -- .../_pytest/tmpdir.py:199
177177
Return a temporary directory path object which is unique to each test
178178
function invocation, created as a sub directory of the base temporary
179179
directory.

doc/en/changelog.rst

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

2929
.. towncrier release notes start
3030
31+
pytest 7.1.2 (2022-04-23)
32+
=========================
33+
34+
Bug Fixes
35+
---------
36+
37+
- `#9726 <https://github.com/pytest-dev/pytest/issues/9726>`_: An unnecessary ``numpy`` import inside :func:`pytest.approx` was removed.
38+
39+
40+
- `#9820 <https://github.com/pytest-dev/pytest/issues/9820>`_: Fix comparison of ``dataclasses`` with ``InitVar``.
41+
42+
43+
- `#9869 <https://github.com/pytest-dev/pytest/issues/9869>`_: Increase ``stacklevel`` for the ``NODE_CTOR_FSPATH_ARG`` deprecation to point to the
44+
user's code, not pytest.
45+
46+
47+
- `#9871 <https://github.com/pytest-dev/pytest/issues/9871>`_: Fix a bizarre (and fortunately rare) bug where the `temp_path` fixture could raise
48+
an internal error while attempting to get the current user's username.
49+
50+
3151
pytest 7.1.1 (2022-03-17)
3252
=========================
3353

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

0 commit comments

Comments
 (0)