Closed shcrela closed 3 years ago
Hey @shcrela, thanks for reporting. We'll try to fix that in a future release.
In the meantime, please downgrade to Sphinx 3.4 or 3.2 to avoid seeing that error.
@mrclary, could you verify if sphinxcontrib-jsmath
is part of the Mac installer for 5.0.2? See issue #15609 for the rationale.
Also, what's the docutils version included in the installer?
5.0.2 was built with sphinx=4.0.0
, sphinxcontrib-jsmath=?
, and docutils=0.17.1
.
The latest artifact (e78c2bb49f2e7b97adb53a1813db6d0d60982f3c) was built with the following Python environment (sphinx=4.0.1
, sphinxcontrib-jsmath=1.0.1
, and docutils=0.17.1
).
Both sphinx 4.0 and docutils 0.17 were recently released.
Sphinx 3.5.4 showed a requirement docutils>=0.12,<0.17
while sphinx 4.0 introduced docutils>=0.14,<0.18
.
The error message suggests that docutils needs to be installed outside the zip directory in the application. The only reason I can think that this was not an issue before is that docutils/writers/latex2e/docutils.sty
was not accessed before; perhaps it is new to 0.17.
I can reproduce #15609, but cmd-i
on numpy.flipud
produces the same docutils.sty
message for me and no mention of sphinxcontrib-jsmath
.
I'll move docutils
outside the zip location and test.
Thanks for your help @mrclary!
Okay, it looks like this issue and #15609 are technically separate issues but both produce nearly identical error symptoms and are related to the recent updates to the sphinx
and docutils
packages.
After moving the docutils
outside the zip directory, I was then able to reproduce similar errors to the OP. The issue here is that the sphinx
extensions are not being included in the build.
15622 should resolve both issues.
Did you test the Mac installer generated on PR #15622 to be sure?
@dalthviz, could you test if interactive help is working on the Windows installer? Perhaps we have a similar problem with it too.
@mrclary and @dalthviz, please also test with docstrings that have math, e.g. np.sin
to see if we're rendering them correctly.
@ccordoba12, my local build and the artifact from #15622 look good: no errors and math is rendered correctly in np.sin
using cmd-i in the Console.
Testing with the installer generated at https://github.com/spyder-ide/spyder/pull/15627 Ctrl + I
works for me on Windows @ccordoba12
Thanks @mrclary and @dalthviz for your help.
Description
What steps will reproduce the problem?
I just clicked on
Ctrl+i
while cursor on the numpy flipud function.Traceback
Versions
Dependencies