Skip to content

Commit 126c7fa

Browse files
committed
Prepare release version 9.0.1
1 parent 092d9ac commit 126c7fa

28 files changed

+968
-145
lines changed

changelog/13895.bugfix.rst

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

changelog/13896.bugfix.rst

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

changelog/13904.bugfix.rst

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

changelog/13910.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-9.0.1
910
release-9.0.0
1011
release-8.4.2
1112
release-8.4.1

doc/en/announce/release-9.0.1.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
pytest-9.0.1
2+
=======================================
3+
4+
pytest 9.0.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+
* Sviatoslav Sydorenko
15+
16+
17+
Happy testing,
18+
The pytest Development Team

doc/en/builtin.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
1818
1919
$ pytest --fixtures -v
2020
=========================== test session starts ============================
21-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
21+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
2222
cachedir: .pytest_cache
2323
rootdir: /home/sweet/project
2424
collected 0 items

doc/en/changelog.rst

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

3232
.. towncrier release notes start
3333
34+
pytest 9.0.1 (2025-11-11)
35+
=========================
36+
37+
Bug fixes
38+
---------
39+
40+
- `#13895 <https://github.com/pytest-dev/pytest/issues/13895>`_: Restore support for skipping tests via ``raise unittest.SkipTest``.
41+
42+
43+
- `#13896 <https://github.com/pytest-dev/pytest/issues/13896>`_: The terminal progress plugin added in pytest 9.0 is now automatically disabled when iTerm2 is detected, it generated desktop notifications instead of the desired functionality.
44+
45+
46+
- `#13904 <https://github.com/pytest-dev/pytest/issues/13904>`_: Fixed the TOML type of the verbosity settings in the API reference from number to string.
47+
48+
49+
- `#13910 <https://github.com/pytest-dev/pytest/issues/13910>`_: Fixed `UserWarning: Do not expect file_or_dir` on some earlier Python 3.12 and 3.13 point versions.
50+
51+
3452
pytest 9.0.0 (2025-11-05)
3553
=========================
3654

doc/en/example/customdirectory.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ An you can now execute the test specification:
4242
4343
customdirectory $ pytest
4444
=========================== test session starts ============================
45-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y
45+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y
4646
rootdir: /home/sweet/project/customdirectory
4747
configfile: pytest.ini
4848
collected 2 items
@@ -62,7 +62,7 @@ You can verify that your custom collector appears in the collection tree:
6262
6363
customdirectory $ pytest --collect-only
6464
=========================== test session starts ============================
65-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y
65+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y
6666
rootdir: /home/sweet/project/customdirectory
6767
configfile: pytest.ini
6868
collected 2 items

doc/en/example/markers.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ You can then restrict a test run to only run tests marked with ``webtest``:
4747
4848
$ pytest -v -m webtest
4949
=========================== test session starts ============================
50-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
50+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
5151
cachedir: .pytest_cache
5252
rootdir: /home/sweet/project
5353
collecting ... collected 4 items / 3 deselected / 1 selected
@@ -62,7 +62,7 @@ Or the inverse, running all tests except the webtest ones:
6262
6363
$ pytest -v -m "not webtest"
6464
=========================== test session starts ============================
65-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
65+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
6666
cachedir: .pytest_cache
6767
rootdir: /home/sweet/project
6868
collecting ... collected 4 items / 1 deselected / 3 selected
@@ -82,7 +82,7 @@ keyword arguments, e.g. to run only tests marked with ``device`` and the specifi
8282
8383
$ pytest -v -m "device(serial='123')"
8484
=========================== test session starts ============================
85-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
85+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
8686
cachedir: .pytest_cache
8787
rootdir: /home/sweet/project
8888
collecting ... collected 4 items / 3 deselected / 1 selected
@@ -106,7 +106,7 @@ tests based on their module, class, method, or function name:
106106
107107
$ pytest -v test_server.py::TestClass::test_method
108108
=========================== test session starts ============================
109-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
109+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
110110
cachedir: .pytest_cache
111111
rootdir: /home/sweet/project
112112
collecting ... collected 1 item
@@ -121,7 +121,7 @@ You can also select on the class:
121121
122122
$ pytest -v test_server.py::TestClass
123123
=========================== test session starts ============================
124-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
124+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
125125
cachedir: .pytest_cache
126126
rootdir: /home/sweet/project
127127
collecting ... collected 1 item
@@ -136,7 +136,7 @@ Or select multiple nodes:
136136
137137
$ pytest -v test_server.py::TestClass test_server.py::test_send_http
138138
=========================== test session starts ============================
139-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
139+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
140140
cachedir: .pytest_cache
141141
rootdir: /home/sweet/project
142142
collecting ... collected 2 items
@@ -180,7 +180,7 @@ The expression matching is now case-insensitive.
180180
181181
$ pytest -v -k http # running with the above defined example module
182182
=========================== test session starts ============================
183-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
183+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
184184
cachedir: .pytest_cache
185185
rootdir: /home/sweet/project
186186
collecting ... collected 4 items / 3 deselected / 1 selected
@@ -195,7 +195,7 @@ And you can also run all tests except the ones that match the keyword:
195195
196196
$ pytest -k "not send_http" -v
197197
=========================== test session starts ============================
198-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
198+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
199199
cachedir: .pytest_cache
200200
rootdir: /home/sweet/project
201201
collecting ... collected 4 items / 1 deselected / 3 selected
@@ -212,7 +212,7 @@ Or to select "http" and "quick" tests:
212212
213213
$ pytest -k "http or quick" -v
214214
=========================== test session starts ============================
215-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
215+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
216216
cachedir: .pytest_cache
217217
rootdir: /home/sweet/project
218218
collecting ... collected 4 items / 2 deselected / 2 selected
@@ -418,7 +418,7 @@ the test needs:
418418
419419
$ pytest -E stage2
420420
=========================== test session starts ============================
421-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y
421+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y
422422
rootdir: /home/sweet/project
423423
collected 1 item
424424
@@ -432,7 +432,7 @@ and here is one that specifies exactly the environment needed:
432432
433433
$ pytest -E stage1
434434
=========================== test session starts ============================
435-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y
435+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y
436436
rootdir: /home/sweet/project
437437
collected 1 item
438438
@@ -625,7 +625,7 @@ then you will see two tests skipped and two executed tests as expected:
625625
626626
$ pytest -rs # this option reports skip reasons
627627
=========================== test session starts ============================
628-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y
628+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y
629629
rootdir: /home/sweet/project
630630
collected 4 items
631631
@@ -641,7 +641,7 @@ Note that if you specify a platform via the marker-command line option like this
641641
642642
$ pytest -m linux
643643
=========================== test session starts ============================
644-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y
644+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y
645645
rootdir: /home/sweet/project
646646
collected 4 items / 3 deselected / 1 selected
647647
@@ -704,7 +704,7 @@ We can now use the ``-m option`` to select one set:
704704
705705
$ pytest -m interface --tb=short
706706
=========================== test session starts ============================
707-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y
707+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y
708708
rootdir: /home/sweet/project
709709
collected 4 items / 2 deselected / 2 selected
710710
@@ -730,7 +730,7 @@ or to select both "event" and "interface" tests:
730730
731731
$ pytest -m "interface or event" --tb=short
732732
=========================== test session starts ============================
733-
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y
733+
platform linux -- Python 3.x.y, pytest-9.x.y, pluggy-1.x.y
734734
rootdir: /home/sweet/project
735735
collected 4 items / 1 deselected / 3 selected
736736

0 commit comments

Comments
 (0)