Update sphinx version
Categories
(Thunderbird :: Help Documentation, task, P2)
Tracking
(Not tracked)
People
(Reporter: freaktechnik, Assigned: ebaginski, NeedInfo)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file, 1 obsolete file)
The version of the python packages we use for source doc hasn't been touched in a while and seems fairly far behind compared to m-c. My local setup complained about the sphinx-js version. I've tried to update the versions locally and that seems to have worked, but I don't think my patch is quite correct for it, thus only submitting as WIP.
| Reporter | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
| Reporter | ||
Comment 2•1 month ago
|
||
I've noticed when I locally run sphinx with these updated packages a bunch of xrefs seem to break.
Comment 3•1 month ago
|
||
Just trying to judge priority of this. Is sphinx-js broken at the current version? I don't think these dependencies are meant to be kept in sync with Firefox. But they are pretty old and do need updating.
| Reporter | ||
Comment 4•1 month ago
•
|
||
mach tb-doc fails to run locally for some at least. Might be python version related, not sure. But it complains that it can't install sphinx-js.
Using Python 3.14.8 environment at: /home/[...]/mozbuild/srcdirs/[...]/_virtualenvs/tb_docs
error: No solution found when resolving dependencies
cause: Because sphinx-js==3.2.2 depends on markupsafe==2.0.1 and markupsafe==3.0.2, we can
conclude that sphinx-js==3.2.2 cannot be used.
And because you require sphinx-js==3.2.2, we can conclude that your requirements are
unsatisfiable.
Updated•27 days ago
|
Updated•24 days ago
|
| Assignee | ||
Comment 5•16 days ago
|
||
sphinx-js 3.2.2 pins markupsafe==2.0.1, which conflicts with the
markupsafe 3.0.2 vendored by m-c, so mach tb-doc fails.
This updates Sphinx and related libraries to the versions used by m-c,
and copies m-c's staging_paths extension to fix links broken by the
Sphinx upgrade.
| Assignee | ||
Comment 6•16 days ago
•
|
||
I was able to get sphinx and related libraries to the same versions as those in Firefox, and build succeeds. The broken xrefs @freaktechnik mentioned was caused by the update and was fixed by Firefox in D324436, so I just ported that addon in this patch too.
There are other (186 to be exact) errors related to jsdoc, which according to Claude existed before and are mostly build noise. So I'll address those separately, if that's okay.
| Assignee | ||
Updated•11 days ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/44730855bf50
Update Thunderbird docs to Sphinx 9.1.0. r=coreycb,freaktechnik
Description
•