Skip to content

Commit

Permalink
Merge pull request #10914 from nicoddemus/cherry-pick-release-7.3.1
Browse files Browse the repository at this point in the history
Merge pull request #10913 from pytest-dev/release-7.3.1
  • Loading branch information
nicoddemus committed Apr 14, 2023
2 parents d380771 + ece756f commit 7834b3b
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 6 deletions.
1 change: 0 additions & 1 deletion changelog/10875.improvement.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/10890.improvement.rst

This file was deleted.

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

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/10903.bugfix.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.3.1
release-7.3.0
release-7.2.2
release-7.2.1
Expand Down
18 changes: 18 additions & 0 deletions doc/en/announce/release-7.3.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
pytest-7.3.1
=======================================

pytest 7.3.1 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:

* Ran Benita


Happy testing,
The pytest Development Team
23 changes: 23 additions & 0 deletions doc/en/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,29 @@ with advance notice in the **Deprecations** section of releases.

.. towncrier release notes start
pytest 7.3.1 (2023-04-14)
=========================

Improvements
------------

- `#10875 <https://github.com/pytest-dev/pytest/issues/10875>`_: Python 3.12 support: fixed ``RuntimeError: TestResult has no addDuration method`` when running ``unittest`` tests.


- `#10890 <https://github.com/pytest-dev/pytest/issues/10890>`_: Python 3.12 support: fixed ``shutil.rmtree(onerror=...)`` deprecation warning when using :fixture:`tmp_path`.



Bug Fixes
---------

- `#10896 <https://github.com/pytest-dev/pytest/issues/10896>`_: Fixed performance regression related to :fixture:`tmp_path` and the new :confval:`tmp_path_retention_policy` option.


- `#10903 <https://github.com/pytest-dev/pytest/issues/10903>`_: Fix crash ``INTERNALERROR IndexError: list index out of range`` which happens when displaying an exception where all entries are hidden.
This reverts the change "Correctly handle ``__tracebackhide__`` for chained exceptions." introduced in version 7.3.0.


pytest 7.3.0 (2023-04-08)
=========================

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.3.0
pytest 7.3.1
.. _`simpletest`:

Expand Down

0 comments on commit 7834b3b

Please sign in to comment.