Skip to content

Commit c8212a9

Browse files
authored
Merge branch 'main' into pep-813-pprint
2 parents 8f744fb + d8927bd commit c8212a9

File tree

11 files changed

+173
-132
lines changed

11 files changed

+173
-132
lines changed

.pytest.toml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# https://docs.pytest.org/en/stable/reference/customize.html
2+
3+
[pytest]
4+
minversion = "9.0"
5+
6+
# https://docs.pytest.org/en/stable/reference/reference.html#command-line-flags
7+
addopts = [
8+
# Show extra summary information for all non-passing tests
9+
"-r a",
10+
# https://docs.pytest.org/en/stable/explanation/pythonpath.html#import-modes
11+
"--import-mode=importlib",
12+
# https://pytest-cov.readthedocs.io/en/latest/config.html#reference
13+
"--cov=check_peps",
14+
"--cov=pep_sphinx_extensions",
15+
"--cov-report=html",
16+
"--cov-report=xml",
17+
]
18+
19+
# Fail if pytest.mark.parametrize() has no parameters
20+
empty_parameter_set_mark = "fail_at_collect"
21+
22+
filterwarnings = ["error"]
23+
24+
testpaths = [
25+
"pep_sphinx_extensions",
26+
]
27+
28+
# https://docs.pytest.org/en/stable/reference/reference.html#confval-strict
29+
strict_config = true
30+
strict_markers = true
31+
strict_parametrization_ids = true
32+
strict_xfail = true
33+
34+
# Various tests use Unicode in pytest.mark.parametrize().
35+
disable_test_id_escaping_and_forfeit_all_rights_to_community_support = true

peps/pep-0101.rst

Lines changed: 6 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -646,51 +646,6 @@ permissions.
646646

647647
curl -X PURGE https://www.python.org/downloads/release/python-XXX/
648648

649-
- If this is a **final** release:
650-
651-
- Add the new version to the `"Python documentation by version"
652-
page <https://www.python.org/doc/versions/>`__ and
653-
remove the current version from any 'in development' section.
654-
655-
- For 3.X.Y, edit all the previous X.Y releases' page(s) to
656-
point to the new release. This includes the content field of the
657-
``Downloads -> Releases`` entry for the release::
658-
659-
Note: Python 3.x.(y-1) has been superseded by
660-
`Python 3.x.y </downloads/release/python-3xy/>`_.
661-
662-
And, for those releases having separate release page entries
663-
(phasing these out?), update those pages as well,
664-
e.g. ``download/releases/3.x.y``::
665-
666-
Note: Python 3.x.(y-1) has been superseded by
667-
`Python 3.x.y </download/releases/3.x.y/>`_.
668-
669-
- Update the `"Current pre-release testing versions" page
670-
<https://www.python.org/download/pre-releases/>`__.
671-
672-
- If you're releasing a version before *3.x.0*,
673-
add it to this page, removing the previous pre-release
674-
of version *3.x* as needed.
675-
676-
- If you're releasing *3.x.0 final*, remove the pre-release
677-
version from this page.
678-
679-
This is in the "Pages" category on the Django-based website, and finding
680-
it through that UI is kind of a chore. However! If you're already logged
681-
in to the admin interface (which, at this point, you should be), Django
682-
will helpfully add a convenient "Edit this page" link to the top of the
683-
page itself. So you can simply follow the link above, click on the
684-
"Edit this page" link, and make your changes as needed. How convenient!
685-
686-
- If appropriate, update the `"Python documentation by version" page
687-
<https://www.python.org/doc/versions/>`__.
688-
689-
This lists all releases of Python by version number and links to their
690-
static (not built daily) online documentation. There's a link at the
691-
bottom to the in-development version.
692-
And yes you can press the shiny, exciting "Edit this page" button.
693-
694649
- Write the announcement on `discuss.python.org`_. This is the
695650
fuzzy bit because not much can be automated. You can use an earlier
696651
announcement as a template, but edit it for content!
@@ -726,9 +681,7 @@ permissions.
726681
- Update the `issue tracker`_ for the new branch:
727682
add the new version to the versions list.
728683

729-
- Update the `devguide
730-
<https://github.com/python/devguide/blob/main/include/release-cycle.json>`__
731-
to reflect the new branches and versions.
684+
- Update python-releases.toml_ to reflect the new branches and versions.
732685

733686
- Create a PR to update the supported releases table on the
734687
`downloads page <https://www.python.org/downloads/>`__ (see
@@ -812,10 +765,10 @@ else does them. Some of those tasks include:
812765

813766
* https://www.python.org/downloads/release/python-336/
814767

815-
- In the `developer's guide
816-
<https://github.com/python/devguide/blob/main/include/release-cycle.json>`__,
817-
set the branch status to end-of-life
818-
and update or remove references to the branch elsewhere in the devguide.
768+
- In python-releases.toml_, set the branch status to end-of-life.
769+
770+
- Update or remove references to the branch in the `developer's guide
771+
<https://github.com/python/devguide/>`__.
819772

820773
- Retire the release from the `issue tracker`_. Tasks include:
821774

@@ -884,6 +837,7 @@ This document has been placed in the public domain.
884837
.. _deferred-blocker: https://github.com/python/cpython/labels/deferred-blocker
885838
.. _discuss.python.org: https://discuss.python.org
886839
.. _issue tracker: https://github.com/python/cpython/issues
840+
.. _python-releases.toml: https://github.com/python/peps/blob/HEAD/release_management/python-releases.toml
887841
.. _python/cpython: https://github.com/python/cpython
888842
.. _python/peps: https://github.com/python/peps
889843
.. _python/release-tools: https://github.com/python/release-tools

peps/pep-0693.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,13 @@ Source-only security fix releases
8282

8383
Provided irregularly on an as-needed basis until October 2028.
8484

85+
.. release schedule: security
86+
8587
- 3.12.11: Tuesday, 2025-06-03
8688
- 3.12.12: Thursday, 2025-10-09
8789

90+
.. release schedule: ends
91+
8892
3.12 Lifespan
8993
-------------
9094

peps/pep-0790.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ Actual:
3737

3838
- 3.15 development begins: Wednesday, 2025-05-07
3939
- 3.15.0 alpha 1: Tuesday, 2025-10-14
40+
- 3.15.0 alpha 2: Wednesday, 2025-11-19
4041

4142
Expected:
4243

43-
- 3.15.0 alpha 2: Tuesday, 2025-11-18
4444
- 3.15.0 alpha 3: Tuesday, 2025-12-16
4545
- 3.15.0 alpha 4: Tuesday, 2026-01-13
4646
- 3.15.0 alpha 5: Tuesday, 2026-02-10

0 commit comments

Comments
 (0)