Skip to content

Commit 329d371

Browse files
committed
Prepare release version 8.2.2
1 parent 214d098 commit 329d371

14 files changed

+58
-16
lines changed

changelog/12290.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/12355.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/12356.doc.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelog/12363.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/12367.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/12381.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/en/announce/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release announcements
66
:maxdepth: 2
77

88

9+
release-8.2.2
910
release-8.2.1
1011
release-8.2.0
1112
release-8.1.2

doc/en/announce/release-8.2.2.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
pytest-8.2.2
2+
=======================================
3+
4+
pytest 8.2.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+
* Bruno Oliveira
15+
* Ran Benita
16+
17+
18+
Happy testing,
19+
The pytest Development Team

doc/en/builtin.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
2222
cachedir: .pytest_cache
2323
rootdir: /home/sweet/project
2424
collected 0 items
25-
cache -- .../_pytest/cacheprovider.py:549
25+
cache -- .../_pytest/cacheprovider.py:560
2626
Return a cache object that can persist state between testing sessions.
2727
2828
cache.get(key, default)
@@ -115,7 +115,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
115115
116116
For more details: :ref:`doctest_namespace`.
117117
118-
pytestconfig [session scope] -- .../_pytest/fixtures.py:1335
118+
pytestconfig [session scope] -- .../_pytest/fixtures.py:1338
119119
Session-scoped fixture that returns the session's :class:`pytest.Config`
120120
object.
121121

doc/en/changelog.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,35 @@ with advance notice in the **Deprecations** section of releases.
2828

2929
.. towncrier release notes start
3030
31+
pytest 8.2.2 (2024-06-04)
32+
=========================
33+
34+
Bug Fixes
35+
---------
36+
37+
- `#12355 <https://github.com/pytest-dev/pytest/issues/12355>`_: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
38+
39+
40+
- `#12367 <https://github.com/pytest-dev/pytest/issues/12367>`_: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
41+
42+
43+
- `#12381 <https://github.com/pytest-dev/pytest/issues/12381>`_: Fix possible "Directory not empty" crashes arising from concurent cache dir (``.pytest_cache``) creation. Regressed in pytest 8.2.0.
44+
45+
46+
47+
Improved Documentation
48+
----------------------
49+
50+
- `#12290 <https://github.com/pytest-dev/pytest/issues/12290>`_: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
51+
52+
53+
- `#12356 <https://github.com/pytest-dev/pytest/issues/12356>`_: Added a subsection to the documentation for debugging flaky tests to mention
54+
lack of thread safety in pytest as a possible source of flakyness.
55+
56+
57+
- `#12363 <https://github.com/pytest-dev/pytest/issues/12363>`_: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.
58+
59+
3160
pytest 8.2.1 (2024-05-19)
3261
=========================
3362

0 commit comments

Comments
 (0)