Hello,

Upstream I submitted a [change to PEP 394] to allow distributions to change /usr/bin/python in some limited cases:

- Users and administrators can, by a deliberate action, change python to invoke Python 3. (Activating a venv counts as such an action, but so would e.g. using alternates, installing a non-default overriding package, or replacing /usr/bin/python.) - In controlled environments where being explicit is valued more than user experience (test environments, build systems, etc.), distributions can omit the python command even when python2 is installed.

If this goes through, in Fedora I would like to:

- Create a "python" package containing *just* the /usr/bin/python symlink. This would be a subpackage of python2, and python2 would *suggest* it. In other words, it would be installed by default with Python 2, but mock, koji, and test tools would omit it (unless something deliberately Requires `python` or `/usr/bin/python`).

- Put an unofficial "python 3.6" on COPR (and maybe eventually in a Module), which would be the recommended way to make `python` invoke Python 3.


[change to PEP 394]: https://github.com/python/peps/pull/630
Upstream post on python-dev: https://mail.python.org/pipermail/python-dev/2018-April/153042.html


Let me know what you think.
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org

Reply via email to