Python 2 is being deprecated by Debian and Ubuntu, in favor of Python 3, in a move toward not shipping Python 2 at all. (Python 2 is already End-Of-Life’d by the Python maintainers *). In the long term, it will help Atom stay installable/working on these distros to specify a Python 3 dependency (in addition to or instead of Python 2). Even longer-term, Python 2 will no-longer be available, so it will make sense to drop it entirely. If Python 2 gives Atom any trouble in the medium-term, it can simply be dropped.
Doing this keeps Atom installable and working on newer distros/operating systems.
Furthermore, making sure the build process doesn’t require Python 2 makes it easy to continue building Atom once Python 2 is End-of-Life’d.
Describe alternatives you’ve considered
node-gypand remove any other usage of Python from within this package.
- OR: Allow users to install Atom on all platforms without requiring Python on their system.
- According to this comment, Python is only needed for node-gyp.
- See #20406 for some prior discussion, see #20356 for lots more discussion. These are examples of the kinds of packaging troubles that might arise relating to the Python 2 EOL and transition to Python 3.
- I am personally more of a Debian/Ubuntu person myself, but this applies to all OSes and platforms.