question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Decide on Python version

See original GitHub issue

Description 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:

Expected behavior: TBD

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
ofekcommented, Sep 10, 2020

Temporary means a while 😅

We’re one user, please do what you wish and do not block on us. We will be fine.

3reactions
joshuaglcommented, Sep 10, 2020

Datadog still needs temporary support for Python 2 at least, IIRC cc @ofek @FlorianVeaux

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found