Skip to content

Commit

Permalink
Prepare release version 7.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pytestbot committed Mar 3, 2023
1 parent eb50c6c commit 4191e02
Show file tree
Hide file tree
Showing 13 changed files with 64 additions and 12 deletions.
1 change: 0 additions & 1 deletion changelog/10533.bugfix.rst

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

1 change: 0 additions & 1 deletion changelog/10690.doc.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/10721.doc.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/10753.doc.rst

This file was deleted.

1 change: 1 addition & 0 deletions doc/en/announce/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Release announcements
:maxdepth: 2


release-7.2.2
release-7.2.1
release-7.2.0
release-7.1.3
Expand Down
25 changes: 25 additions & 0 deletions doc/en/announce/release-7.2.2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
pytest-7.2.2
=======================================

pytest 7.2.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:

* Bruno Oliveira
* Garvit Shubham
* Mahesh Vashishtha
* Ramsey
* Ronny Pfannschmidt
* Teejay
* q0w
* vin01


Happy testing,
The pytest Development Team
2 changes: 1 addition & 1 deletion doc/en/builtin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
cachedir: .pytest_cache
rootdir: /home/sweet/project
collected 0 items
cache -- .../_pytest/cacheprovider.py:510
cache -- .../_pytest/cacheprovider.py:509
Return a cache object that can persist state between testing sessions.
cache.get(key, default)
Expand Down
36 changes: 36 additions & 0 deletions doc/en/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,42 @@ with advance notice in the **Deprecations** section of releases.

.. towncrier release notes start
pytest 7.2.2 (2023-03-03)
=========================

Bug Fixes
---------

- `#10533 <https://github.com/pytest-dev/pytest/issues/10533>`_: Fixed :func:`pytest.approx` handling of dictionaries containing one or more values of `0.0`.


- `#10592 <https://github.com/pytest-dev/pytest/issues/10592>`_: Fixed crash if `--cache-show` and `--help` are passed at the same time.


- `#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.


- `#10626 <https://github.com/pytest-dev/pytest/issues/10626>`_: Fixed crash if ``--fixtures`` and ``--help`` are passed at the same time.


- `#10660 <https://github.com/pytest-dev/pytest/issues/10660>`_: Fixed :py:func:`pytest.raises` to return a 'ContextManager' so that type-checkers could narrow
:code:`pytest.raises(...) if ... else nullcontext()` down to 'ContextManager' rather than 'object'.



Improved Documentation
----------------------

- `#10690 <https://github.com/pytest-dev/pytest/issues/10690>`_: Added `CI` and `BUILD_NUMBER` environment variables to the documentation.


- `#10721 <https://github.com/pytest-dev/pytest/issues/10721>`_: Fixed entry-points declaration in the documentation example using Hatch.


- `#10753 <https://github.com/pytest-dev/pytest/issues/10753>`_: Changed wording of the module level skip to be very explicit
about not collecting tests and not executing the rest of the module.


pytest 7.2.1 (2023-01-13)
=========================

Expand Down
2 changes: 1 addition & 1 deletion doc/en/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Install ``pytest``
.. code-block:: bash
$ pytest --version
pytest 7.2.1
pytest 7.2.2
.. _`simpletest`:

Expand Down

0 comments on commit 4191e02

Please sign in to comment.