Decide on Python version
See original GitHub issueDescription of issue or feature request: Decide which Python versions we want to support in TUF 1.0.0.
Arguments for > 3.5:
- Python 2.7 has EOLed.
- Allows us to use type hints.
- Users who need lower versions can still use the current implementation, which we will continue to support for a while
- 3.5 isn’t widely supported, see e.g. pyca/cryptography dropping support for it
Current behavior:
- TUF generally supports 2.7 and >= 3.5 (see
setup.py
andtests
) - The new simple metadata API requires >= 3.6 (see https://github.com/theupdateframework/tuf/pull/1112)
Expected behavior: TBD
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (10 by maintainers)
Top Results From Across the Web
How to choose which version of python runs from terminal?
Use which to see where your python command resides. Then use ls -l to find out where it really is. Then link the...
Read more >How to Check Your Python Version - LearnPython.com
Learn how to check the Python version on the command line and in the ... Go to Finder; Click on Applications; Choose Utilities...
Read more >Picking a Python version: A manifesto - O'Reilly
This report guides you through the implicit decision tree of choosing what Python version, implementation, and distribution is best suited ...
Read more >Python Documentation by Version
Python Documentation by Version. Some previous versions of the documentation remain available online. Use the list below to select a version to view....
Read more >How to Check Python Version in Windows / Linux / MacOS
How to Check Python Version in Linux, Mac, & Windows · Linux: Ctrl-Alt-T, Ctrl-Alt-F2 · Windows: Win+R > type powershell > Enter/OK ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Temporary means a while 😅
We’re one user, please do what you wish and do not block on us. We will be fine.
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. Of course, the danger there is that we don’t know how long our dependencies will continue to support an EOL version of Python.