Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Point to cpython/Doc/requirements.txt instead of duplicating it every time #3301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .overrides/upgrade-python-version.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ We are currently in branch 3.12, and we want to update the strings from 3.13.

git checkout tags/v3.13.0 -b 3.13.0

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

#. Commit the update of the submodule change::

Expand All @@ -40,9 +38,14 @@ We are currently in branch 3.12, and we want to update the strings from 3.13.
python -m venv env
source env/bin/activate # Windows: env\Scripts\activate.bat
pip install -r requirements.txt

#. Verify that the docs build with the new versions you changed from
``requirements.txt`` mainly the sphinx version::

.. note::
This might fail if some of our own requirements
conflict with cpython's. If so, find a way to fix
*our* requirements.

#. Verify that the docs build with the new versions of the build requirements,
mainly the sphinx version::

make build

Expand Down
26 changes: 8 additions & 18 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,18 @@
docutils==0.21.2
-r cpython/Doc/requirements.txt

# Our own dependencies (alpha-sorted please)
pip
Pygments>=2.17.0
PyICU
polib
pospell>=1.1
potodo
powrap>=1.0.2
setuptools
sphinx-intl>=2.3.0
pre-commit
Pygments>=2.17.0
PyICU
setuptools
sphinx-autorun
sphinxemoji
sphinx-tabs==3.4.5
sphinx-intl>=2.3.0
sphinx-lint==0.7.0
sphinx-tabs==3.4.5
tabulate

# from cpython/Doc/requirements.txt
sphinx~=8.0.0

blurb

sphinxext-opengraph~=0.9.0
sphinx-notfound-page~=1.0.0

# The theme used by the documentation is stored separately, so we need
# to install that as well.
python-docs-theme>=2023.3.1,!=2023.7