Upstream, this software supports Python 3. Please provide a Python 3
package for Fedora.
According to the Python packaging guidelines , software must be
packaged for Python 3 if upstream supports it.
The guidelines give detailed information on how to do this, and even
provide an example spec file .
The current best practice is to provide subpackages for the two Python
versions (called "Common SRPM" in the guidelines). Alternatively, if
nothing depends on your Python2 package, you can just switch to Python 3
It's ok to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 24 as well.
If anything is unclear, or if you need any kind of assistance with the
porting, you can ask on IRC (#fedora-python on Freenode), or reply here.
We'll be happy to help!
Created attachment 1167521 [details]
patch for python 3 support
Some notes on the patch.
Updated to 4.2.0
Binary is moved at the Python 3 subpackage.
Tests are enabled as well and complete successfully.
Tests subpackages have different naming scheme in the format python<version>-<name>-tests
Package is tested in mock and seems to install correctly and works with no problems, with some basic testing that I did.
Things that need to be considered/tested before applying the patch:
Runtime requirements for tests.
Since other packages depend on it, they need to be checked if they depend on the executable of neutronclient (/usr/bin/neutron) and solve the issue by requiring the executable explicitly, instead of the package name (python-neutronclient)
packages that depend on python-neutronclient currently in f24:
# dnf repoquery --whatrequires python-neutronclient --releasever=24
Jakub is on PTO, I'll take care of that
Fixed in rawhide