Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6ea7f99

Browse files
committedFeb 3, 2022
Prepare release version 7.0.0
1 parent 737b220 commit 6ea7f99

11 files changed

+121
-16
lines changed
 

‎changelog/9355.bugfix.rst

-1
This file was deleted.

‎changelog/9396.bugfix.rst

-1
This file was deleted.

‎changelog/9404.doc.rst

-1
This file was deleted.

‎changelog/9488.deprecation.rst

-7
This file was deleted.

‎changelog/9505.doc.rst

-2
This file was deleted.

‎changelog/9521.trivial.rst

-1
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-7.0.0
910
release-7.0.0rc1
1011
release-6.2.5
1112
release-6.2.4

‎doc/en/announce/release-7.0.0.rst

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
pytest-7.0.0
2+
=======================================
3+
4+
The pytest team is proud to announce the 7.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+
* Adam J. Stewart
22+
* Alexander King
23+
* Amin Alaee
24+
* Andrew Neitsch
25+
* Anthony Sottile
26+
* Ben Davies
27+
* Bernát Gábor
28+
* Brian Okken
29+
* Bruno Oliveira
30+
* Cristian Vera
31+
* Dan Alvizu
32+
* David Szotten
33+
* Eddie
34+
* Emmanuel Arias
35+
* Emmanuel Meric de Bellefon
36+
* Eric Liu
37+
* Florian Bruhin
38+
* GergelyKalmar
39+
* Graeme Smecher
40+
* Harshna
41+
* Hugo van Kemenade
42+
* Jakub Kulík
43+
* James Myatt
44+
* Jeff Rasley
45+
* Kale Kundert
46+
* Kian Meng, Ang
47+
* Miro Hrončok
48+
* Naveen-Pratap
49+
* Oleg Höfling
50+
* Olga Matoula
51+
* Ran Benita
52+
* Ronny Pfannschmidt
53+
* Simon K
54+
* Srip
55+
* Sören Wegener
56+
* Taneli Hukkinen
57+
* Terje Runde
58+
* Thomas Grainger
59+
* Thomas Hisch
60+
* William Jamir Silva
61+
* Yuval Shimon
62+
* Zac Hatfield-Dodds
63+
* andrewdotn
64+
* denivyruck
65+
* ericluoliu
66+
* oleg.hoefling
67+
* symonk
68+
* ziebam
69+
* Éloi Rivard
70+
* Éric
71+
72+
73+
Happy testing,
74+
The pytest Development Team

‎doc/en/builtin.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
117117
`pytest-xdist <https://github.com/pytest-dev/pytest-xdist>`__ plugin. See
118118
:issue:`7767` for details.
119119
120-
tmpdir_factory [session scope] -- .../_pytest/legacypath.py:292
120+
tmpdir_factory [session scope] -- .../_pytest/legacypath.py:295
121121
Return a :class:`pytest.TempdirFactory` instance for the test session.
122122
123-
tmpdir -- .../_pytest/legacypath.py:299
123+
tmpdir -- .../_pytest/legacypath.py:302
124124
Return a temporary directory path object which is unique to each test
125125
function invocation, created as a sub directory of the base temporary
126126
directory.

‎doc/en/changelog.rst

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

2929
.. towncrier release notes start
3030
31+
pytest 7.0.0 (2022-02-03)
32+
=========================
33+
34+
Deprecations
35+
------------
36+
37+
- `#9488 <https://github.com/pytest-dev/pytest/issues/9488>`_: If custom subclasses of nodes like :class:`pytest.Item` override the
38+
``__init__`` method, they should take ``**kwargs``. See
39+
:ref:`uncooperative-constructors-deprecated` for details.
40+
41+
Note that a deprection warning is only emitted when there is a conflict in the
42+
arguments pytest expected to pass. This deprecation was already part of pytest
43+
7.0.0rc1 but wasn't documented.
44+
45+
46+
47+
Bug Fixes
48+
---------
49+
50+
- `#9355 <https://github.com/pytest-dev/pytest/issues/9355>`_: Fixed error message prints function decorators when using assert in Python 3.8 and above.
51+
52+
53+
- `#9396 <https://github.com/pytest-dev/pytest/issues/9396>`_: Ensure :attr:`pytest.Config.inifile` is available during the :func:`pytest_cmdline_main <_pytest.hookspec.pytest_cmdline_main>` hook (regression during ``7.0.0rc1``).
54+
55+
56+
57+
Improved Documentation
58+
----------------------
59+
60+
- `#9404 <https://github.com/pytest-dev/pytest/issues/9404>`_: Added extra documentation on alternatives to common misuses of `pytest.warns(None)` ahead of its deprecation.
61+
62+
63+
- `#9505 <https://github.com/pytest-dev/pytest/issues/9505>`_: Clarify where the configuration files are located. To avoid confusions documentation mentions
64+
that configuration file is located in the root of the repository.
65+
66+
67+
68+
Trivial/Internal Changes
69+
------------------------
70+
71+
- `#9521 <https://github.com/pytest-dev/pytest/issues/9521>`_: Add test coverage to assertion rewrite path.
72+
73+
3174
pytest 7.0.0rc1 (2021-12-06)
3275
============================
3376

‎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 7.0.0rc1
25+
pytest 7.0.0
2626
2727
.. _`simpletest`:
2828

0 commit comments

Comments
 (0)
Please sign in to comment.