-
Notifications
You must be signed in to change notification settings - Fork 275
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
Decide on Python version #1125
Comments
I absolutely agree with killing 2.x with fire but I think this "we will continue to support [current implementation] for a while" part probably needs to be quite explicit -- in practice the first step should be very prominent python2 support deprecation with at least an estimated timeline. The reason I'm saying this is https://pypistats.org/packages/tuf: pypistats may not be that reliable but it's one of the few usage indicators available... and it looks pretty bad for tuf, much worse than most distributions: 50% of the downloads are for python 2. |
Datadog still needs temporary support for Python 2 at least, IIRC cc @ofek @FlorianVeaux |
Yes, but we are fine with pinning as long as security fixes are backported. |
Can you help quantify "temporary support"? We don't really have the engineering resources on the project to support multiple versions of the codebase. Back-porting security fixes won't be very straightforward if we rearchitect the internals as has been proposed. I'd rather avoid Python2.7 entirely, but it may be possible to get the Python 3.x features we want on a 2.7 supporting codebase by using additional dependencies. i.e. typing is available for Python 2.7. |
Temporary means a while 😅 We're one user, please do what you wish and do not block on us. We will be fine. |
Incidentally Python 3.5 is End-Of-Life since yesterday |
Document the decision drop support for EOL Python versions, most notable Python 2.7 Fixes theupdateframework#1125 Signed-off-by: Joshua Lock <[email protected]>
Document the decision drop support for EOL Python versions, most notable Python 2.7 Fixes theupdateframework#1125 Signed-off-by: Joshua Lock <[email protected]>
Document the decision drop support for EOL Python versions, most notable Python 2.7 Fixes theupdateframework#1125 Signed-off-by: Joshua Lock <[email protected]>
Note also that pip (the program) are dropping support for Python 2.7 in January 2021: https://pip.pypa.io/en/latest/development/release-process/#python-2-support |
Another worthwhile item of note is that pyca/cryptography are intending to drop support for Python 2.7 sometime around December 2020 /January 2021 (see pyca/cryptography#5359) |
Document the decision drop support for EOL Python versions, most notable Python 2.7 Fixes theupdateframework#1125 Signed-off-by: Joshua Lock <[email protected]>
When and how we are going to drop support for python versions < 3.6? I am not sure if there are other users than DataDog that use python < 3.6, but still if there are? |
Good question. Per the ADR, we plan to write new code targeting Python 3.6+ only. Given that Python 2.7 and 3.5 are both EOL, I hope the number of users is low. However, we are discussing how best, and how long, to support prior versions of the code (supporting older Python versions) in #1127 |
Document the decision drop support for EOL Python versions, most notable Python 2.7 Fixes theupdateframework#1125 Signed-off-by: Joshua Lock <[email protected]>
Description of issue or feature request:
Decide which Python versions we want to support in TUF 1.0.0.
Arguments for > 3.5:
Current behavior:
setup.py
andtests
)Expected behavior:
TBD
The text was updated successfully, but these errors were encountered: