Python 3.10 compatibility
See original GitHub issueVersion check in setup.py is not compatible with python-3.10. Reported in Fedora bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1897581
Traceback (most recent call last):
File "/builddir/build/BUILD/FormEncode-1.3.1/setup.py", line 15, in <module>
raise ImportError('Python version not supported')
ImportError: Python version not supported
Please, use a different version testing, for example:
py_version = sys.version_info[0]+sys.version_info[1]/100
if not 2.07 <= py_version < 3.0 and not 3.06 <= py_version:
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Python 3.10 support table for most popular Python packages
Python 3.10 is a currently supported version of Python . This site shows Python 3.10 support for the 360 most downloaded packages on...
Read more >What's New In Python 3.10 — Python 3.11.1 documentation
This article explains the new features in Python 3.10, compared to 3.9. Python 3.10 was released on October 4, 2021. For full details,...
Read more >DOC: Note Python 3.10 compatibility - GitHub
TEST: Verify and note Python 3.10 support #60 · Workflow file ...
Read more >Simple way to make python 3.10 code compatible for python ...
A bit strange question, but I would do this if it is an absolute necessity. One file `match_something.py for 3.9 and below:
Read more >Support Python 3.10? - General Discussion - TensorFlow Forum
Python 3.10 will be released in October 2021, so it will be supported in the next TF release after that, assuming all dependencies...
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 FreeTop 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
Top GitHub Comments
I have released 2.0.1 to pypi which includes the change to make setup.py work on Python 3.10. The docs have been updated to reflect that Python 3.10 support was added but a doc build hasn’t run yet on the official doc site. Once the doc build runs the details will show there
For testing Python versions, use tuples with integers:
Never floats or strings.