On Tue, Sep 30, 2025 at 03:13:29PM +0000, [email protected] wrote: > > This is failing on documentation build with: > > > /usr/bin/python3: No module named sphinx > > which should be (in Debian) coming from python3-sphinx -- specifically this > file: > > > /usr/lib/python3/dist-packages/sphinx/__init__.py > > However the build log at > > https://people.debian.org/~sanvila/build-logs/202509/python-parsl_2025.01.13+ds-1_amd64-20250930T113006.403Z > > only shows python3-sphinx as a recommended dependency, not one that is > installed for the build. > > I don't have my head in the Debian/Python packaging enough to see off the > top of my head what changed here.
Ok, I believe this is an easy one. One of the build depends is like this: Build-Depends: python3-sphinx-rtd-theme <!nocheck> A regular build installs python3-sphinx-rtd-theme which in turn depends on python3-sphinx, so both are installed. A build using the nocheck build profile will not install python3-sphinx-rtd-theme, and that's probably why python3-sphinx is not installed either. So, if python3-sphinx is required with and without the nocheck build profile, it should be added to Build-Depends as such, instead of relying on python3-sphinx-rtd-theme as an indirect (and conditional) dependency. Thanks.

