In https://github.com/rust-lang/rust/pull/74905#issuecomment-667528649, @Mark-Simulacrum said that:
We have not established a minimum minor version for Python 3, we'd need to do some research about what is available on older (linux) systems by default (or through package managers).
Python 2 is still supported by many distros to my knowledge.
I open this issue to track when we drop python2 support.
Some info about Python versions in some Linux distros
Current status: https://github.com/rust-lang/rust/issues/75006#issuecomment-667547013
This should be an MCP. I don't think we should drop python2 at all, in many distros python still mean python2.
But how long should we support python 2?
That should be part of the MCP.
IMO it is somewhat premature to consider dropping python 2 (or even when to drop it). Right now continuing to support it is essentially painless - we don't have much python code, and the code we do have is relatively rarely edited in a major way (nor would I want to edit it).
I am going to close this -- if someone wants to propose that we drop python 2 sooner, they should file a compiler team MCP.
Most helpful comment
IMO it is somewhat premature to consider dropping python 2 (or even when to drop it). Right now continuing to support it is essentially painless - we don't have much python code, and the code we do have is relatively rarely edited in a major way (nor would I want to edit it).