Skip to content

Commit

Permalink
Merge branch 'main' into feature/pep-0440-packaging-regex-update
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Nov 24, 2024
2 parents f6ef4ae + 1fed2b6 commit 51b61ed
Show file tree
Hide file tree
Showing 340 changed files with 32,704 additions and 6,126 deletions.
4 changes: 4 additions & 0 deletions .codespell/exclude-file.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@

explicitly declared using ``in``, ``out`` and ``inout`` keywords.
| | | | | | | inout |

>>> "abd\

* ``Is``, ``IsNot``, ``In``, and ``NotIn`` are not supported
13 changes: 13 additions & 0 deletions .codespell/ignore-words.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,32 @@
adaptee
ancilliary
ans
anull
arithmetics
asend
ba
ccompiler
checkin
clos
complies
crate
dedented
discernable
dota
extraversion
falsy
fo
groth
iif
implementor
implementors
loath
nd
ned
re-usable
re-use
re-used
re-using
recuse
reenable
referencable
Expand Down
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[codespell]
skip = ./.git
skip = ./.git,./.codespellrc,./build,./ruff_cache,./.venv
ignore-words = .codespell/ignore-words.txt
exclude-file = .codespell/exclude-file.txt
uri-ignore-words-list = daa,ist,searchin,theses
53 changes: 47 additions & 6 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
* @python/pep-editors

# PEP infrastructure
.github/dependabot.yml @hugovk
.github/workflows/ @AA-Turner @CAM-Gerlach
Makefile @AA-Turner
requirements.txt @AA-Turner
Makefile @AA-Turner @hugovk
requirements.txt @AA-Turner @hugovk
infra/ @ewdurbin

pep_sphinx_extensions/ @AA-Turner
Expand Down Expand Up @@ -49,7 +50,7 @@ peps/pep-0020.rst @tim-one
peps/pep-0042.rst @jeremyhylton
# ...
peps/pep-0100.rst @malemburg
peps/pep-0101.rst @Yhg1s @pablogsal @ambv @ned-deily
peps/pep-0101.rst @hugovk @Yhg1s @pablogsal @ambv @ned-deily
peps/pep-0102.rst @warsaw @gvanrossum
# peps/pep-0103.rst
# ...
Expand Down Expand Up @@ -153,7 +154,7 @@ peps/pep-0293.rst @doerwalter
# peps/pep-0295.rst
# peps/pep-0296.rst
peps/pep-0297.rst @malemburg
peps/pep-0298.rst @theller
# peps/pep-0298.rst
# peps/pep-0299.rst
# peps/pep-0301.rst
peps/pep-0302.rst @pfmoore
Expand Down Expand Up @@ -561,10 +562,9 @@ peps/pep-0678.rst @iritkatriel
peps/pep-0679.rst @pablogsal
peps/pep-0680.rst @encukou
peps/pep-0681.rst @jellezijlstra
peps/pep-0682.rst @mdickinson
peps/pep-0682.rst
peps/pep-0683.rst @ericsnowcurrently
peps/pep-0684.rst @ericsnowcurrently
# peps/pep-0684.rst
peps/pep-0685.rst @brettcannon
peps/pep-0686.rst @methane
peps/pep-0687.rst @encukou @erlend-aasland
Expand Down Expand Up @@ -606,11 +606,52 @@ peps/pep-0724.rst @jellezijlstra
peps/pep-0725.rst @pradyunsg
peps/pep-0726.rst @AA-Turner
peps/pep-0727.rst @JelleZijlstra
peps/pep-0728.rst @JelleZijlstra
peps/pep-0729.rst @JelleZijlstra @hauntsaninja
peps/pep-0730.rst @ned-deily
peps/pep-0731.rst @encukou @vstinner @zooba @erlend-aasland @serhiy-storchaka @mdboom
peps/pep-0732.rst @Mariatta
peps/pep-0733.rst @encukou @vstinner @zooba @iritkatriel
peps/pep-0734.rst @ericsnowcurrently
peps/pep-0735.rst @brettcannon
peps/pep-0736.rst @Rosuav
peps/pep-0737.rst @vstinner
peps/pep-0738.rst @encukou
peps/pep-0740.rst @dstufft
peps/pep-0741.rst @vstinner
peps/pep-0742.rst @JelleZijlstra
peps/pep-0743.rst @vstinner @encukou
peps/pep-0744.rst @brandtbucher @savannahostrowski
peps/pep-0745.rst @hugovk
peps/pep-0746.rst @JelleZijlstra
peps/pep-0747.rst @JelleZijlstra
# ...
peps/pep-0749.rst @JelleZijlstra
peps/pep-0750.rst @gvanrossum @lysnikolaou
peps/pep-0751.rst @brettcannon
peps/pep-0752.rst @warsaw
peps/pep-0753.rst @warsaw
# peps/pep-0754.rst
peps/pep-0755.rst @warsaw
peps/pep-0756.rst @vstinner
peps/pep-0757.rst @vstinner
peps/pep-0758.rst @pablogsal @brettcannon
peps/pep-0759.rst @warsaw
peps/pep-0760.rst @pablogsal @brettcannon
peps/pep-0761.rst @sethmlarson @hugovk
peps/pep-0762.rst @pablogsal @ambv @lysnikolaou @emilyemorehouse
peps/pep-0763.rst @dstufft
peps/pep-0765.rst @iritkatriel @ncoghlan
peps/pep-0766.rst @warsaw
# ...
peps/pep-0777.rst @warsaw
# ...
peps/pep-0789.rst @njsmith
# ...
peps/pep-0801.rst @warsaw
# ...
peps/pep-2026.rst @hugovk
# ...
peps/pep-3000.rst @gvanrossum
peps/pep-3001.rst @birkenfeld
# peps/pep-3002.rst
Expand Down
4 changes: 3 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE/Mark a PEP Final.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ If you're unsure about something, just leave it blank and we'll take a look.
* [ ] Any substantial changes since the accepted version approved by the SC/PEP delegate
* [ ] Pull request title in appropriate format (``PEP 123: Mark Final``)
* [ ] ``Status`` changed to ``Final`` (and ``Python-Version`` is correct)
* [ ] Canonical docs/spec linked with a ``canonical-doc`` directive (or ``canonical-pypa-spec``, for packaging PEPs)
* [ ] Canonical docs/spec linked with a ``canonical-doc`` directive
(or ``canonical-pypa-spec`` for packaging PEPs,
or ``canonical-typing-spec`` for typing PEPs)
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: monthly
groups:
actions:
patterns:
- "*"
29 changes: 7 additions & 22 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Lint PEPs

