Skip to content

GH-137618: Require Python 3.10 to Python 3.15 for PYTHON_FOR_REGEN #137619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Default settings for Ruff in CPython

# PYTHON_FOR_REGEN
target-version = "py310"
target-version = "py311"

# PEP 8
line-length = 79
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
``PYTHON_FOR_REGEN`` now requires Python 3.11 to Python 3.15.
Patch by Adam Turner.
4 changes: 0 additions & 4 deletions Tools/build/.ruff.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
extend = "../../.ruff.toml" # Inherit the project-wide settings

[per-file-target-version]
"deepfreeze.py" = "py311" # requires `code.co_exceptiontable`
"stable_abi.py" = "py311" # requires 'tomllib'

[format]
preview = true
docstring-code-format = true
Expand Down
2 changes: 1 addition & 1 deletion configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ AC_SUBST([FREEZE_MODULE_DEPS])
AC_SUBST([PYTHON_FOR_BUILD_DEPS])

AC_CHECK_PROGS([PYTHON_FOR_REGEN],
[python$PACKAGE_VERSION python3.13 python3.12 python3.11 python3.10 python3 python],
[python$PACKAGE_VERSION python3.15 python3.14 python3.13 python3.12 python3.11 python3 python],
[python3])
AC_SUBST([PYTHON_FOR_REGEN])

Expand Down
Loading