Skip to content

gh-132930: Implement PEP 773 #132931

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

Merged
merged 15 commits into from
Apr 28, 2025
Merged

gh-132930: Implement PEP 773 #132931

merged 15 commits into from
Apr 28, 2025

Conversation

zooba
Copy link
Member

@zooba zooba commented Apr 25, 2025

Primarily docs and deprecation warnings here, as the Python install manager will go into a separate repository.

Biggest change is adding support to the PC/layout script. The changes to use this script will go in the release-tools repository (and will also support using the latest script when repackaging older versions, so no need to backport).


📚 Documentation preview 📚: https://cpython-previews--132931.org.readthedocs.build/

@bedevere-app bedevere-app bot mentioned this pull request Apr 25, 2025
5 tasks
@zooba zooba marked this pull request as ready for review April 25, 2025 22:13
@zooba zooba requested a review from a team as a code owner April 25, 2025 22:13
Comment on lines +213 to +221
elif ns.include_chm:
STD_PEP514[0]["Help"]["Main Python Documentation"] = {
"_": rf"%PREFIX%Doc\{PYTHON_CHM_NAME}",
}
STD_START[0]["Items"].append({
"Name": f"{DISPLAY_NAME} {VER_DOT} Manuals{DISPLAY_SUFFIX}",
"Target": "%WINDIR%hhc.exe",
"Arguments": rf"%PREFIX%Doc\{PYTHON_CHM_NAME}",
})
Copy link
Member

Choose a reason for hiding this comment

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

I had thought we removed CHM ages ago?

Copy link
Member Author

Choose a reason for hiding this comment

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

This script can be used to repackage releases a long way back, so it still has the support in there. Even though it lives in the repo alongside a particular version, it is pretty independent of the actual version it's laying out.

@zooba
Copy link
Member Author

zooba commented Apr 28, 2025

I'm going to merge this, as I need it to finish up the release scripts which need the most testing. Happy to take more comments here if people spot things that ought to be fixed (the launcher change will get backported eventually, but not directly from this PR.)

@zooba zooba merged commit e20ca6d into python:main Apr 28, 2025
46 checks passed
@zooba zooba deleted the pymanager branch April 28, 2025 15:49
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.

2 participants