Skip to content

Commit df91af4

Browse files
authored
Merge branch 'main' into safe-parallel
2 parents 1ce2c5a + 1877181 commit df91af4

174 files changed

Lines changed: 77326 additions & 2948 deletions

File tree

Some content is hidden

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

‎.github/CODEOWNERS‎

Lines changed: 40 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ peps/pep-0020.rst @tim-one
5050
peps/pep-0042.rst @jeremyhylton
5151
# ...
5252
peps/pep-0100.rst @malemburg
53-
peps/pep-0101.rst @hugovk @Yhg1s @pablogsal @ambv @ned-deily
53+
peps/pep-0101.rst @savannahostrowski @hugovk @Yhg1s @pablogsal @ambv @ned-deily
5454
peps/pep-0102.rst @warsaw @gvanrossum
5555
# peps/pep-0103.rst
5656
# ...
@@ -412,7 +412,7 @@ peps/pep-0541.rst @ambv
412412
# peps/pep-0542.rst
413413
peps/pep-0543.rst @tiran
414414
peps/pep-0544.rst @ilevkivskyi @ambv
415-
peps/pep-0545.rst @JulienPalard @methane @vstinner
415+
peps/pep-0545.rst @JulienPalard @methane @StanFromIreland
416416
peps/pep-0546.rst @vstinner
417417
peps/pep-0547.rst @encukou
418418
peps/pep-0548.rst @bitdancer
@@ -540,7 +540,7 @@ peps/pep-0657.rst @pablogsal @isidentical @ammaraskar
540540
peps/pep-0658.rst @brettcannon
541541
peps/pep-0659.rst @markshannon
542542
peps/pep-0660.rst @pfmoore
543-
peps/pep-0661.rst @taleinat
543+
peps/pep-0661.rst @taleinat @JelleZijlstra
544544
peps/pep-0662.rst @brettcannon
545545
peps/pep-0662/ @brettcannon
546546
peps/pep-0663.rst @ethanfurman
@@ -559,7 +559,7 @@ peps/pep-0675.rst @jellezijlstra
559559
peps/pep-0676.rst @AA-Turner @Mariatta
560560
peps/pep-0677.rst @gvanrossum
561561
peps/pep-0678.rst @iritkatriel
562-
peps/pep-0679.rst @pablogsal
562+
peps/pep-0679.rst @pablogsal @StanFromIreland
563563
peps/pep-0680.rst @encukou
564564
peps/pep-0681.rst @jellezijlstra
565565
peps/pep-0682.rst
@@ -617,6 +617,7 @@ peps/pep-0735.rst @brettcannon
617617
peps/pep-0736.rst @Rosuav
618618
peps/pep-0737.rst @vstinner
619619
peps/pep-0738.rst @encukou
620+
# peps/pep-0739.rst
620621
peps/pep-0740.rst @dstufft
621622
peps/pep-0741.rst @vstinner
622623
peps/pep-0742.rst @JelleZijlstra
@@ -652,19 +653,18 @@ peps/pep-0771.rst @pradyunsg
652653
peps/pep-0772.rst @warsaw @pradyunsg
653654
peps/pep-0773.rst @zooba
654655
peps/pep-0774.rst @savannahostrowski
655-
peps/pep-0775.rst @encukou
656+
peps/pep-0775.rst @encukou @StanFromIreland
656657
peps/pep-0776.rst @hoodmane @ambv
657658
peps/pep-0777.rst @warsaw @emmatyping
658659
peps/pep-0778.rst @warsaw @emmatyping
659-
# ...
660660
peps/pep-0779.rst @Yhg1s @colesbury @mpage
661661
peps/pep-0780.rst @lysnikolaou
662662
peps/pep-0781.rst @methane
663663
peps/pep-0782.rst @vstinner
664664
peps/pep-0783.rst @hoodmane @ambv
665665
peps/pep-0784.rst @gpshead @emmatyping
666666
peps/pep-0785.rst @gpshead
667-
# ...
667+
peps/pep-0786.rst @ncoghlan
668668
peps/pep-0787.rst @ncoghlan
669669
peps/pep-0788.rst @ZeroIntensity @vstinner
670670
peps/pep-0789.rst @njsmith
@@ -673,12 +673,44 @@ peps/pep-0791.rst @vstinner
673673
peps/pep-0792.rst @dstufft
674674
peps/pep-0793.rst @encukou
675675
peps/pep-0794.rst @brettcannon
676+
peps/pep-0797.rst @ZeroIntensity
676677
peps/pep-0798.rst @JelleZijlstra
677678
peps/pep-0799.rst @pablogsal
678679
peps/pep-0800.rst @JelleZijlstra
679680
peps/pep-0801.rst @warsaw
680681
peps/pep-0802.rst @AA-Turner
681682
peps/pep-0803.rst @encukou
683+
peps/pep-0804.rst @pradyunsg
684+
# peps/pep-0805.rst
685+
peps/pep-0806.rst @JelleZijlstra
686+
peps/pep-0807.rst @dstufft
687+
peps/pep-0808.rst @FFY00
688+
peps/pep-0809.rst @zooba
689+
peps/pep-0810.rst @pablogsal @DinoV @Yhg1s
690+
peps/pep-0811.rst @sethmlarson @gpshead
691+
# peps/pep-0812.rst
692+
peps/pep-0813.rst @warsaw @ericvsmith
693+
peps/pep-0814.rst @vstinner @corona10
694+
peps/pep-0815.rst @emmatyping
695+
peps/pep-0816.rst @brettcannon
696+
peps/pep-0817.rst @warsaw @dstufft
697+
peps/pep-0817/ @warsaw @dstufft
698+
peps/pep-0818.rst @hoodmane @ambv
699+
peps/pep-0819.rst @emmatyping
700+
peps/pep-0820.rst @encukou
701+
peps/pep-0821.rst @JelleZijlstra
702+
peps/pep-0822.rst @methane
703+
peps/pep-0825.rst @warsaw @dstufft
704+
peps/pep-0826.rst @savannahostrowski
705+
peps/pep-0827.rst @1st1
706+
peps/pep-0828.rst @ZeroIntensity
707+
peps/pep-0829.rst @warsaw
708+
peps/pep-0830.rst @gpshead
709+
peps/pep-0831.rst @pablogsal @Fidget-Spinner @savannahostrowski
710+
peps/pep-0832.rst @brettcannon
711+
peps/pep-0833.rst @dstufft
712+
peps/pep-0835.rst @ilevkivskyi
713+
peps/pep-0836.rst @savannahostrowski @Fidget-Spinner @brandtbucher
682714
# ...
683715
peps/pep-2026.rst @hugovk
684716
# ...
@@ -762,5 +794,4 @@ peps/pep-8015.rst @vstinner
762794
peps/pep-8016.rst @njsmith @dstufft
763795
# ...
764796
peps/pep-8100.rst @njsmith
765-
# peps/pep-8101.rst
766-
# peps/pep-8102.rst
797+
# 81** PEPs are collectively owned, so no individual assignees.

‎.github/PULL_REQUEST_TEMPLATE/Add a new PEP.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ If your PEP is not Standards Track, remove the corresponding section.
1212
* [ ] Read and followed [PEP 1](https://peps.python.org/1) & [PEP 12](https://peps.python.org/12)
1313
* [ ] File created from the [latest PEP template](https://github.com/python/peps/blob/main/peps/pep-0012/pep-NNNN.rst?plain=1)
1414
* [ ] PEP has next available number, & set in filename (``pep-NNNN.rst``), PR title (``PEP 123: <Title of PEP>``) and ``PEP`` header
15+
* Tip: find the next available number with [pepotron](https://github.com/hugovk/pepotron) — run ``uvx pepotron next`` (or ``pipx install pepotron`` then ``pep next``)
1516
* [ ] Title clearly, accurately and concisely describes the content in 79 characters or less
1617
* [ ] Core dev/PEP editor listed as ``Author`` or ``Sponsor``, and formally confirmed their approval
1718
* [ ] ``Author``, ``Status`` (``Draft``), ``Type`` and ``Created`` headers filled out correctly
@@ -29,14 +30,17 @@ If your PEP is not Standards Track, remove the corresponding section.
2930
* [ ] PEP topic [discussed in a suitable venue](https://peps.python.org/pep-0001/#start-with-an-idea-for-python) with general agreement that a PEP is appropriate
3031
* [ ] [Suggested sections](https://peps.python.org/pep-0012/#suggested-sections) included (unless not applicable)
3132
* [ ] Motivation
32-
* [ ] Rationale
3333
* [ ] Specification
34+
* [ ] Rationale
3435
* [ ] Backwards Compatibility
3536
* [ ] Security Implications
3637
* [ ] How to Teach This
3738
* [ ] Reference Implementation
3839
* [ ] Rejected Ideas
3940
* [ ] Open Issues
41+
* [ ] Acknowledgements
42+
* [ ] Footnotes
43+
* [ ] Change History
4044
* [ ] ``Python-Version`` set to valid (pre-beta) future Python version, if relevant
4145
* [ ] Any project stated in the PEP as supporting/endorsing/benefiting from the PEP formally confirmed such
4246
* [ ] Right before or after initial merging, [PEP discussion thread](https://peps.python.org/pep-0001/#discussing-a-pep) created and linked to in ``Discussions-To`` and ``Post-History``

‎.github/dependabot.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ updates:
44
directory: "/"
55
schedule:
66
interval: monthly
7+
assignees:
8+
- "ezio-melotti"
79
groups:
810
actions:
911
patterns:
1012
- "*"
13+
cooldown:
14+
default-days: 7

‎.github/workflows/documentation-links.yml‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

‎.github/workflows/lint.yml‎

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,31 @@ name: Lint PEPs
22

33
on: [push, pull_request, workflow_dispatch]
44

5-
permissions:
6-
contents: read
5+
permissions: {}
76

87
concurrency:
98
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
109
cancel-in-progress: true
1110

1211
env:
1312
FORCE_COLOR: 1
14-
RUFF_FORMAT: github
13+
RUFF_OUTPUT_FORMAT: github
1514

1615
jobs:
17-
pre-commit:
16+
lint:
1817
name: Run pre-commit
1918
runs-on: ubuntu-latest
2019

2120
steps:
22-
- uses: actions/checkout@v5
21+
- uses: actions/checkout@v7
2322
with:
2423
persist-credentials: false
2524

26-
- name: Set up Python 3
27-
uses: actions/setup-python@v5
28-
with:
29-
python-version: "3.x"
30-
3125
- name: Run pre-commit hooks
32-
uses: tox-dev/action-pre-commit-uv@v1
26+
uses: j178/prek-action@v2.0.4
3327

3428
- name: Check spelling
35-
uses: tox-dev/action-pre-commit-uv@v1
29+
uses: j178/prek-action@v2.0.4
30+
continue-on-error: true
3631
with:
37-
extra_args: --all-files --hook-stage manual codespell || true
32+
extra_args: --all-files --hook-stage manual codespell

‎.github/workflows/render.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
matrix:
2424
python-version:
2525
- "3.x"
26-
- "3.14-dev"
26+
- "3.15-dev"
2727

2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v5
30+
uses: actions/checkout@v7
3131
with:
3232
fetch-depth: 0 # fetch all history so that last modified date-times are accurate
3333

3434
- name: Set up Python ${{ matrix.python-version }}
35-
uses: actions/setup-python@v5
35+
uses: actions/setup-python@v6
3636
with:
3737
python-version: ${{ matrix.python-version }}
3838
cache: pip
@@ -42,7 +42,7 @@ jobs:
4242
python -m pip install --upgrade pip
4343
4444
- name: Render PEPs
45-
run: make dirhtml JOBS=$(nproc)
45+
run: make dirhtml search JOBS=$(nproc)
4646

4747
# remove the .doctrees folder when building for deployment as it takes two thirds of disk space
4848
- name: Clean up files

‎.github/workflows/test.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,24 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
python-version:
33-
- "3.9"
3433
- "3.10"
3534
- "3.11"
3635
- "3.12"
3736
- "3.13"
3837
- "3.14"
38+
- "3.15"
3939
os:
4040
- "windows-latest"
4141
- "macos-latest"
4242
- "ubuntu-latest"
4343

4444
steps:
45-
- uses: actions/checkout@v5
45+
- uses: actions/checkout@v7
4646
with:
4747
persist-credentials: false
4848

4949
- name: Set up Python ${{ matrix.python-version }}
50-
uses: actions/setup-python@v5
50+
uses: actions/setup-python@v6
5151
with:
5252
python-version: ${{ matrix.python-version }}
5353
allow-prereleases: true
@@ -63,7 +63,7 @@ jobs:
6363
uvx --with tox-uv tox -e py -- -v --cov-report term
6464
6565
- name: Upload coverage
66-
uses: codecov/codecov-action@v5
66+
uses: codecov/codecov-action@v7
6767
with:
6868
flags: ${{ matrix.os }}
6969
name: ${{ matrix.os }} Python ${{ matrix.python-version }}

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ coverage.xml
2626
# Builds
2727
/sphinx-warnings.txt
2828
/peps/numerical.rst
29+
/.DS_Store
30+
/peps/.DS_Store
31+
*.bkp

‎.pre-commit-config.yaml‎

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ default_stages: [pre-commit]
1212
repos:
1313
# General file checks and fixers
1414
- repo: https://github.com/pre-commit/pre-commit-hooks
15-
rev: v5.0.0
15+
rev: v6.0.0
1616
hooks:
1717
- id: end-of-file-fixer
1818
name: "Ensure files end with a single newline"
@@ -48,7 +48,7 @@ repos:
4848
name: "Check YAML"
4949

5050
- repo: https://github.com/psf/black-pre-commit-mirror
51-
rev: 24.10.0
51+
rev: 25.12.0
5252
hooks:
5353
- id: black
5454
name: "Format with Black"
@@ -58,22 +58,27 @@ repos:
5858
files: '^(peps/conf\.py|pep_sphinx_extensions/tests/.*)$'
5959

6060
- repo: https://github.com/astral-sh/ruff-pre-commit
61-
rev: v0.7.0
61+
rev: v0.14.10
6262
hooks:
63-
- id: ruff
63+
- id: ruff-check
6464
name: "Lint with Ruff"
6565
args:
6666
- '--exit-non-zero-on-fix'
6767
files: '^pep_sphinx_extensions/tests/'
68+
- id: ruff-format
69+
name: "Format with Ruff"
70+
args:
71+
- '--check'
72+
files: '^release_management/'
6873

6974
- repo: https://github.com/tox-dev/tox-ini-fmt
70-
rev: 1.4.1
75+
rev: 1.7.1
7176
hooks:
7277
- id: tox-ini-fmt
7378
name: "Format tox.ini"
7479

7580
- repo: https://github.com/sphinx-contrib/sphinx-lint
76-
rev: v1.0.0
81+
rev: v1.0.2
7782
hooks:
7883
- id: sphinx-lint
7984
name: "Sphinx lint"
@@ -94,7 +99,7 @@ repos:
9499

95100
# Manual codespell check
96101
- repo: https://github.com/codespell-project/codespell
97-
rev: v2.3.0
102+
rev: v2.4.1
98103
hooks:
99104
- id: codespell
100105
name: "Check for common misspellings in text files"
@@ -111,3 +116,12 @@ repos:
111116
language: "python"
112117
files: '^peps/pep-\d{4}\.rst$'
113118
require_serial: true
119+
120+
# Hook to regenerate release schedules
121+
- id: "regen-schedules"
122+
name: "Regenerate release schedules from python-releases.toml"
123+
entry: "python -m release_management update-peps"
124+
language: "python"
125+
files: "^release_management/"
126+
pass_filenames: false
127+
require_serial: true

0 commit comments

Comments
 (0)