Skip to content

Commit e60b4b9

Browse files
committed
Prepare release version 8.1.1
1 parent 15fbe57 commit e60b4b9

10 files changed

+51
-18
lines changed

changelog/11475.bugfix.rst

-1
This file was deleted.

changelog/12069.trivial.rst

-8
This file was deleted.

doc/en/announce/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release announcements
66
:maxdepth: 2
77

88

9+
release-8.1.1
910
release-8.1.0
1011
release-8.0.2
1112
release-8.0.1

doc/en/announce/release-8.1.1.rst

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
pytest-8.1.1
2+
=======================================
3+
4+
pytest 8.1.1 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+
* Ran Benita
15+
16+
17+
Happy testing,
18+
The pytest Development Team

doc/en/builtin.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
170170
`pytest-xdist <https://github.com/pytest-dev/pytest-xdist>`__ plugin. See
171171
:issue:`7767` for details.
172172
173-
tmpdir_factory [session scope] -- .../_pytest/legacypath.py:317
173+
tmpdir_factory [session scope] -- .../_pytest/legacypath.py:303
174174
Return a :class:`pytest.TempdirFactory` instance for the test session.
175175
176-
tmpdir -- .../_pytest/legacypath.py:324
176+
tmpdir -- .../_pytest/legacypath.py:310
177177
Return a temporary directory path object which is unique to each test
178178
function invocation, created as a sub directory of the base temporary
179179
directory.

doc/en/changelog.rst

+23
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,29 @@ with advance notice in the **Deprecations** section of releases.
2828

2929
.. towncrier release notes start
3030
31+
pytest 8.1.1 (2024-03-08)
32+
=========================
33+
34+
Bug Fixes
35+
---------
36+
37+
- `#11475 <https://github.com/pytest-dev/pytest/issues/11475>`_: Fixed regression where ``--importmode=importlib`` would import non-test modules more than once.
38+
39+
40+
41+
Trivial/Internal Changes
42+
------------------------
43+
44+
- `#12069 <https://github.com/pytest-dev/pytest/issues/12069>`_: Delayed the deprecation of the following features to ``9.0.0``:
45+
46+
* :ref:`node-ctor-fspath-deprecation`.
47+
* :ref:`legacy-path-hooks-deprecated`.
48+
49+
It was discovered after ``8.1.0`` was released that the warnings about the impeding removal were not being displayed, so the team decided to revert the removal.
50+
51+
This was the reason for ``8.1.0`` being yanked.
52+
53+
3154
pytest 8.1.0 (YANKED)
3255
=====================
3356

doc/en/example/parametrize.rst

+3-3
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-195>
165+
<Dir parametrize.rst-196>
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-195>
242+
<Dir parametrize.rst-196>
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-195>
321+
<Dir parametrize.rst-196>
322322
<Module test_backends.py>
323323
<Function test_db_initialized[d1]>
324324
<Function test_db_initialized[d2]>

doc/en/example/pythoncollection.rst

+2-2
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-196>
155+
<Dir pythoncollection.rst-197>
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-196>
218+
<Dir pythoncollection.rst-197>
219219
<Dir CWD>
220220
<Module pythoncollection.py>
221221
<Function test_function>

doc/en/getting-started.rst

+1-1
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.1.0
25+
pytest 8.1.1
2626
2727
.. _`simpletest`:
2828

doc/en/how-to/fixtures.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ Running the above tests results in the following test IDs being used:
14181418
rootdir: /home/sweet/project
14191419
collected 12 items
14201420
1421-
<Dir fixtures.rst-214>
1421+
<Dir fixtures.rst-215>
14221422
<Module test_anothersmtp.py>
14231423
<Function test_showhelo[smtp.gmail.com]>
14241424
<Function test_showhelo[mail.python.org]>

0 commit comments

Comments
 (0)