-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Drop support for Python 3.6 #7295
Conversation
As has been advertised for some time the Qiskit 0.19.0 release is the last release which supports Python 3.6 (which goes End of Life in Decemeber). This commit drops support accordingly so that the minimum supported Python version is 3.7.
People keep asking when this is going to happen so I decided to push a PR for it |
Pull Request Test Coverage Report for Build 1546759712
💛 - Coveralls |
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.
(preemptive approval)
There are several goodies to do with type-checking that we'll be able to use once Python 3.7 support is dropped, including from __future__ import annotations
, which removes all the need for string-ified type annotations.
From now on, we can also rely on dictionaries to be in insertion-order, which I think has come up before with respect to Result.get_counts()
and things like that. We also get module-level __getattr__
, which is something we've definitely had usecases for as well (though perhaps we should be cautious with that one, since it will have a tendency to break auto-complete).
Removing on hold, because this is now eligible for merge. |
Summary
As has been advertised for some time the Qiskit 0.19.0 release is the
last release which supports Python 3.6 (which goes End of Life in
December). This commit drops support accordingly so that the minimum
supported Python version is 3.7.
Details and comments