mirror of
https://github.com/python/cpython.git
synced 2025-10-02 13:22:19 +00:00
[3.11] Docs build: Add upper bounds to transitive dependencies (GH-103860) (#103887)
Docs build: Add upper bounds to transitive dependencies (GH-103860)
(cherry picked from commit 81cf94c442
)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
57c96346dd
commit
97711de594
2 changed files with 34 additions and 0 deletions
29
Doc/constraints.txt
Normal file
29
Doc/constraints.txt
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# We have upper bounds on our transitive dependencies here
|
||||||
|
# To avoid new releases unexpectedly breaking our build.
|
||||||
|
# This file can be updated on an ad-hoc basis,
|
||||||
|
# though it will probably have to be updated
|
||||||
|
# whenever Doc/requirements.txt is updated.
|
||||||
|
|
||||||
|
# Direct dependencies of Sphinx
|
||||||
|
babel<3
|
||||||
|
colorama<0.5
|
||||||
|
imagesize<1.5
|
||||||
|
Jinja2<3.2
|
||||||
|
packaging<24
|
||||||
|
# Pygments==2.15.0 breaks CI
|
||||||
|
Pygments<2.16,!=2.15.0
|
||||||
|
requests<3
|
||||||
|
snowballstemmer<3
|
||||||
|
sphinxcontrib-applehelp<1.1
|
||||||
|
sphinxcontrib-devhelp<1.1
|
||||||
|
sphinxcontrib-htmlhelp<2.1
|
||||||
|
sphinxcontrib-jsmath<1.1
|
||||||
|
sphinxcontrib-qthelp<1.1
|
||||||
|
sphinxcontrib-serializinghtml<1.2
|
||||||
|
|
||||||
|
# Direct dependencies of Jinja2 (Jinja is a dependency of Sphinx, see above)
|
||||||
|
MarkupSafe<2.2
|
||||||
|
|
||||||
|
# Direct dependencies of sphinx-lint
|
||||||
|
polib<1.3
|
||||||
|
regex<2024
|
|
@ -1,4 +1,7 @@
|
||||||
# Requirements to build the Python documentation
|
# Requirements to build the Python documentation
|
||||||
|
#
|
||||||
|
# Note that when updating this file, you will likely also have to update
|
||||||
|
# the Doc/constraints.txt file.
|
||||||
|
|
||||||
# Sphinx version is pinned so that new versions that introduce new warnings
|
# Sphinx version is pinned so that new versions that introduce new warnings
|
||||||
# won't suddenly cause build failures. Updating the version is fine as long
|
# won't suddenly cause build failures. Updating the version is fine as long
|
||||||
|
@ -13,3 +16,5 @@ sphinxext-opengraph>=0.7.1
|
||||||
# The theme used by the documentation is stored separately, so we need
|
# The theme used by the documentation is stored separately, so we need
|
||||||
# to install that as well.
|
# to install that as well.
|
||||||
python-docs-theme>=2022.1
|
python-docs-theme>=2022.1
|
||||||
|
|
||||||
|
-c constraints.txt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue