New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import sphinxcontrib.serializinghtml
fails with circular import woes
#6245
Comments
Fix #6245: circular import error on importing SerializingHTMLBuilder
Fixed by #6249 and sphinx-doc/sphinxcontrib-serializinghtml#1 (No.1!!) |
Actually, it looks like I'm still hitting the same problem -- the new code you've added isn't used until after the failing import. Notebook with repro: https://colab.research.google.com/drive/1PmL2l3f3BwAhwxmaEeM52XxE1fqksiML |
Same as @craigcitro, I can't run Sphinx at all because the circular import still exists:
|
@progval Could you file a new issue please? I'll check it later. |
Describe the bug
There seems to be a circular import problem when trying to import
sphinxcontrib.serializinghtml
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
No other imports should be required before
sphinxcontrib.serializinghtml
.Environment info
OS:
root@5a4dc3112f09:/# uname -a
Linux 5a4dc3112f09 4.19.20-1rodete1-amd64 Global citations #1 SMP Debian 4.19.20-1rodete1 (2019-02-12 > 2018) x86_64 GNU/Linux
Python version: [e.g. 3.7.1]
root@5a4dc3112f09:/# python3 -V
Python 3.7.3
Sphinx version: [e.g. 1.8.2]
Sphinx extensions: [e.g. sphinx.ext.autodoc, recommonmark]
root@5a4dc3112f09:/# python3 -m pip list | grep -i sphinx
Sphinx 2.0.0
sphinxcontrib-applehelp 1.0.1
sphinxcontrib-devhelp 1.0.1
sphinxcontrib-htmlhelp 1.0.1
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.2
sphinxcontrib-serializinghtml 1.1.1
The text was updated successfully, but these errors were encountered: