-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
drop support for Python 3.7 #9148
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
Conversation
e318744
to
ea3ffe5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! i suppose removing all instances of
if sys.version_info >= (3, 8):
from typing import TypedDict
else:
from typing_extensions import TypedDict
and similar will be a future PR! :-)
Do we want to enforce this as well? There is https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#python-requires , which prevents pip from installing a this version by default. So, someone with python 3.7, would get stuck on version 2.2. You can override it in pip, though. |
ea3ffe5
to
416c149
Compare
In the last 4 commits I added the following changes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Motivation
As announced in #8827, we are going to drop Python 3.7 support with the next minor release
2.3
.This PR drops the tests and updates a bit of the code.
Changes
3.8
.3.7
.3.7
-specific checks in the tests.