gh: add python39-tomli Cygwin package for Sphinx 7.4 - #697
Merged
Conversation
Cygwin updated python39-sphinx from 4.4.0 to 7.4.7. On Python < 3.11,
Sphinx 7.4 imports the tomli module but the Cygwin package does not
declare python39-tomli as a dependency, so the documentation build now
fails on every Windows CI job:
Could not import extension sphinx.builders.changes (exception: No
module named 'tomli')
Explicitly install python39-tomli alongside the other Sphinx dependencies
already listed. The python39-docutils=0.18.1-1 pin is kept as Sphinx 7.4.7
builds the man and text documentation fine with this docutils version.
Also fix the misspelled python39-sphinxcontrib-jsmath package name on the
native-cmd and native-pwsh jobs, which silently skipped its installation.
Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
xdelaruelle
force-pushed
the
cygwin-sphinx-tomli
branch
from
September 9, 2026 15:48
b31354a to
004c832
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! 🚀 New features to boost your workflow:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows CI jobs started failing on every run (see #693) after Cygwin updated
python39-sphinxfrom 4.4.0 to 7.4.7. On Python < 3.11, Sphinx 7.4 imports thetomlimodule but the Cygwin package does not declarepython39-tomlias a dependency, so the documentation build aborts with:This change explicitly installs
python39-tomlion the three Windows jobs, alongside the other Sphinx dependencies already listed. Thepython39-docutils=0.18.1-1pin is kept: Sphinx 7.4.7 builds the man and text documentation fine with this docutils version.It also fixes the misspelled
python39-sphinxcontrib-jsmathpackage name on the native-cmd and native-pwsh jobs (python39-sphinxco ntrib-jsmath), which made Cygwin setup silently skip that package.