Skip to content

Commit cf470ec

Browse files
committed
Prepare release version 9.1.1
1 parent e0c8ce6 commit cf470ec

13 files changed

Lines changed: 46 additions & 14 deletions

changelog/14220.bugfix.rst

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

changelog/14591.bugfix.rst

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

changelog/14606.bugfix.rst

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

changelog/14608.bugfix.rst

Lines changed: 0 additions & 2 deletions
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-9.1.1
910
release-9.1.0
1011
release-9.0.3
1112
release-9.0.2

doc/en/announce/release-9.1.1.rst

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

doc/en/builtin.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
142142
143143
For more details: :ref:`doctest_namespace`.
144144
145-
pytestconfig [session scope] -- .../_pytest/fixtures.py:1563
145+
pytestconfig [session scope] -- .../_pytest/fixtures.py:1564
146146
Session-scoped fixture that returns the session's :class:`pytest.Config`
147147
object.
148148

doc/en/changelog.rst

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

3232
.. towncrier release notes start
3333
34+
pytest 9.1.1 (2026-06-19)
35+
=========================
36+
37+
Bug fixes
38+
---------
39+
40+
- `#14220 <https://github.com/pytest-dev/pytest/issues/14220>`_: Fixed a logic bug in :class:`pytest.RaisesGroup` which would might cause it to display incorrect "It matches `FooError()` which was paired with `BarError`" messages.
41+
42+
43+
- `#14591 <https://github.com/pytest-dev/pytest/issues/14591>`_: Fixed a regression in pytest 9.1.0 which caused overriding a parametrized fixture with an indirect `@pytest.mark.parametrize` to fail with "duplicate parametrization of '<fixture name>'".
44+
45+
46+
- `#14606 <https://github.com/pytest-dev/pytest/issues/14606>`_: Fixed ``list-item`` typing errors from mypy in :ref:`@pytest.mark.parametrize <pytest.mark.parametrize ref>` ``argvalues`` parameter.
47+
48+
49+
- `#14608 <https://github.com/pytest-dev/pytest/issues/14608>`_: Fixed a regression in pytest 9.1.0 where ``conftest.py`` files located in ``<invocation dir>/test*`` were no longer loaded as initial conftests when invoked without arguments.
50+
This could cause certain hooks (like :hook:`pytest_addoption`) in these files to not fire.
51+
52+
3453
pytest 9.1.0 (2026-06-13)
3554
=========================
3655

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-214>
165+
<Dir parametrize.rst-215>
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-214>
242+
<Dir parametrize.rst-215>
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-214>
321+
<Dir parametrize.rst-215>
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
@@ -142,7 +142,7 @@ The test collection would look like this:
142142
configfile: pytest.toml
143143
collected 2 items
144144
145-
<Dir pythoncollection.rst-215>
145+
<Dir pythoncollection.rst-216>
146146
<Module check_myapp.py>
147147
<Class CheckMyApp>
148148
<Function simple_check>
@@ -205,7 +205,7 @@ You can always peek at the collection tree without running tests like this:
205205
configfile: pytest.toml
206206
collected 3 items
207207
208-
<Dir pythoncollection.rst-215>
208+
<Dir pythoncollection.rst-216>
209209
<Dir CWD>
210210
<Module pythoncollection.py>
211211
<Function test_function>

0 commit comments

Comments
 (0)