-
Notifications
You must be signed in to change notification settings - Fork 71
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
Update supported Python versions #227
Comments
At some point i recognize the need to drop 2.7, i was just expecting to do it when i needed a 2.0 release cycle and it hasn't come yet. Is there best practice on the semver requirements for dropping this support in python? As you say requests has done it. So far it's just seemed unnecessary to me as keeping the support was easy to do. If there are actual problems starting to come up because of these dependencies then i guess that's a different story. |
I don't know if there is a proper official semver way to do so but from what I've seen, a common way is:
In the case of Python 2.7, or any part which already reached end of life, I see that most project don't go through a deprecation cycle given and drop support ASAP when it has been decided (given they were supporting something that is not supported by the editor/author itself). In the case of
But this is my opinion and perception on this topic for what it's worth. |
See #248. Any advice welcome. Whilst it's not my favourite thing, no library i'm aware of has bumped a major version for python3. Realistically this is a testing library so it's not going to be a big deal. Let's just do it. |
Would you accept a pull-requests dropping support for unsupported Python version (
2.7
,3.4
,3.5
and3.6
fromsetup.cfg
classifiers but depending on the places, GitHub actions workflows, tox, tested Pythons varies) and adding/exposing support for missing sported Pythons (3.11
and potentially3.12
). (see https://devguide.python.org/versions/ for current versions state)This would be consistent with
requests
supported versions and would allow dropping thesix
dependency.Plus, it would restore compatibility with latest
tox
andvirtualenv
givenvenv
is now having somefrom __future__ import annotations
which is not compatible anymore with Python < 3.7.If you agree, I would gladly submit this pull-request.
The text was updated successfully, but these errors were encountered: