Skip to content
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 errro RemovedInSphinx40Warning #9441

Closed
cvanelteren opened this issue Jul 13, 2021 · 3 comments
Closed

Import errro RemovedInSphinx40Warning #9441

cvanelteren opened this issue Jul 13, 2021 · 3 comments
Labels

Comments

@cvanelteren
Copy link

Describe the bug

When buildings docs I am getting

Could not import extension sphinx.builders.epub3 (exception: cannot import name 'RemovedInSphinx40Warning' from 'sphinx.deprecation' (/home/casper/miniconda3/lib/python3.9/site-packages/sphinx/deprecation.py))

How to Reproduce

git clone https://github.com/sphinx-doc/sphinx
cd $sphinx && python setup.py install
git clone https://github.com/cvanelteren/Plexsim
cd Plexsim && make html

Expected behavior

Build the docs without error.

Tested on 4.1.0 and latest 4.2.0 dev

Your project

https://github.com/cvanelteren/Plexsim

Screenshots

Running Sphinx v4.1.0

Extension error:
Could not import extension sphinx.builders.epub3 (exception: cannot import name 'RemovedInSphinx40Warning' from 'sphinx.deprecation' (/home/casper/miniconda3/lib/python3.9/site-packages/sphinx/deprecation.py))
make: *** [Makefile:19: html] Error 2

OS

Linux arch 5.12.14

Python version

3.9.6

Sphinx version

4.1.0 / 4.2.0

Sphinx extensions

sphinx.ext.autodoc, sphinx.ext.napoleon, sphinxemoji.sphinxemoji, sphinx.ext.autosummary

Extra tools

No response

Additional context

No response

@cvanelteren
Copy link
Author

As a workaround 4.0 works fine for me!

@jakobandersen
Copy link
Contributor

Duplicate of #9434?

@cvanelteren
Copy link
Author

Ah yes. Didn't see it my bad!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants