Skip to content

Commit 1491a6e

Browse files
Merge branch 'main' into Improvement-remove-prune_dependency_tree
2 parents 20ea215 + 022f1b4 commit 1491a6e

File tree

90 files changed

+3529
-858
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+3529
-858
lines changed

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
pull-requests: write
2323

2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
2828
persist-credentials: true

.github/workflows/deploy.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
timeout-minutes: 10
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
2626
persist-credentials: false
2727

2828
- name: Build and Check Package
29-
uses: hynek/[email protected]
29+
uses: hynek/[email protected].4
3030

3131
deploy:
3232
if: github.repository == 'pytest-dev/pytest'
@@ -38,7 +38,7 @@ jobs:
3838
id-token: write
3939
contents: write
4040
steps:
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4242

4343
- name: Download Package
4444
uses: actions/download-artifact@v3
@@ -47,14 +47,14 @@ jobs:
4747
path: dist
4848

4949
- name: Publish package to PyPI
50-
uses: pypa/[email protected].10
50+
uses: pypa/[email protected].11
5151

5252
- name: Push tag
5353
run: |
5454
git config user.name "pytest bot"
5555
git config user.email "[email protected]"
56-
git tag --annotate --message=v${{ github.event.inputs.version }} v${{ github.event.inputs.version }} ${{ github.sha }}
57-
git push origin v${{ github.event.inputs.version }}
56+
git tag --annotate --message=v${{ github.event.inputs.version }} ${{ github.event.inputs.version }} ${{ github.sha }}
57+
git push origin ${{ github.event.inputs.version }}
5858
5959
release-notes:
6060

@@ -67,7 +67,7 @@ jobs:
6767
permissions:
6868
contents: write
6969
steps:
70-
- uses: actions/checkout@v3
70+
- uses: actions/checkout@v4
7171
with:
7272
fetch-depth: 0
7373
persist-credentials: false

.github/workflows/prepare-release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
pull-requests: write
2828

2929
steps:
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3131
with:
3232
fetch-depth: 0
3333

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
package:
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3434
with:
3535
fetch-depth: 0
3636
persist-credentials: false
3737
- name: Build and Check Package
38-
uses: hynek/[email protected]
38+
uses: hynek/[email protected].4
3939

4040
build:
4141
needs: [package]
@@ -167,7 +167,7 @@ jobs:
167167
use_coverage: true
168168

169169
steps:
170-
- uses: actions/checkout@v3
170+
- uses: actions/checkout@v4
171171
with:
172172
fetch-depth: 0
173173
persist-credentials: false

.github/workflows/update-plugin-list.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
2626

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 23.7.0
3+
rev: 23.11.0
44
hooks:
55
- id: black
66
args: [--safe, --quiet]
@@ -10,7 +10,7 @@ repos:
1010
- id: blacken-docs
1111
additional_dependencies: [black==23.7.0]
1212
- repo: https://github.com/pre-commit/pre-commit-hooks
13-
rev: v4.4.0
13+
rev: v4.5.0
1414
hooks:
1515
- id: trailing-whitespace
1616
- id: end-of-file-fixer
@@ -37,17 +37,17 @@ repos:
3737
- flake8-typing-imports==1.12.0
3838
- flake8-docstrings==1.5.0
3939
- repo: https://github.com/asottile/reorder-python-imports
40-
rev: v3.10.0
40+
rev: v3.12.0
4141
hooks:
4242
- id: reorder-python-imports
4343
args: ['--application-directories=.:src', --py38-plus]
4444
- repo: https://github.com/asottile/pyupgrade
45-
rev: v3.10.1
45+
rev: v3.15.0
4646
hooks:
4747
- id: pyupgrade
4848
args: [--py38-plus]
4949
- repo: https://github.com/asottile/setup-cfg-fmt
50-
rev: v2.4.0
50+
rev: v2.5.0
5151
hooks:
5252
- id: setup-cfg-fmt
5353
args: ["--max-py-version=3.12", "--include-version-classifiers"]
@@ -56,7 +56,7 @@ repos:
5656
hooks:
5757
- id: python-use-type-annotations
5858
- repo: https://github.com/pre-commit/mirrors-mypy
59-
rev: v1.5.1
59+
rev: v1.7.1
6060
hooks:
6161
- id: mypy
6262
files: ^(src/|testing/)

.readthedocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ python:
99
path: .
1010
- requirements: doc/en/requirements.txt
1111

12+
sphinx:
13+
configuration: doc/en/conf.py
14+
fail_on_warning: true
15+
1216
build:
1317
os: ubuntu-20.04
1418
tools:

AUTHORS

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Barney Gale
5656
Ben Gartner
5757
Ben Webb
5858
Benjamin Peterson
59+
Benjamin Schubert
5960
Bernard Pratz
6061
Bo Wu
6162
Bob Ippolito
@@ -187,6 +188,7 @@ Javier Romero
187188
Jeff Rackauckas
188189
Jeff Widman
189190
Jenni Rinker
191+
Jens Tröger
190192
John Eddie Ayson
191193
John Litborn
192194
John Towler
@@ -235,6 +237,7 @@ Maho
235237
Maik Figura
236238
Mandeep Bhutani
237239
Manuel Krebber
240+
Marc Mueller
238241
Marc Schlaich
239242
Marcelo Duarte Trevisani
240243
Marcin Bachry
@@ -265,13 +268,15 @@ Michal Wajszczuk
265268
Michał Zięba
266269
Mickey Pashov
267270
Mihai Capotă
271+
Mihail Milushev
268272
Mike Hoyle (hoylemd)
269273
Mike Lundy
270274
Milan Lesnek
271275
Miro Hrončok
272276
Nathaniel Compton
273277
Nathaniel Waisbrot
274278
Ned Batchelder
279+
Neil Martin
275280
Neven Mundar
276281
Nicholas Devenish
277282
Nicholas Murphy
@@ -289,6 +294,7 @@ Ondřej Súkup
289294
Oscar Benjamin
290295
Parth Patel
291296
Patrick Hayes
297+
Patrick Lannigan
292298
Paul Müller
293299
Paul Reece
294300
Pauli Virtanen
@@ -328,12 +334,14 @@ Ronny Pfannschmidt
328334
Ross Lawley
329335
Ruaridh Williamson
330336
Russel Winder
337+
Ryan Puddephatt
331338
Ryan Wooden
332339
Sadra Barikbin
333340
Saiprasad Kale
334341
Samuel Colvin
335342
Samuel Dion-Girardeau
336343
Samuel Searles-Bryant
344+
Samuel Therrien (Avasam)
337345
Samuele Pedroni
338346
Sanket Duthade
339347
Sankt Petersbug
@@ -343,7 +351,9 @@ Segev Finer
343351
Serhii Mozghovyi
344352
Seth Junot
345353
Shantanu Jain
354+
Sharad Nair
346355
Shubham Adep
356+
Simon Blanchard
347357
Simon Gomizelj
348358
Simon Holesch
349359
Simon Kerr
@@ -363,6 +373,7 @@ Tadek Teleżyński
363373
Takafumi Arakaki
364374
Taneli Hukkinen
365375
Tanvi Mehta
376+
Tanya Agarwal
366377
Tarcisio Fischer
367378
Tareq Alayan
368379
Tatiana Ovary

CONTRIBUTING.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,9 @@ Short version
197197
~~~~~~~~~~~~~
198198

199199
#. Fork the repository.
200+
#. Fetch tags from upstream if necessary (if you cloned only main `git fetch --tags https://github.com/pytest-dev/pytest`).
200201
#. Enable and install `pre-commit <https://pre-commit.com>`_ to ensure style-guides and code checks are followed.
201-
#. Follow **PEP-8** for naming and `black <https://github.com/psf/black>`_ for formatting.
202+
#. Follow `PEP-8 <https://www.python.org/dev/peps/pep-0008/>`_ for naming.
202203
#. Tests are run using ``tox``::
203204

204205
tox -e linting,py39
@@ -236,6 +237,7 @@ Here is a simple overview, with pytest-specific bits:
236237

237238
$ git clone [email protected]:YOUR_GITHUB_USERNAME/pytest.git
238239
$ cd pytest
240+
$ git fetch --tags https://github.com/pytest-dev/pytest
239241
# now, create your own branch off "main":
240242

241243
$ git checkout -b your-bugfix-branch-name main
@@ -280,7 +282,7 @@ Here is a simple overview, with pytest-specific bits:
280282
This command will run tests via the "tox" tool against Python 3.9
281283
and also perform "lint" coding-style checks.
282284

283-
#. You can now edit your local working copy and run the tests again as necessary. Please follow PEP-8 for naming.
285+
#. You can now edit your local working copy and run the tests again as necessary. Please follow `PEP-8 <https://www.python.org/dev/peps/pep-0008/>`_ for naming.
284286

285287
You can pass different options to ``tox``. For example, to run tests on Python 3.9 and pass options to pytest
286288
(e.g. enter pdb on failure) to pytest you can do::

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
:target: https://codecov.io/gh/pytest-dev/pytest
2121
:alt: Code coverage Status
2222

23-
.. image:: https://github.com/pytest-dev/pytest/workflows/test/badge.svg
23+
.. image:: https://github.com/pytest-dev/pytest/actions/workflows/test.yml/badge.svg
2424
:target: https://github.com/pytest-dev/pytest/actions?query=workflow%3Atest
2525

2626
.. image:: https://results.pre-commit.ci/badge/github/pytest-dev/pytest/main.svg

0 commit comments

Comments
 (0)