Skip to content

Commit

Permalink
Merge pull request #9882 from nicoddemus/check-pick-release
Browse files Browse the repository at this point in the history
Cherry-pick: 7.1.2 (#9881)
  • Loading branch information
nicoddemus committed Apr 23, 2022
2 parents 0347957 + 246815d commit d949b3f
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 9 deletions.
1 change: 0 additions & 1 deletion changelog/9726.bugfix.rst

This file was deleted.

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

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/9869.bugfix.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/9871.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.1.2
release-7.1.1
release-7.1.0
release-7.0.1
Expand Down
23 changes: 23 additions & 0 deletions 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
4 changes: 2 additions & 2 deletions doc/en/builtin.rst
Expand Up @@ -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.
Expand Down
20 changes: 20 additions & 0 deletions doc/en/changelog.rst
Expand Up @@ -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 <https://github.com/pytest-dev/pytest/issues/9726>`_: An unnecessary ``numpy`` import inside :func:`pytest.approx` was removed.


- `#9820 <https://github.com/pytest-dev/pytest/issues/9820>`_: Fix comparison of ``dataclasses`` with ``InitVar``.


- `#9869 <https://github.com/pytest-dev/pytest/issues/9869>`_: Increase ``stacklevel`` for the ``NODE_CTOR_FSPATH_ARG`` deprecation to point to the
user's code, not pytest.


- `#9871 <https://github.com/pytest-dev/pytest/issues/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)
=========================

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.1.1
pytest 7.1.2
.. _`simpletest`:

Expand Down

0 comments on commit d949b3f

Please sign in to comment.