$ dnf repoquery --repo=rawhide -l python2-ryu | grep bin
$ dnf repoquery --repo=rawhide -l python3-ryu | grep bin
With the line of the https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal change I'd like to know:
1) why is /usr/bin/ryu in both packages? note that /usr/bin/ryu from python3-ryu links to ./ryu-2.7
2) what is the difference for the users, if they run ryu(-manager)-2 or -3? Does the Python version matter here? Note that the guidelines say:
> If the executables provide the same functionality independent of whether they are run on top of Python 2 or Python 3, then only the Python 3 version of the executable SHOULD be packaged, the python2 version MUST NOT be packaged.
Nothing in Fedora requires python2-ryu, so I intend to drop it.
However I like to know the answers of the above questions first.
Created a PR in https://src.fedoraproject.org/rpms/python-ryu/pull-request/13
Package python2-ryu is required e.g. by openstack-neutron in RDO.
I don't think that ryu(-manager)-2 or -3 provides any different functionalities. Please only keep in mind that python-ryu is necessary for OpenStack neutron in RDO. But Neutron for sure don't use any of those binaries to run Ryu.
Bare with me, I have no idea how do you ship packages.
openstack-neutron is not in Fedora (it has been retired) and hence python2-ryu is AFAIK not needed in Fedora. Can you maintain python2-ryu at the same place where you maintain openstack-neutron (I assume that's RDO?)?
Removal of python2-ryu is blocking other python2 packages removals.
We use the spec in fedora to rebuild the python2 package for CentOS in fedora.
Slawek, could you implement conditionals so that:
- When building in centos7 or any el7 it creates python2 only subpackage.
- In other cases it builds python3 only subpackage.
You can see an implementation of this in:
I'll update my PR.
Updated in https://src.fedoraproject.org/rpms/python-ryu/pull-request/13
Didn't test on EL7, because several deps are missing, but the package didn't build on EL7 before anyway.
python-ryu-4.29-2.fc30 rebuilt with python3 package only.