As a followup, it looks like we're only running release.py from ./.github/workflows/source-and-docs-release.yml and only with the --export and --skip-docs options to build the source artifacts. Docs are built by calling the docs' make dist directly.
The release process uses run_release.py, so we could remove a bunch of unused code related to the unused release.py options: --bump, --upload, --branch, --tag, --done.
Edit: --bump, --tag, --done are referenced in PEP 101 so should stay.
README
in https://github.com/python/cpython/tree/3.5README.rst
from https://github.com/python/cpython/tree/3.6 onwardsAs a followup, it looks like we're only running
release.py
from./.github/workflows/source-and-docs-release.yml
and only with the--export
and--skip-docs
options to build the source artifacts. Docs are built by calling the docs'make dist
directly.The release process uses
run_release.py
, so we could remove a bunch of unused code related to the unusedrelease.py
options:--bump
,--upload
,--branch
,--tag
,--done
.Edit:
--bump
,--tag
,--done
are referenced in PEP 101 so should stay.