On 28. 06. 19 0:00, Neal Gompa wrote:
On Thu, Jun 27, 2019 at 5:59 PM Zbigniew Jędrzejewski-Szmek
<zbyszek@xxxxxxxxx> wrote:
On Wed, Jun 26, 2019 at 01:57:13PM -0400, Ben Cotton wrote:
https://fedoraproject.org/wiki/Changes/Python_means_Python3
== Summary ==
In package and command names, "Python" will mean "Python 3".
Users installing and running Python or Python packages without
specifying a version will get Python 3.
Running <code>python</code> will run <code>python3</code>. Running
<code>pytest</code> will run the Python 3 version of pytest, and
similarly for <code>pydoc</code>, <code>pylint</code>, etc.
<code>dnf install python</code> will install {{package|python3}}, and
similarly for other <code>python-*</code> provides, e.g. <code>dnf
install python-requests</code> will install
{{package|python3-requests}}.
This is the final preparation for
[https://fedoraproject.org/wiki/Changes/RetirePython2 the retirement
of Python 2 in Fedora 32] done in line with the
[https://github.com/python/peps/pull/989 soon to be finalized]
upstream recommendations.
What about postponing this change to F32? I'd prefer python2 to be
retired and gone from the distro first, and the symlink and
%python_provide definition only switched then. I think that having
this middle state where python2 is available but python points to
python3 for exactly one release will be more confusing that switching
directly to the final state where python2 is gone and python simply
means python3.
I think it makes sense to make the switch before we retire, because
then people's expectations are changed ahead of time and they can
adapt to The Future(TM).
This is exactly the reason we want this in F31.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx