I propose to update Python-pylibmc to latest git version to support Python 3 compatibilty
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 am busy at the moment. If anyone wants to go ahead and commit any changes required, feel free to. Thanks!
Created attachment 1152338 [details]
Patch to update to latest version and add Python 3 support
here is the change needed to add Python 3 support. Could you please review it and do the update?
Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=13850479
(In reply to Dominika Krejčí from comment #4)
> Created attachment 1152338 [details]
> Patch to update to latest version and add Python 3 support
> Hi Rahul,
> here is the change needed to add Python 3 support. Could you please review
> it and do the update?
> Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=13850479
I'm not sure %filter_provides_in can be used multiple times.
But the thing it's trying to achieve is not necessary anyway, so just remove that part(s).
Also why don't modernize it a bit and use %py3_install etc.?
Created attachment 1153953 [details]
Patch to update to latest version and add Python 3 support (better version)
Thanks for comments, Miro. There is an upgraded version of the patch.
The patch looks good to me. Here's a successful scratch build:
Going to push and build it.
Tested in rawhide mock, everything checks out! Thanks everybody!