<div dir="ltr">It is working for me on Rocky 9 with Sphinx 7.2.6 and a Texlive from this summer.<div><br></div><div>The missing step was removing the older Sphinx version. Then I had to also install PlantUML npm.</div><div><br></div><div>--joel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 19, 2023 at 3:45 PM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 20/12/2023 8:12 am, Joel Sherrill wrote:<br>
> I tried the patch on Rocky 9 with Python 3.9.14 and sphinx-build 5.3.0 from a<br>
> pip local install.<br>
> <br>
> (rtemsdocs) [joel@localhost rtems-docs]$ ./waf distclean<br>
> Waf: The wscript in '/home/joel/rtems-work/rtems-docs' is unreadable<br>
> Traceback (most recent call last):<br>
> File<br>
> "/home/joel/rtems-work/rtems-docs/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Scripting.py", line 102, in waf_entry_point<br>
> set_main_module(wscript)<br>
> File<br>
> "/home/joel/rtems-work/rtems-docs/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Scripting.py", line 142, in set_main_module<br>
> Context.g_module=Context.load_module(file_path)<br>
> File<br>
> "/home/joel/rtems-work/rtems-docs/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Context.py", line 362, in load_module<br>
> exec(compile(code,path,'exec'),module.__dict__)<br>
> File "/home/joel/rtems-work/rtems-docs/wscript", line 17, in <module><br>
> from common import waf as docs_waf<br>
> File "/home/joel/rtems-work/rtems-docs/common/waf.py", line 17, in <module><br>
> import conf<br>
> File "/home/joel/rtems-work/rtems-docs/common/conf.py", line 87, in <module><br>
> import sphinx_rtd_theme_rtems<br>
> File<br>
> "/home/joel/rtems-work/rtems-docs/common/sphinx_rtd_theme_rtems/__init__.py",<br>
> line 9, in <module><br>
> import sphinx<br>
> ModuleNotFoundError: No module named 'sphinx'<br>
> <br>
> Any ideas what I might be missing?<br>
<br>
This looks like a local set up issue.<br>
<br>
My testing was with python 3.11, venv and pip in the virtual env.<br>
<br>
> FWIW the patch didn't apply on my CentOS 7 VM with an even older Sphinx.<br>
<br>
The patch is from git to the mailing list. It is now pushed to master so please<br>
try there.<br>
<br>
Chris<br>
</blockquote></div>