Skip to content

Commit 7df4057

Browse files
authored
Merge branch 'pytest-dev:main' into patch-1
2 parents 387ec02 + 28e8c85 commit 7df4057

File tree

18 files changed

+289
-153
lines changed

18 files changed

+289
-153
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 22.1.0
3+
rev: 22.3.0
44
hooks:
55
- id: black
66
args: [--safe, --quiet]
@@ -10,7 +10,7 @@ repos:
1010
- id: blacken-docs
1111
additional_dependencies: [black==20.8b1]
1212
- repo: https://github.com/pre-commit/pre-commit-hooks
13-
rev: v4.1.0
13+
rev: v4.2.0
1414
hooks:
1515
- id: trailing-whitespace
1616
- id: end-of-file-fixer
@@ -42,12 +42,12 @@ repos:
4242
- id: reorder-python-imports
4343
args: ['--application-directories=.:src', --py37-plus]
4444
- repo: https://github.com/asottile/pyupgrade
45-
rev: v2.31.1
45+
rev: v2.32.0
4646
hooks:
4747
- id: pyupgrade
4848
args: [--py37-plus]
4949
- repo: https://github.com/asottile/setup-cfg-fmt
50-
rev: v1.20.0
50+
rev: v1.20.1
5151
hooks:
5252
- id: setup-cfg-fmt
5353
args: [--max-py-version=3.10]
@@ -56,7 +56,7 @@ repos:
5656
hooks:
5757
- id: python-use-type-annotations
5858
- repo: https://github.com/pre-commit/mirrors-mypy
59-
rev: v0.941
59+
rev: v0.942
6060
hooks:
6161
- id: mypy
6262
files: ^(src/|testing/)

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ Ondřej Súkup
256256
Oscar Benjamin
257257
Parth Patel
258258
Patrick Hayes
259+
Paul Müller
259260
Pauli Virtanen
260261
Pavel Karateev
261262
Paweł Adamczak

CONTRIBUTING.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ Fix bugs
5050
--------
5151

5252
Look through the `GitHub issues for bugs <https://github.com/pytest-dev/pytest/labels/type:%20bug>`_.
53+
See also the `"status: easy" issues <https://github.com/pytest-dev/pytest/labels/status%3A%20easy>`_
54+
that are friendly to new contributors.
5355

5456
:ref:`Talk <contact>` to developers to find out how you can fix specific bugs. To indicate that you are going
5557
to work on a particular issue, add a comment to that effect on the specific issue.

changelog/9741.improvement.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
On Python 3.11, use the standard library's :mod:`tomllib` to parse TOML.
2+
3+
:mod:`tomli`` is no longer a dependency on Python 3.11.

changelog/9820.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix comparison of ``dataclasses`` with ``InitVar``.

changelog/9869.bugfix.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Increase ``stacklevel`` for the ``NODE_CTOR_FSPATH_ARG`` deprecation to point to the
2+
user's code, not pytest.

changelog/9871.bugfix.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix a bizarre (and fortunately rare) bug where the `temp_path` fixture could raise
2+
an internal error while attempting to get the current user's username.

doc/en/explanation/goodpractices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ want to distribute them along with your application:
196196
__init__.py
197197
app.py
198198
view.py
199-
test/
199+
tests/
200200
__init__.py
201201
test_app.py
202202
test_view.py

doc/en/reference/plugin_list.rst

Lines changed: 231 additions & 135 deletions
Large diffs are not rendered by default.

doc/en/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ sphinx-removed-in>=0.2.0
55
sphinx>=3.1,<4
66
sphinxcontrib-trio
77
sphinxcontrib-svg2pdfconverter
8+
9+
# XXX: sphinx<4 is broken with latest jinja2
10+
jinja2<3.1

0 commit comments

Comments
 (0)