Skip to content

Commit 58c3e8c

Browse files
committed
Update guide to upgrade the Python version
- add step for GitHub Action - add step for Read the Docs
1 parent 1b3e637 commit 58c3e8c

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.overrides/upgrade-python-version.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ We are currently in branch 3.10, and we want to update the strings from 3.11.
5353
pip install -r requirements.txt
5454

5555

56-
#. Create the .po files from the new source code. This will generate all the .po files for version 3.8::
56+
#. Create the .po files from the new source code. This will generate all the .po files for version 3.11::
5757

5858
SPHINX_GETTEXT=True sphinx-build -j auto -b gettext -d _build/doctrees . ../python-docs-es-pot
5959

@@ -69,8 +69,8 @@ We are currently in branch 3.10, and we want to update the strings from 3.11.
6969
#. At this point, all the `.po` files will have a different comment on each translation phrase,
7070
for example::
7171

72-
-#: ../Doc/whatsnew/3.9.rst:3
73-
+#: ../python-docs-es/cpython/Doc/whatsnew/3.9.rst:3
72+
-#: ../Doc/whatsnew/3.11.rst:3
73+
+#: ../python-docs-es/cpython/Doc/whatsnew/3.11.rst:3
7474

7575
As you can see, it added the path of the local repository, but you can
7676
remove it from it with this regular expression::
@@ -91,3 +91,11 @@ We are currently in branch 3.10, and we want to update the strings from 3.11.
9191
you will find many warnings that needs to be fixed before the push
9292
of the new branch is done. So prepare a cup of any hot beverage
9393
and fix them.
94+
95+
96+
Once the process is completely and you are happy with the results,
97+
there are a few extra steps to finish the process::
98+
99+
#. Upgrade GitHub Actions to use Python 3.11
100+
101+
#. Update Read the Docs project to use 3.11 in the build and also as default branch/version

0 commit comments

Comments
 (0)