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

Issue #1808: Add support for Python 3.10 #1809

Merged
merged 7 commits into from
Sep 13, 2021
Merged

Issue #1808: Add support for Python 3.10 #1809

merged 7 commits into from
Sep 13, 2021

Conversation

mkniewallner
Copy link
Contributor

Resolves #1808

In order to be ready for Python 3.10 release, this PR adds support for Python 3.10 by generating stdlibs, allowing a new 310 value for the Python version and running tests on the CI to make sure that tests work well against this version.

Note that numpy dependency has been removed because it didn't seem to be used in the codebase.
I originally didn't plan to remove it, but the version used (1.16.0) is not compatible with Python 3.10.
Support for Python 3.10 has been added in version 1.21.0, but Python 3.6 support has been dropped, and isort still supports Python 3.6.
I tried to use Poetry multiple constraints feature, but it is unfortunately not working correctly.

@codecov
Copy link

codecov bot commented Sep 12, 2021

Codecov Report

Merging #1809 (e10dbfa) into main (bf9398e) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main     #1809   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           37        38    +1     
  Lines         2943      2944    +1     
  Branches       696       696           
=========================================
+ Hits          2943      2944    +1     

@timothycrosley timothycrosley merged commit 4ccbd1e into PyCQA:main Sep 13, 2021
@mkniewallner mkniewallner deleted the issue/1808 branch September 13, 2021 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Python 3.10
2 participants