aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2024-01-17 13:50:24 +0000
committerGitHub <noreply@github.com>2024-01-17 14:50:24 +0100
commit6661b228ba4b4bbae8d549d43cc00941f59551b3 (patch)
tree97a349afff7c0aa96738e494cb9ef3559b117ca5
parent[3.10] gh-109858: Protect zipfile from "quoted-overlap" zipbomb (GH-110016) (... (diff)
downloadcpython-6661b228ba4b4bbae8d549d43cc00941f59551b3.tar.gz
cpython-6661b228ba4b4bbae8d549d43cc00941f59551b3.tar.bz2
cpython-6661b228ba4b4bbae8d549d43cc00941f59551b3.zip
[3.10] gh-114021: Pin various sphinxcontrib extensions to older versions (GH-114022) (GH-114038)
(cherry picked from commit 94b1d1fa38ada8cf7d196184a04a195c152eed75) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
-rw-r--r--Doc/constraints.txt24
-rw-r--r--Doc/requirements.txt2
2 files changed, 26 insertions, 0 deletions
diff --git a/Doc/constraints.txt b/Doc/constraints.txt
new file mode 100644
index 00000000000..16b735ea07a
--- /dev/null
+++ b/Doc/constraints.txt
@@ -0,0 +1,24 @@
+# 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.16.1,<3
+requests<3
+snowballstemmer<3
+sphinxcontrib-applehelp<1.0.5
+sphinxcontrib-devhelp<1.0.6
+sphinxcontrib-htmlhelp<2.0.5
+sphinxcontrib-jsmath<1.1
+sphinxcontrib-qthelp<1.0.7
+sphinxcontrib-serializinghtml<1.1.10
+
+# Direct dependencies of Jinja2 (Jinja is a dependency of Sphinx, see above)
+MarkupSafe<2.2
diff --git a/Doc/requirements.txt b/Doc/requirements.txt
index f43ce2c6e4e..da5c38ae1a0 100644
--- a/Doc/requirements.txt
+++ b/Doc/requirements.txt
@@ -16,3 +16,5 @@ blurb
# The theme used by the documentation is stored separately, so we need
# to install that as well.
python-docs-theme>=2022.1
+
+-c constraints.txt