Skip to content

Commit 8d99211

Browse files
committed
Prepare release version 8.4.1
1 parent 5dc5880 commit 8d99211

File tree

11 files changed

+57
-17
lines changed

11 files changed

+57
-17
lines changed

changelog/13461.bugfix.rst

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

changelog/13477.bugfix.rst

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

changelog/13492.doc.rst

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

changelog/13497.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.4.1
910
release-8.4.0
1011
release-8.3.5
1112
release-8.3.4

doc/en/announce/release-8.4.1.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
pytest-8.4.1
2+
=======================================
3+
4+
pytest 8.4.1 has just been released to PyPI.
5+
6+
This is a bug-fix release, being a drop-in replacement.
7+
8+
The full changelog is available at https://docs.pytest.org/en/stable/changelog.html.
9+
10+
Thanks to all of the contributors to this release:
11+
12+
* Bruno Oliveira
13+
* Iwithyou2025
14+
* John Litborn
15+
* Martin Fischer
16+
* Ran Benita
17+
* SarahPythonista
18+
19+
20+
Happy testing,
21+
The pytest Development Team

doc/en/changelog.rst

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

3232
.. towncrier release notes start
3333
34+
pytest 8.4.1 (2025-06-17)
35+
=========================
36+
37+
Bug fixes
38+
---------
39+
40+
- `#13461 <https://github.com/pytest-dev/pytest/issues/13461>`_: Corrected ``_pytest.terminal.TerminalReporter.isatty`` to support
41+
being called as a method. Before it was just a boolean which could
42+
break correct code when using ``-o log_cli=true``).
43+
44+
45+
- `#13477 <https://github.com/pytest-dev/pytest/issues/13477>`_: Reintroduced :class:`pytest.PytestReturnNotNoneWarning` which was removed by accident in pytest `8.4`.
46+
47+
This warning is raised when a test functions returns a value other than ``None``, which is often a mistake made by beginners.
48+
49+
See :ref:`return-not-none` for more information.
50+
51+
52+
- `#13497 <https://github.com/pytest-dev/pytest/issues/13497>`_: Fixed compatibility with ``Twisted 25+``.
53+
54+
55+
56+
Improved documentation
57+
----------------------
58+
59+
- `#13492 <https://github.com/pytest-dev/pytest/issues/13492>`_: Fixed outdated warning about ``faulthandler`` not working on Windows.
60+
61+
3462
pytest 8.4.0 (2025-06-02)
3563
=========================
3664

doc/en/example/parametrize.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ objects, they are still using the default pytest representation:
162162
rootdir: /home/sweet/project
163163
collected 8 items
164164
165-
<Dir parametrize.rst-207>
165+
<Dir parametrize.rst-208>
166166
<Module test_time.py>
167167
<Function test_timedistance_v0[a0-b0-expected0]>
168168
<Function test_timedistance_v0[a1-b1-expected1]>
@@ -239,7 +239,7 @@ If you just collect tests you'll also nicely see 'advanced' and 'basic' as varia
239239
rootdir: /home/sweet/project
240240
collected 4 items
241241
242-
<Dir parametrize.rst-207>
242+
<Dir parametrize.rst-208>
243243
<Module test_scenarios.py>
244244
<Class TestSampleWithScenarios>
245245
<Function test_demo1[basic]>
@@ -318,7 +318,7 @@ Let's first see how it looks like at collection time:
318318
rootdir: /home/sweet/project
319319
collected 2 items
320320
321-
<Dir parametrize.rst-207>
321+
<Dir parametrize.rst-208>
322322
<Module test_backends.py>
323323
<Function test_db_initialized[d1]>
324324
<Function test_db_initialized[d2]>

doc/en/example/pythoncollection.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ The test collection would look like this:
152152
configfile: pytest.ini
153153
collected 2 items
154154
155-
<Dir pythoncollection.rst-208>
155+
<Dir pythoncollection.rst-209>
156156
<Module check_myapp.py>
157157
<Class CheckMyApp>
158158
<Function simple_check>
@@ -215,7 +215,7 @@ You can always peek at the collection tree without running tests like this:
215215
configfile: pytest.ini
216216
collected 3 items
217217
218-
<Dir pythoncollection.rst-208>
218+
<Dir pythoncollection.rst-209>
219219
<Dir CWD>
220220
<Module pythoncollection.py>
221221
<Function test_function>

doc/en/getting-started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Install ``pytest``
2222
.. code-block:: bash
2323
2424
$ pytest --version
25-
pytest 8.4.0
25+
pytest 8.4.1
2626
2727
.. _`simpletest`:
2828

doc/en/how-to/fixtures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ Running the above tests results in the following test IDs being used:
14231423
rootdir: /home/sweet/project
14241424
collected 12 items
14251425
1426-
<Dir fixtures.rst-228>
1426+
<Dir fixtures.rst-229>
14271427
<Module test_anothersmtp.py>
14281428
<Function test_showhelo[smtp.gmail.com]>
14291429
<Function test_showhelo[mail.python.org]>

0 commit comments

Comments
 (0)