-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Sphinx version 4.2.0 fails on Python 3.10 #9835
Comments
Could you paste or attach a stacktrace file here? |
This is the stack trace
|
Strange. Sphinx-4.2.0 does not contain this line. Lines 36 to 39 in 21db4b1
Please check the version of Sphinx. |
@tk0miya Thank you for your response. Here is the output from
I am not sure, I installed the stable version from PyPI directly. Maybe this is the issue? |
Sorry, I'm not sure what is happened on your environment. Only I can say is that the stacktrace let us know you're using incorrect version of Sphinx. So you need to find a way to upgrade it. |
I decided to upgrade to the dev version and instead got this message during the docs build:
It seems this is not an error and instead some message? |
It seems Sphinx failed to load the environment data for the incremental build. I'm not sure why it happened. But it can be recovered automatically by full-build. So you don't need to worry. |
Describe the bug
Sphinx 4.2.0 fails to build docs with Python 3.1.0.
How to Reproduce
Expected behavior
I expected to have Sphinx build docs without any error.
Your project
https://github.com/Nelson-Gon/pyfdc
Screenshots
No response
OS
Windows 10
Python version
3.10
Sphinx version
4.2.0
Sphinx extensions
No response
Extra tools
No response
Additional context
The error message is
ImportError: cannot import name 'Union' from 'types'
This is marked as resolved in #9562 but the solutions there do not work for me.
The text was updated successfully, but these errors were encountered: