scipy: BUG: Offline documentation build fails with Sphinx 4.5

Describe your issue.

After upgrading Sphinx from version 4.2.0 to 4.5.0, the SciPy documentation can no longer be built, failing with error:

Sphinx parallel build error:
AttributeError: can't set attribute
make: *** [Makefile:122: html-build] Error 2
error: in phase 'install-doc': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("html" "SPHINXOPTS=-j24") exit-status: 2 term-signal: #f stop-signal: #f>
phase `install-doc' failed after 55.8 seconds
command "make" "html" "SPHINXOPTS=-j24" failed with status 2

Reproducing Code Example

Bumping the sphinx dependency to latest should trigger the problem.

Error message

Full build log attached, GZip-compressed. *EDIT: removed for security reasons*

SciPy/NumPy/Python version information

1.8.0/1.21.6/3.9.9

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (11 by maintainers)

Most upvoted comments

No worries thanks for following up. Be sure to check the version we use for 1.8. For the theme we update quite often as we use the latest features and don’t maintain backward compatibility here.

Good Friday to you as well 😃

Ok but IMO it’s an issue on Sphinx. Good that there are warnings, but it could still go on with the build.