Skip to content

Update files for manual edit#382

Open
savannahostrowski wants to merge 4 commits intopython:mainfrom
savannahostrowski:adjust-releasepy-files
Open

Update files for manual edit#382
savannahostrowski wants to merge 4 commits intopython:mainfrom
savannahostrowski:adjust-releasepy-files

Conversation

@savannahostrowski
Copy link
Copy Markdown
Member

Based on files touched in python/cpython#149500, this updates the files for manual edit

@savannahostrowski savannahostrowski requested a review from hugovk May 7, 2026 17:27
Comment thread release.py Outdated
Comment thread release.py Outdated
if tag.patch == 0 and tag.level == "a" and tag.serial == 0:
extra_work = True
other_files += [
"configure",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one shouldn't be manually edited, but there's a nag message at line ~571 that seems easy to miss.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, maybe we should move it to before the manual edit loop when there's extra_work so it's more obvious?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I did miss it!

Logs were like this. For "Manual editing time..." it popped open each file in my editor, I edit and close, then the next one pops open.

After the last one, it shoots on along with all the other stuff:

...
✅  Final touches for the release
Switched to branch 'main'
Your branch is ahead of 'origin/main' by 1 commit.
  (use "git push" to publish your local commits)
Bumping version to 3.16.0a0
Updating Include/patchlevel.h... done
Updating README.rst... done

Manual editing time...
Edit configure.ac
Executing ['bbedit', '--wait', 'configure.ac']
Edit Doc/tutorial/interpreter.rst
Executing ['bbedit', '--wait', 'Doc/tutorial/interpreter.rst']
Edit Doc/tutorial/stdlib.rst
Executing ['bbedit', '--wait', 'Doc/tutorial/stdlib.rst']
Edit Doc/tutorial/stdlib2.rst
Executing ['bbedit', '--wait', 'Doc/tutorial/stdlib2.rst']
Skipping PC/pyconfig.h.in
Edit PCbuild/rt.bat
Executing ['bbedit', '--wait', 'PCbuild/rt.bat']
Edit .github/ISSUE_TEMPLATE/bug.yml
Executing ['bbedit', '--wait', '.github/ISSUE_TEMPLATE/bug.yml']
Edit .github/ISSUE_TEMPLATE/crash.yml
Executing ['bbedit', '--wait', '.github/ISSUE_TEMPLATE/crash.yml']
Bumped revision
configure.ac has changed; re-run autotools!
Please commit and use --tag
Run Ruff (lint) on Platforms/Apple/..................(no files to check)Skipped
Run Ruff (lint) on Doc/..............................(no files to check)Skipped
Run Ruff (lint) on Lib/test/.........................(no files to check)Skipped
Run Ruff (lint) on Platforms/WASI/...................(no files to check)Skipped
Run Ruff (lint) on Tools/build/......................(no files to check)Skipped
Run Ruff (lint) on Tools/i18n/.......................(no files to check)Skipped
Run Ruff (lint) on Argument Clinic...................(no files to check)Skipped
Run Ruff (lint) on Tools/peg_generator/..............(no files to check)Skipped
Run Ruff (lint) on Tools/wasm/.......................(no files to check)Skipped
Run Ruff (format) on Platforms/Apple/................(no files to check)Skipped
Run Ruff (format) on Doc/............................(no files to check)Skipped
Run Ruff (format) on Platforms/WASI/.................(no files to check)Skipped
Run Ruff (format) on Tools/build/check_warnings.py...(no files to check)Skipped
Run Ruff (format) on Tools/wasm/.....................(no files to check)Skipped
Run Black on Tools/jit/..............................(no files to check)Skipped
Tabs remover.........................................(no files to check)Skipped
check for case conflicts.................................................Passed
check for merge conflicts................................................Passed
check toml...........................................(no files to check)Skipped
check yaml...............................................................Passed
fix end of files.........................................................Passed
fix end of files.....................................(no files to check)Skipped
mixed line ending........................................................Passed
trim trailing whitespace.................................................Passed
trim trailing whitespace.............................(no files to check)Skipped
Validate Dependabot Config (v2)......................(no files to check)Skipped
Validate GitHub Workflows............................(no files to check)Skipped
Validate ReadTheDocs Config..........................(no files to check)Skipped
Lint GitHub Actions workflow files...................(no files to check)Skipped
zizmor...............................................(no files to check)Skipped
Sphinx Lint..............................................................Passed
Check C API news entries.............................(no files to check)Skipped
Check Core and Builtins news entries.................(no files to check)Skipped
Check hooks apply....................................(no files to check)Skipped
Check useless excludes...............................(no files to check)Skipped
[main f5c75351def] Python 3.16.0a0
 10 files changed, 178 insertions(+), 18 deletions(-)
 create mode 100644 Doc/whatsnew/3.16.rst
✅  prepare new main branch for feature freeze
...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #385 for another possibility.

savannahostrowski and others added 3 commits May 7, 2026 11:24
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
Comment thread release.py
@@ -553,11 +553,17 @@ def bump(tag: Tag) -> None:
"Doc/tutorial/interpreter.rst",
"Doc/tutorial/stdlib.rst",
"Doc/tutorial/stdlib2.rst",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Doc/tutorial/stdlib2.rst",
"Doc/tutorial/stdlib2.rst",
"Include/internal/pycore_magic_number.h",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants