The Python 3 subpackage python3-doit is missing executables available in the Python 2 subpackage. According to the Fedora Packaging guidelines for Python [0], if a Python package that supports Python 3 installs executables into /usr/bin, then either both Python versions of the executables should be packaged, or only the Python 3 version, depending on the functionality they provide. (Note the "should": having Python 2-only executables is permitted, but strongly discouraged.) Is it intentional for this particular package? In case it is not intentional, please provide a Python 3 version of executable, or you can just switch to Python 3 if the functionality is the same regardless of the Python version. The guide for porting Python-based RPMs is available here [1] and you may refer to it for more instructions. It's ok to do this in Rawhide only, however, it would be greatly appreciated if you could push it to Fedora 26 as well. If anything is unclear, or if you need any kind of assistance, you can ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy to help investigating or fixing the issue! [0] https://fedoraproject.org/wiki/Packaging:Python#Avoiding_collisions_between_the_python_2_and_python_3_stacks [1] http://python-rpm-porting.readthedocs.io/
Created attachment 1309032 [details] Latest Python3 upstream version New 0.30.3 version (Python 3 only)
Hello Jose, may I ask you to review the updated spec file, and if it is correct, to make a new Fedora build? Thank you.
(In reply to Jan Beran from comment #2) > Hello Jose, > > may I ask you to review the updated spec file, and if it is correct, to make > a new Fedora build? Thank you. Please do. Probably you need permission (unless you are a provenpackager). And you are right, since 0.30 that it says to only support python 3. http://pydoit.org/#project-details The question then becomes what to do with the python2 subpackage...
(In reply to Iryna Shcherbina from comment #0) > The Python 3 subpackage python3-doit is missing executables available in the > Python 2 subpackage. > > According to the Fedora Packaging guidelines for Python [0], if a Python > package that supports Python 3 installs executables into /usr/bin, then > either both Python versions of the executables should be packaged, or only > the Python 3 version, depending on the functionality they provide. > (Note the "should": having Python 2-only executables is permitted, but > strongly discouraged.) > > Is it intentional for this particular package? > > In case it is not intentional, please provide a Python 3 version of > executable, or you can just switch to Python 3 if the functionality is the > same regardless of the Python version. The guide for porting Python-based > RPMs is available here [1] and you may refer to it for more instructions. > > It's ok to do this in Rawhide only, however, it would be greatly > appreciated if you could push it to Fedora 26 as well. > > If anything is unclear, or if you need any kind of assistance, you can > ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy > to help investigating or fixing the issue! > > [0] > https://fedoraproject.org/wiki/Packaging: > Python#Avoiding_collisions_between_the_python_2_and_python_3_stacks > [1] http://python-rpm-porting.readthedocs.io/ Apologies for taking so long to reply. :-( You are right regarding the python3 binary, it was just inertia that kept me from updating the binary. So it was not intentional, actually I wanted to do the change for some time but then Real Live (R) come. :-) Thank you for reporting this issue.
Hello. Patch from Jan looks good to me but unfortunately, it cannot be pushed because the newest version of doit comes with a new dependency - cloudpickle - which is not available in Fedora. I am working on a new package python-cloudpickle and when it will be available in Fedora, we can move this forward.
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'.
PR with all changes created: https://src.fedoraproject.org/rpms/python-doit/pull-request/1
Hello Jose, please, could you push the change?
merged
Built in rawhide. Reopen if older Fedoras are needed.
(In reply to Miro Hrončok from comment #9) > merged Thanks Miro. I need to reply in order to properly close this bug.