No module named sphinx.util.compat error using `IPython.sphinxext` with Sphinx pre1.7 master branch
See original GitHub issueTrying out IPython.sphinxext
6.1.0 with Sphinx==1.7.dev20170617
I get the following error on a Sphinx project:
Extension error:
Could not import extension IPython.sphinxext.ipython_directive (exception: No module named 'sphinx.util.compat')
Indeed, the sphinx.util.compat
is deprecated at 1.6 and will be removed at Sphinx 1.7.
To reproduce, in a virtual env with IPython 6.1.0 run
pip install git+https://github.com/sphinx-doc/sphinx
and then
mkdir /tmp/IPython-test
cd /tmp/IPython-test
yes "n" | sphinx-quickstart --dot _ --project IPython-test --author "Example" -v 0 --release 0 --language en --suffix .rst --master index --makefile --batchfile .
echo '
extensions = [
"IPython.sphinxext.ipython_directive",
]
' >> conf.py
make html
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Sphinx cannot find my python files. Says 'no module named ...'
When trying to build my html using the sphinx-build -b html source .\build command, I get the following output, with the no module...
Read more >IPython Sphinx Directive — IPython 8.7.0 documentation
The ipython directive is a stateful shell that can be used in reStructured text files. It knows about standard ipython prompts, and extracts...
Read more >Compare Packages Between Distributions - DistroWatch.com
This page enables us to quickly perform a side-by-side comparison of the packages available in two different distributions, or in two different versions...
Read more >Configuration — Sphinx-Gallery 0.11.1-git documentation
When documenting a given function/method/attribute/object/class, Sphinx-Gallery enables you to link to any examples that either: Use the function/method/ ...
Read more >https://openi.pcl.ac.cn/OpenI/Paddle/commit/3ce617...
+# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
As soon as I have time to polish release notes, triage issues and make a release. Mid September if all goes well.
When is this scheduled to land in a release?