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

Deprecate Python 2 #21

Open
tiinanen opened this issue Oct 20, 2019 · 1 comment
Open

Deprecate Python 2 #21

tiinanen opened this issue Oct 20, 2019 · 1 comment

Comments

@tiinanen
Copy link
Collaborator

I haven't tried whether the code actually works on Python 2, but seems like it has been the original purpose of the library.

Since Python 2 won't be maintained starting from 1 January 2020, I think it would be best to just drop support for Python 2 since it makes it difficult to use any of the modern Python 3 features.

@tiinanen
Copy link
Collaborator Author

Recent PRs such as #30 #31 #32 are using features that are not supported by Python 2. Some Python 2 specific code also caused issues with type checking and has been therefore removed.

It seems to me that 3.7 is the oldest Python version that the library supports currently (e.g. from __future__ import annotations has been introduced in Python 3.7).

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

No branches or pull requests

1 participant