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 fine to do this in Rawhide only. 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
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase
Hello Daniel, Do you need any help adding Python 3 support to the RPM? If you need more instructions, a [guide] for porting Python-based RPMs is available. [guide] http://python-rpm-porting.readthedocs.org/en/latest/index.html
Created attachment 1158546 [details] Patch to update spec for python3
Hello, Please find patch to update the spec file for this package to build a python3 version.
(In reply to philip.worrall from comment #3) > Created attachment 1158546 [details] > Patch to update spec for python3 Could you create a scratch build and test the package maybe in mock, so we can verify that the python 3 subpackage works as expected?
Hello. Your patch looks good to me, but it needs to be rebased to current specfile version. Could you also provide scratch build and test it in mock? Then I can move it forward to push. Thank you.
Hello. Is there any problem with rebase? Do not hesitate to contact me for any help.
Created attachment 1198583 [details] Rebased patch to update spec for python3 Hi, I have rebased the patch and also fixed rpmlint error and warning about demos. Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=15527540
Hello, Dominiko. Your patch looks good to me, thanks. If maintainer has nothing against, we can push this change after a week. Have a nice day. Lumir
Created attachment 1221154 [details] 2. rebased patch to update spec for Python 3 Hi, there is a new rebased patch. :) + koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=16474811
Fixed for rawhide, please reopen the bug if you require this change for F25 as well.
Hi Sayan, I am reopening the ticket, as since commit [0] building python3-libcloud was disabled for Fedora. Given that python3-pytest-runner is available, I do not see the reason for this change. Could you please provide any details? [0] https://src.fedoraproject.org/rpms/python-libcloud/c/776623107cb6b13d4b18dbda4d8b35c0a8c46927?branch=master
Bump, I need the python 3 package.
Hi Iryna, Without the python-pytest-runner package mentioned in BuildRequires while building it was trying to pull the dependency from pypi and hence failed. So, I mentioned the package name explicitly in the specfile. I have updated the specfile to build[0] the python3-libcloud package. [0] https://koji.fedoraproject.org/koji/buildinfo?buildID=1052225
Thanks Sayan.