Skip to content

Commit d9aff8d

Browse files
authored
Point to cpython/Doc/requirements.txt instead of duplicating it every time (#3301)
Let's also do some alpha-sorting and small cleanup. Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
1 parent 884379d commit d9aff8d

File tree

2 files changed

+17
-24
lines changed

2 files changed

+17
-24
lines changed

.overrides/upgrade-python-version.rst

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ We are currently in branch 3.12, and we want to update the strings from 3.13.
2323

2424
git checkout tags/v3.13.0 -b 3.13.0
2525

26-
#. Update the branch on the ``Makefile`` and check the ``requirements.txt`` from
27-
``./cpython/Doc`` directory, to see if upgrades on the modules like sphinx is
28-
needed.
26+
#. Update the branch on the ``Makefile``
2927

3028
#. Commit the update of the submodule change::
3129

@@ -40,9 +38,14 @@ We are currently in branch 3.12, and we want to update the strings from 3.13.
4038
python -m venv env
4139
source env/bin/activate # Windows: env\Scripts\activate.bat
4240
pip install -r requirements.txt
43-
44-
#. Verify that the docs build with the new versions you changed from
45-
``requirements.txt`` mainly the sphinx version::
41+
42+
.. note::
43+
This might fail if some of our own requirements
44+
conflict with cpython's. If so, find a way to fix
45+
*our* requirements.
46+
47+
#. Verify that the docs build with the new versions of the build requirements,
48+
mainly the sphinx version::
4649

4750
make build
4851

requirements.txt

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
1-
docutils==0.21.2
1+
-r cpython/Doc/requirements.txt
2+
3+
# Our own dependencies (alpha-sorted please)
24
pip
3-
Pygments>=2.17.0
4-
PyICU
55
polib
66
pospell>=1.1
77
potodo
88
powrap>=1.0.2
9-
setuptools
10-
sphinx-intl>=2.3.0
119
pre-commit
10+
Pygments>=2.17.0
11+
PyICU
12+
setuptools
1213
sphinx-autorun
1314
sphinxemoji
14-
sphinx-tabs==3.4.5
15+
sphinx-intl>=2.3.0
1516
sphinx-lint==0.7.0
17+
sphinx-tabs==3.4.5
1618
tabulate
17-
18-
# from cpython/Doc/requirements.txt
19-
sphinx~=8.0.0
20-
21-
blurb
22-
23-
sphinxext-opengraph~=0.9.0
24-
sphinx-notfound-page~=1.0.0
25-
26-
# The theme used by the documentation is stored separately, so we need
27-
# to install that as well.
28-
python-docs-theme>=2023.3.1,!=2023.7

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy