Renaming python to python2
by Charalampos Stratakis
Hello Python-SIG,
Currently I am working on some ideas regarding the python package.
Nothing is too concrete yet, however the technical side should be fairly simple.
The first thing is renaming python to python2.
Currently the python packaging guidelines, suggest that we use the python_provides macro, for both python2 and python3 subpackages of whatever python module someone might be packaging. The macro for python3 subacpakages, currently, does nothing however sometime in the future it would be great if everything could switch to python 3. When this is done we can flip the switch in the macros and the python3 subpackage will also provide the python-<module> namespace, meaning essentially that when we speak about python we talk about python3, and the python binary will be a symlink to python3. In order to slowly start the procedure, a first step would be to rename the python package to python2.
Here is a github repo with the current work so far:
https://github.com/fedora-python/python2-spec/tree/py2rename
Would love to hear some feedback on that.
Regards,
Charalampos Stratakis
Associate Software Engineer
Python Maintenance Team, Red Hat
7 years, 7 months