-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 3.x broken on Python 3.10 #9816
Comments
Why do you use such an old version? Please use 4.2.0. |
Hi @tk0miya! I don't personally use that version. I'm author and maintainer of an extension and I found this problem while running the extension's tests over different Python and Sphinx versions. I expect users of the extension to use 3.x and I wanted to have them covered by the test suite. I didn't know you considered 3.x really old since it's the previous version of the current latest. I'm skipping this combination for now in my tests to workaround the issue. Feel free to close the issue. Thanks! |
Sphinx 4.1.2 has the same issue, and I can't use 4.2.0 due to a bug in that release that I'll report shortly. I was only able to run using sphinx<4.2 and python<3.10. |
Now we don't have enough resources to maintain old versions. At present, we've supported the latest version only. So I'm closing this now. |
Describe the bug
It seems that Sphinx 3.x is broken when using Python 3.10 because of this line: https://github.com/sphinx-doc/sphinx/blob/v3.5.4/sphinx/util/typing.py#L33
Am I correct?
How to Reproduce
Expected behavior
It should not enter to that if because Python 3.10 version is not greater than
(3, 10)
. It should probably check forYour project
https://github.com/humitos/sphinx-notfound-page
Screenshots
No response
OS
ArchLinux
Python version
3.10
Sphinx version
3.x
Sphinx extensions
No response
Extra tools
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: