Skip to content

Commit 884379d

Browse files
authored
3.13 build comments (#3300)
Detalles en los mensajes de los commits * Clarifica el uso de `make build -j` (i.e.: NO usar) * Pinea `sphinx ~= 8.0.0`. En 8.1 agregaron los roles como built-in. * Remueve un par de settings en nuestro `conf.py` para reducir la brecha entre el nuestro y el de cpython --------- Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
1 parent b637d30 commit 884379d

3 files changed

Lines changed: 5 additions & 19 deletions

File tree

‎.overrides/upgrade-python-version.rst‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ We are currently in branch 3.12, and we want to update the strings from 3.13.
4848

4949
.. note::
5050

51-
You can also run `make build -j` to use more than 1 core (but keep in mind
52-
this is not always faster).
51+
The underlying ``sphinx-build`` command uses all available cores by default.
52+
Use the ``SPHINX_JOBS`` ``make`` variable (defaults to ``auto``)
53+
to specify an explicit amount, e.g. ``make build SPHINX_JOBS=10``.
5354

55+
.. note::
5456
It may fail the build because there may be files
5557
that don't exist anymore in the new branch.
5658
If that's the case, just continue with the steps

‎conf.py‎

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,7 @@
2929
sys.path.insert(0, os.path.abspath('cpython/Doc'))
3030
from conf import *
3131

32-
# FIXME
33-
# For fixing the warnings that state that 'cwe', 'cve' roles are already
34-
# defined.
35-
#
36-
# WARNING: role 'cve' is already registered, it will be overridden [app.add_role]
37-
# WARNING: role 'cwe' is already registered, it will be overridden [app.add_role]
38-
del extlinks["cwe"]
39-
del extlinks["cve"]
40-
41-
# Call patchlevel with the proper path to get the version from
42-
# instead of hardcoding it
43-
from patchlevel import get_version_info
44-
version, release = get_version_info()
45-
4632
project = 'Python en Español'
47-
year = time.strftime("%Y")
48-
copyright = f'2001-{year}, Python Software Foundation'
4933

5034
html_theme_path = ['cpython/Doc/tools']
5135
templates_path = ['cpython/Doc/tools/templates']

‎requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sphinx-lint==0.7.0
1616
tabulate
1717

1818
# from cpython/Doc/requirements.txt
19-
sphinx~=8.1.0
19+
sphinx~=8.0.0
2020

2121
blurb
2222

0 commit comments

Comments
 (0)