Skip to content

Commit 478f823

Browse files
committed
Prepare release version 8.0.0
1 parent 6085900 commit 478f823

10 files changed

+50
-13
lines changed

Diff for: changelog/11842.bugfix.rst

-1
This file was deleted.

Diff for: changelog/11861.bugfix.rst

-1
This file was deleted.

Diff for: 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.0.0
910
release-8.0.0rc2
1011
release-8.0.0rc1
1112
release-7.4.4

Diff for: doc/en/announce/release-8.0.0.rst

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
pytest-8.0.0
2+
=======================================
3+
4+
The pytest team is proud to announce the 8.0.0 release!
5+
6+
This release contains new features, improvements, bug fixes, and breaking changes, so users
7+
are encouraged to take a look at the CHANGELOG carefully:
8+
9+
https://docs.pytest.org/en/stable/changelog.html
10+
11+
For complete documentation, please visit:
12+
13+
https://docs.pytest.org/en/stable/
14+
15+
As usual, you can upgrade from PyPI via:
16+
17+
pip install -U pytest
18+
19+
Thanks to all of the contributors to this release:
20+
21+
* Bruno Oliveira
22+
* Ran Benita
23+
24+
25+
Happy testing,
26+
The pytest Development Team

Diff for: doc/en/builtin.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
129129
if pytestconfig.getoption("verbose") > 0:
130130
...
131131
132-
record_property -- .../_pytest/junitxml.py:282
132+
record_property -- .../_pytest/junitxml.py:284
133133
Add extra properties to the calling test.
134134
135135
User properties become part of the test report and are available to the
@@ -143,13 +143,13 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
143143
def test_function(record_property):
144144
record_property("example_key", 1)
145145
146-
record_xml_attribute -- .../_pytest/junitxml.py:305
146+
record_xml_attribute -- .../_pytest/junitxml.py:307
147147
Add extra xml attributes to the tag for the calling test.
148148
149149
The fixture is callable with ``name, value``. The value is
150150
automatically XML-encoded.
151151
152-
record_testsuite_property [session scope] -- .../_pytest/junitxml.py:343
152+
record_testsuite_property [session scope] -- .../_pytest/junitxml.py:345
153153
Record a new ``<property>`` tag as child of the root ``<testsuite>``.
154154
155155
This is suitable to writing global information regarding the entire test
@@ -196,7 +196,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
196196
197197
.. _legacy_path: https://py.readthedocs.io/en/latest/path.html
198198
199-
caplog -- .../_pytest/logging.py:593
199+
caplog -- .../_pytest/logging.py:594
200200
Access and control log capturing.
201201
202202
Captured logs are available through the following properties/methods::

Diff for: doc/en/changelog.rst

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

2929
.. towncrier release notes start
3030
31+
pytest 8.0.0 (2024-01-27)
32+
=========================
33+
34+
Bug Fixes
35+
---------
36+
37+
- `#11842 <https://github.com/pytest-dev/pytest/issues/11842>`_: Properly escape the ``reason`` of a :ref:`skip <pytest.mark.skip ref>` mark when writing JUnit XML files.
38+
39+
40+
- `#11861 <https://github.com/pytest-dev/pytest/issues/11861>`_: Avoid microsecond exceeds ``1_000_000`` when using ``log-date-format`` with ``%f`` specifier, which might cause the test suite to crash.
41+
42+
3143
pytest 8.0.0rc2 (2024-01-17)
3244
============================
3345

Diff for: 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-192>
165+
<Dir parametrize.rst-193>
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-192>
242+
<Dir parametrize.rst-193>
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-192>
321+
<Dir parametrize.rst-193>
322322
<Module test_backends.py>
323323
<Function test_db_initialized[d1]>
324324
<Function test_db_initialized[d2]>

Diff for: 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-193>
155+
<Dir pythoncollection.rst-194>
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-193>
218+
<Dir pythoncollection.rst-194>
219219
<Dir CWD>
220220
<Module pythoncollection.py>
221221
<Function test_function>

Diff for: 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.0.0rc2
25+
pytest 8.0.0
2626
2727
.. _`simpletest`:
2828

Diff for: 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-211>
1421+
<Dir fixtures.rst-212>
14221422
<Module test_anothersmtp.py>
14231423
<Function test_showhelo[smtp.gmail.com]>
14241424
<Function test_showhelo[mail.python.org]>

0 commit comments

Comments
 (0)