Rust: Tracking issue for dropping python2 support

Created on 1 Aug 2020  路  5Comments  路  Source: rust-lang/rust

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

Packaging status


Current status: https://github.com/rust-lang/rust/issues/75006#issuecomment-667547013

A-rustbuild C-tracking-issue T-infra

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).

All 5 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

behnam picture behnam  路  3Comments

dtolnay picture dtolnay  路  3Comments

dnsl48 picture dnsl48  路  3Comments

SharplEr picture SharplEr  路  3Comments

drewcrawford picture drewcrawford  路  3Comments