Red Hat Bugzilla – Bug 1311533
python-django-haystack: Provide a Python 3 subpackage
Last modified: 2016-08-03 05:51:29 EDT
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 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!
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Hi Matthias, would you agree when I prepare a Python 3 patch?
Hi Jan, yes, please go ahead!
Do you want commit acls? If yes, please request access in packagedb.
Any help is greatly appreciated.
I work on that.
Created attachment 1182933 [details]
SPEC diff file attached.
Created attachment 1182934 [details]
updated spec file
Updated SPEC file attached.
Created attachment 1183638 [details]
updated spec file
Corrections in python2-django-haystack package:
python-django -> python2-django
python-sphinx -> python2-sphinx
The patch looks really good!
The only issue I could find was that there are two entries missing from the changelog—you should do a git pull before starting to edit. Thankfully, however, both entries are from a mass rebuild, so no changes were made to the actual contents of the spec file.
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.
Hi Tomáš, thank you for the review. As no changes are required, I keep the patch unmodified.
Hi Matthias, the attached spec file is ready to provide the Python 3 subpackage.
Created attachment 1186977 [details]
Updated spec file
I have updated the spec file according to your recommendation (bug #1311552). Would it be suitable?
Jan, thank you, looks better. I just applied your patch.