on:
push:
pull_request:
workflow_dispatch:
on: [push, pull_request, workflow_dispatch]

permissions:
contents: read
Expand All @@ -23,30 +20,18 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Python 3
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: pip

- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.0
uses: tox-dev/action-pre-commit-uv@v1

- name: Check spelling
uses: pre-commit/action@v3.0.0
uses: tox-dev/action-pre-commit-uv@v1
with:
extra_args: --all-files --hook-stage manual codespell || true

check-peps:
name: Run check-peps
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3
uses: actions/setup-python@v4
with:
python-version: "3"

- name: Run check-peps
run: python check-peps.py --detailed
11 changes: 4 additions & 7 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Render PEPs

on:
push:
pull_request:
workflow_dispatch:
on: [push, pull_request, workflow_dispatch]

permissions:
contents: read
Expand All @@ -26,7 +23,7 @@ jobs:
matrix:
python-version:
- "3.x"
- "3.12-dev"
- "3.13-dev"

steps:
- name: Checkout
Expand All @@ -35,7 +32,7 @@ jobs:
fetch-depth: 0 # fetch all history so that last modified date-times are accurate

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
Expand All @@ -56,7 +53,7 @@ jobs:
if: (github.ref == 'refs/heads/main') && (matrix.python-version == '3.x')
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build # Synchronise with Makefile -> OUTPUT_DIR
folder: build # Synchronise with Makefile -> BUILDDIR
single-commit: true # Delete existing files

- name: Purge CDN cache
Expand Down
26 changes: 15 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,32 +33,36 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12-dev"
- "3.12"
- "3.13"
os:
- "windows-latest"
- "macos-latest"
- "ubuntu-latest"

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
allow-prereleases: true

- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U wheel
python -m pip install -U tox
- name: Install uv
uses: hynek/setup-cached-uv@v2
with:
cache-dependency-path: |
requirements.txt
- name: Run tests
- name: Run tests with tox
run: |
tox -e py -- -v --cov-report term
uvx --with tox-uv tox -e py -- -v --cov-report term
- name: Upload coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
flags: ${{ matrix.os }}
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ coverage.xml
# Virtual environments
*env
/venv

# Builds
/sphinx-warnings.txt
/peps/numerical.rst
Loading

0 comments on commit 51b61ed

Please sign in to comment.