diff --git a/changelog/9726.bugfix.rst b/changelog/9726.bugfix.rst deleted file mode 100644 index 66c04c4d90..0000000000 --- a/changelog/9726.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -An unnecessary ``numpy`` import inside :func:`pytest.approx` was removed. diff --git a/changelog/9820.bugfix.rst b/changelog/9820.bugfix.rst deleted file mode 100644 index 03af940f2c..0000000000 --- a/changelog/9820.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix comparison of ``dataclasses`` with ``InitVar``. diff --git a/changelog/9869.bugfix.rst b/changelog/9869.bugfix.rst deleted file mode 100644 index 9761d7f161..0000000000 --- a/changelog/9869.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Increase ``stacklevel`` for the ``NODE_CTOR_FSPATH_ARG`` deprecation to point to the -user's code, not pytest. diff --git a/changelog/9871.bugfix.rst b/changelog/9871.bugfix.rst deleted file mode 100644 index ed787b3da3..0000000000 --- a/changelog/9871.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a bizarre (and fortunately rare) bug where the `temp_path` fixture could raise -an internal error while attempting to get the current user's username. diff --git a/doc/en/announce/index.rst b/doc/en/announce/index.rst index 0da8b4037e..bcc0b45664 100644 --- a/doc/en/announce/index.rst +++ b/doc/en/announce/index.rst @@ -6,6 +6,7 @@ Release announcements :maxdepth: 2 + release-7.1.2 release-7.1.1 release-7.1.0 release-7.0.1 diff --git a/doc/en/announce/release-7.1.2.rst b/doc/en/announce/release-7.1.2.rst new file mode 100644 index 0000000000..ba33cdc694 --- /dev/null +++ b/doc/en/announce/release-7.1.2.rst @@ -0,0 +1,23 @@ +pytest-7.1.2 +======================================= + +pytest 7.1.2 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 +* Hugo van Kemenade +* Kian Eliasi +* Ran Benita +* Zac Hatfield-Dodds + + +Happy testing, +The pytest Development Team diff --git a/doc/en/builtin.rst b/doc/en/builtin.rst index 455ae88121..77ae5a1302 100644 --- a/doc/en/builtin.rst +++ b/doc/en/builtin.rst @@ -170,10 +170,10 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a See https://docs.python.org/library/how-to/capture-warnings.html for information on warning categories. - tmp_path_factory [session scope] -- .../_pytest/tmpdir.py:183 + tmp_path_factory [session scope] -- .../_pytest/tmpdir.py:184 Return a :class:`pytest.TempPathFactory` instance for the test session. - tmp_path -- .../_pytest/tmpdir.py:198 + tmp_path -- .../_pytest/tmpdir.py:199 Return a temporary directory path object which is unique to each test function invocation, created as a sub directory of the base temporary directory. diff --git a/doc/en/changelog.rst b/doc/en/changelog.rst index 6ff85883e4..46e18d3225 100644 --- a/doc/en/changelog.rst +++ b/doc/en/changelog.rst @@ -28,6 +28,26 @@ with advance notice in the **Deprecations** section of releases. .. towncrier release notes start +pytest 7.1.2 (2022-04-23) +========================= + +Bug Fixes +--------- + +- `#9726 `_: An unnecessary ``numpy`` import inside :func:`pytest.approx` was removed. + + +- `#9820 `_: Fix comparison of ``dataclasses`` with ``InitVar``. + + +- `#9869 `_: Increase ``stacklevel`` for the ``NODE_CTOR_FSPATH_ARG`` deprecation to point to the + user's code, not pytest. + + +- `#9871 `_: Fix a bizarre (and fortunately rare) bug where the `temp_path` fixture could raise + an internal error while attempting to get the current user's username. + + pytest 7.1.1 (2022-03-17) ========================= diff --git a/doc/en/getting-started.rst b/doc/en/getting-started.rst index b856803f1f..f7e03cc8b6 100644 --- a/doc/en/getting-started.rst +++ b/doc/en/getting-started.rst @@ -22,7 +22,7 @@ Install ``pytest`` .. code-block:: bash $ pytest --version - pytest 7.1.1 + pytest 7.1.2 .. _`simpletest`: