Upstream, this software supports Python 3. Please provide a Python 3 package for Fedora. According to the Python packaging guidelines [0], 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 [1]. 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 entirely. 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 you need more instructions, a guide for porting Python-based RPMs is available at [2]. 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! [0] https://fedoraproject.org/wiki/Packaging:Python [1] https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec_file [2] http://python-rpm-porting.readthedocs.io/
Hello Kashyap, do you need any help adding Python 3 support to the RPM?
(In reply to Dominika Krejčí from comment #1) > Hello Kashyap, > > do you need any help adding Python 3 support to the RPM? Hi Dominika, Sorry, I'm quite occupied with other priorities, and not able to get to this immediately. If you have time, and want to pick up the Python 3 work, please go for it. I could add you as a co-mainatiner if you like.
Created attachment 1180262 [details] 0001-update-python-and-gerritlib.patch hello i update gerritlib and for fedora it will build for python3
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.
Hello Dmitry. Could you please make a new patch? In current one there are a lot of issues which I mentioned before in previous reviews. The biggest one is that this package isn't separated for python2/3. Thank you and have a nice day.
Created attachment 1194341 [details] New upstream version, modernized specfile, Python2/3 subpackages Hello. I am providing new patch for specfile with new upstream release, modernized specfile and Python 2/3 subpackages.
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=15387194
Hi Lumir! Just one note: add the %python_provide macros for the subpackages. Besides that it looks good!
Created attachment 1194343 [details] New upstream version, modernized specfile, Python2/3 subpackages Thanks Tomas for review. I've added 'provide' macro and new patch is attached. If maintainer has nothing against, we can push this change after a week. Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=15387790