Skip to content

Commit cb8564c

Browse files
committed
docs: add notes regarding get-pip.py during the release
1 parent bcad1b1 commit cb8564c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/html/development/release-process.rst

+18
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,23 @@ Creating a new release
107107
Steps 3 to 6 are automated in ``nox -s release -- YY.N`` command.
108108

109109

110+
.. note::
111+
112+
If the release dropped the support of an obsolete Python version ``M.m``,
113+
a new ``M.m/get-pip.py`` needs to be published: update the ``all`` task from
114+
``tasks/generate.py`` in `get-pip repository`_ and make a pull request to
115+
`psf-salt repository`_ to add the new ``get-pip.py`` (and its directory) to
116+
``salt/pypa/bootstrap/init.sls``.
117+
118+
119+
.. note::
120+
If the ``get-pip.py`` script needs to be updated due to changes in pip internals
121+
and if the last ``M.m/get-pip.py`` published still uses the default template, make
122+
sure to first duplicate ``templates/default.py`` as ``templates/pre-YY.N.py``
123+
before updating it and specify in ``tasks/generate.py`` that ``M.m/get-pip.py``
124+
now needs to use ``templates/pre-YY.N.py``.
125+
126+
110127
Creating a bug-fix release
111128
--------------------------
112129

@@ -125,4 +142,5 @@ order to create one of these the changes should already be merged into the
125142
the above release process starting with step 4.
126143

127144
.. _`get-pip repository`: https://github.com/pypa/get-pip
145+
.. _`psf-salt repository`: https://github.com/python/psf-salt
128146
.. _`CPython`: https://github.com/pypa/cpython

0 commit comments

Comments
 (0)