11:orphan:
22
3- How to update to a new Python version
4- =====================================
3+ How to upgrade to a new Python version
4+ ======================================
55
6- We are currently in branch 3.12 , and we want to update the strings from 3.13 .
6+ We are currently in branch 3.13 , and we want to update the strings from 3.14 .
77
8- #. Make sure you are in a clean state of the branch 3.12
8+ #. Make sure you are in a clean state of the branch 3.13
99
10- #. Create a new branch called ``3.13 ``
10+ #. Create a new branch called ``3.14 ``
1111
1212#. Initialize the submodules::
1313
1414 git submodule init
1515 git submodule update
1616
17- #. Fetch the `latest release tag of 3.12 <https://github.com/python/cpython/releases/tag/v3.13 .0 >`_::
17+ #. Fetch the `latest release tag of 3.14 <https://github.com/python/cpython/releases/tag/v3.14 .0 >`_::
1818
1919 cd cpython/
20- git fetch --depth 1 origin tags/v3.13 .0
20+ git fetch --depth 1 origin refs/ tags/v3.14.0:refs/tags/v3.14 .0
2121
2222#. Checkout that commit locally::
2323
24- git checkout tags/v3.13 .0 -b 3.13 .0
24+ git checkout tags/v3.14 .0 -b 3.14 .0
2525
2626#. Update the branch on the ``Makefile ``
2727
@@ -71,13 +71,13 @@ We are currently in branch 3.12, and we want to update the strings from 3.13.
7171 in the next step. It's included here because it might be a leftover
7272 from previous attempts on your machine.
7373
74- #. Create the .po files from the new source code. This will generate all the .po files for version 3.11 ::
74+ #. Create the .po files from the new source code. This will generate all the .po files for version 3.14 ::
7575
7676 SPHINX_GETTEXT=True sphinx-build -j auto -b gettext -d _build/doctrees . cpython/python-docs-es-pot
7777
7878 .. note::
7979
80- In ``cpython/python-docs-es-pot`` directory, we will have the new .pot files with new strings from 3.13 branch.
80+ In ``cpython/python-docs-es-pot`` directory, we will have the new .pot files with new strings from 3.14 branch.
8181 All these strings will be *untranslated* at this point.
8282
8383#. Now, we update our translated files form the source language (English) with new strings::
@@ -104,14 +104,14 @@ We are currently in branch 3.12, and we want to update the strings from 3.13.
104104**Once the process is completely and you are happy with the results,
105105there are a few extra steps to finish the process **
106106
107- #. Upgrade GitHub Actions to use Python 3.13 , by updating Python version to 3.13 in the ``.github/workflows/main.yml `` file.
107+ #. Upgrade GitHub Actions to use Python 3.14 , by updating Python version to 3.14 in the ``.github/workflows/main.yml `` file.
108108
109- #. Update the *Read the Docs * project to use 3.13 in the build and also as default branch/version.
109+ #. Update the *Read the Docs * project to use 3.14 in the build and also as default branch/version.
110110
111111#. Commit all the newly created files locally.
112112
113- #. Create branch 3.13 in the repository in order to merge changes there.
113+ #. Create branch 3.14 in the repository in order to merge changes there.
114114
115- #. Inside the github project settings, set 3.13 branch as the default branch for the repository.
115+ #. Inside the github project settings, set 3.14 branch as the default branch for the repository.
116116
117117#. Create GitHub issues with [the script](../scripts/create_issue.py)
0 commit comments