-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update chpldoc dependencies (#24612)
This PR updates the chpldoc requirements to the newest versions. I tried this because I was thinking about adjustment to the search box, and I wanted to see if the newer versions of Sphinx behave differently. (They do not seem to). Sphinx 7.2.6 requires Python >= 3.9, so this PR updates prereqs.rst to list 3.9 as required for chpldoc, start_test, and c2chapel. (The previous requirement for these was Python 3.7). It adds the sphinx extension `sphinxcontrib.jquery` to `conf.py` because the search box from sphinx-rtd-theme now uses jquery. | package | version before this PR | version after this PR | | ------- | ---------------------- | --------------------- | | MarkupSafe | 2.1.3 | 2.1.5 | | Sphinx | 5.3.0 | 7.2.6 | | urllib3 | 2.1.0 | 2.2.1 | | docutils | 0.18 | 0.20.1 | | sphinxcontrib-chapeldomain | 0.0.31 | 0.0.32 | (note that chapel-lang/sphinxcontrib-chapeldomain#92 updated sphinxcontrib-chapeldomain in a coordinated manner: docutils 0.18 -> 0.20.1 and Sphinx 5.3.0 -> 7.2.6. The result of that PR is available in sphinxcontrib-chapeldomain version 0.0.32.) Reviewed by @lydia-duncan - thanks! - [x] full comm=none testing
- Loading branch information
Showing
17 changed files
with
29 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
sed -e '/^Running Sphinx v/,/URL_ROOT:/d;s/^ *//;/LANGUAGE:/,$d' $2 > $2.tmp | ||
mv $2.tmp $2 | ||
# if the docs build suceeded, replace the output to check with | ||
# the generated VERSION line, trimmed to remove leading spaces | ||
if [ -f docs/_static/documentation_options.js ] | ||
then | ||
grep VERSION docs/_static/documentation_options.js | sed 's/^ *//' > $2.tmp | ||
mv $2.tmp $2 | ||
fi |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
error: Invalid version format: 21.0. due to: Cannot end with dot, can end with either number or tag | ||
cat: docs/_static/documentation_options.js: No such file or directory |
1 change: 0 additions & 1 deletion
1
test/chpldoc/compflags/version/projectVersion.invalidCharacter.doc.good
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
error: Invalid version format: a.c.d due to: Invalid Characters, only digits and dots permitted before a hyphen | ||
cat: docs/_static/documentation_options.js: No such file or directory |
1 change: 0 additions & 1 deletion
1
test/chpldoc/compflags/version/projectVersion.invalidTag.doc.good
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
error: Invalid version format: 21.0.3-invalid due to: Tag not supported, supported tags are alpha/beta/rc | ||
cat: docs/_static/documentation_options.js: No such file or directory |
1 change: 0 additions & 1 deletion
1
test/chpldoc/compflags/version/projectVersion.lessDots.doc.good
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
error: Invalid version format: 21.0-alpha due to: Required only two dots which separates three numbers | ||
cat: docs/_static/documentation_options.js: No such file or directory |
1 change: 0 additions & 1 deletion
1
test/chpldoc/compflags/version/projectVersion.missingNumbers.doc.good
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
error: Invalid version format: 21..3 due to: Missing number between dots | ||
cat: docs/_static/documentation_options.js: No such file or directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Split into 3 files to work around problems with CHPL_PIP_FROM_SOURCE | ||
MarkupSafe==2.1.3 | ||
MarkupSafe==2.1.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Split into 3 files to work around problems with CHPL_PIP_FROM_SOURCE | ||
Jinja2==3.1.3 | ||
Pygments==2.17.2 | ||
Sphinx==5.3.0 | ||
urllib3==2.1.0 | ||
docutils==0.18 | ||
Sphinx==7.2.6 | ||
urllib3==2.2.1 | ||
docutils==0.20.1 | ||
babel==2.14.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Split into 3 files to work around problems with CHPL_PIP_FROM_SOURCE | ||
sphinx-rtd-theme==2.0.0 | ||
sphinxcontrib-chapeldomain==0.0.31 | ||
sphinxcontrib-chapeldomain==0.0.32 | ||
breathe==4.35.0 |