On Feb 28, 2016, at 01:29 PM, Oli wrote:
> - Python 2 is still the default?
It depends on your definition of "default". If you mean, which Python does
/usr/bin/python invoke, then yes, 2.7 is the default and likely will be for a
long time in Debian/Ubuntu. We have no plans to change the meaning of
/usr/bin/python.
However, this is ongoing work in Debian and Ubuntu to demote and deprecate
Python 2. In Ubuntu, we want to remove Python 2 from all the default
installation images, and we encourage all application and library writers to
embrace Python 3. We have no plans to remove Python 2, but it's long past
time for people to adopt Python 3.
> - Package: python-virtualenv is Python2
Of course, as are all python- library packages in Debian/Ubuntu.
python3-virtualenv is the Python 3 version of the library. Neither binary
package provides a /usr/bin script.
> - Package: virtualenv is Python 3 and replaces python-virtualenv
It only replaces python-virtualenv << 1.11.6. The standard Python packaging
policy and guidelines state that python-foo is the Python 2 library version,
python3-foo is the Python 3 library version, and if an executable is provided,
the binary package containing it should be named after the tool, if possible
(i.e. assuming there are no name collisions).
> - Therefore you can't install both
Both... what? In Xenial, you can certainly install all of python-virtualenv,
python3-virtualenv, and virtualenv binary packages simultaneously.
In Debian/Ubuntu, /usr/bin/virtualenv is by default a Python 3 program. There
are no plans to revert that. There are no plans to provide a
/usr/bin/virtualenv3. If you need to run it under Python 2, I suggest you use
`python -m virtualenv`.
** Changed in: python-virtualenv (Ubuntu)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1550923
Title:
16.04's virtualenv uses Python 3 but python executable is Python 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-virtualenv/+bug/1550923/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs