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!
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.
I have tried make a patch for specfile but the new version (2.1.2) needs packages which are not in Fedora yet:
- requests_toolbelt (https://pypi.python.org/pypi/requests-toolbelt)
- requests_oauthlib (https://github.com/requests/requests-oauthlib)
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.
Created attachment 1193312 [details]
add Python 3 & update version
My mistake, the packages mentioned before are ready. There is a patch.
Maxim, could you please review it and push it?
Tested in Mock, Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=15350411
Created attachment 1267007 [details]
Add Python 3 support and update to 2.2.1
I have updated Dominika's patch to the latest upstream version (2.2.1). You may find the new patch attached. Please review it and do the update.
Please note that, although this package is built for EPEL 5 and 6 in pkgdb, flickrapi has dropped Python 2.6 support since version 2.0.1, therefore this patch is Fedora only.
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=18647428
python-flickrapi-2.2.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c3bd149b09
python-flickrapi-2.2.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c3bd149b09
python-flickrapi-2.2.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.