News for hackers. Stuff that matters.
Re:Pip has dropped support for Python 2 by Anon1096 on Sunday January 24, 2021 @01:17AM (#25889793)
This is already the case. Arch has python for python 3 and python2 for python 2. It's the opposite on Ubuntu and most other distros.
Re:Pip has dropped support for Python 2 by verst on Sunday January 24, 2021 @03:51AM (#25890454)
Ubuntu 20.04 has python2 and python3 executables, but no python, so no ambiguity.
Re:Pip has dropped support for Python 2 by opheliate on Sunday January 24, 2021 @04:27AM (#25890616)
This is absolutely my favourite way of doing it. If I need a `python` executable then I'll just make the symlink myself.
Re:Pip has dropped support for Python 2 by Kwpolska on Sunday January 24, 2021 @06:08AM (#25891074)
`sudo apt-get install python-is-python3` can fix that.
Re:Pip has dropped support for Python 2 by cozzyd on Sunday January 24, 2021 @02:00AM (#25889952)
On Fedora:

    $ python --version
    Python 3.9.1
Re:Pip has dropped support for Python 2 by pseudalopex on Sunday January 24, 2021 @01:30AM (#25889835)
Arch is why there's a PEP saying not to do that.
Re:Pip has dropped support for Python 2 by Kwpolska on Sunday January 24, 2021 @06:11AM (#25891091)
The PEP [0] has been revised since then, and the current recommendation regarding /usr/bin/python is "equivalent to python2 OR equivalent to python3 OR not available at all OR configurable by user/sysadmin".

[0] https://www.python.org/dev/peps/pep-0394/