This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git
The following commit(s) were added to refs/heads/main by this push:
new b99dcdc Use Python3.12 for branch docs builds (#376)
b99dcdc is described below
commit b99dcdc11859b3fd5acc5b22254e445eafff5b7d
Author: Brian Neradt <[email protected]>
AuthorDate: Fri Apr 11 18:41:59 2025 -0500
Use Python3.12 for branch docs builds (#376)
The latest Sphinx requires Python 3.12
---
jenkins/bin/docs.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/jenkins/bin/docs.sh b/jenkins/bin/docs.sh
index c2c292c..95cfd67 100755
--- a/jenkins/bin/docs.sh
+++ b/jenkins/bin/docs.sh
@@ -50,6 +50,11 @@ then
docbuilddir="docbuild/doc/docbuild"
+ # Sphinx 8.1 requires a recent version of Python.
+ export PIPENV_VENV_IN_PROJECT=1
+ python3.12 -m pipenv install --python python3.12
+ source .venv/bin/activate
+
# english
rm -rf docbuild
cmake -B docbuild -DDOC_LANG:STRING='en' -DENABLE_DOCS=ON