Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1311533 - python-django-haystack: Provide a Python 3 subpackage
Summary: python-django-haystack: Provide a Python 3 subpackage
Alias: None
Product: Fedora
Classification: Fedora
Component: python-django-haystack
Version: 25
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Matthias Runge
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2016-02-24 12:23 UTC by Tomas Orsava
Modified: 2016-08-03 09:51 UTC (History)
4 users (show)

Fixed In Version: python-django-haystack-2.5.0-1.fc26
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-08-03 09:51:29 UTC
Type: Bug

Attachments (Terms of Use)
spec diff (deleted)
2016-07-22 19:16 UTC, Jan Beran
no flags Details | Diff
updated spec file (deleted)
2016-07-22 19:19 UTC, Jan Beran
no flags Details | Diff
updated spec file (deleted)
2016-07-25 08:59 UTC, Jan Beran
no flags Details | Diff
Updated spec file (deleted)
2016-08-03 08:05 UTC, Jan Beran
no flags Details | Diff

Description Tomas Orsava 2016-02-24 12:23:02 UTC
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

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!


Comment 1 Fedora Admin XMLRPC Client 2016-02-24 16:05:42 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora Admin XMLRPC Client 2016-02-24 19:40:10 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Jan Beran 2016-07-22 09:02:30 UTC
Hi Matthias, would you agree when I prepare a Python 3 patch?

Comment 4 Matthias Runge 2016-07-22 09:12:07 UTC
Hi Jan, yes, please go ahead! 

Do you want commit acls? If yes, please request access in packagedb.
Any help is greatly appreciated.

Comment 5 Jan Beran 2016-07-22 14:39:31 UTC
I work on that.

Comment 6 Jan Beran 2016-07-22 19:16:37 UTC
Created attachment 1182933 [details]
spec diff

SPEC diff file attached.

Comment 7 Jan Beran 2016-07-22 19:19:21 UTC
Created attachment 1182934 [details]
updated spec file

Updated SPEC file attached.

Comment 8 Jan Beran 2016-07-25 08:59:09 UTC
Created attachment 1183638 [details]
updated spec file

Corrections in python2-django-haystack package:
python-django -> python2-django
python-sphinx -> python2-sphinx

Comment 9 Tomas Orsava 2016-07-25 16:23:46 UTC
Hi Jan!

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.

Comment 10 Jan Kurik 2016-07-26 04:22:36 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 11 Jan Beran 2016-07-29 17:33:01 UTC
Hi Tomáš, thank you for the review. As no changes are required, I keep the patch unmodified.

Comment 12 Jan Beran 2016-08-01 12:49:38 UTC
Hi Matthias, the attached spec file is ready to provide the Python 3 subpackage.

Comment 13 Jan Beran 2016-08-03 08:05:47 UTC
Created attachment 1186977 [details]
Updated spec file

Hi Matthias,

I have updated the spec file according to your recommendation (bug #1311552). Would it be suitable?

Comment 14 Matthias Runge 2016-08-03 09:51:29 UTC
Jan, thank you, looks better. I just applied your patch.

Note You need to log in before you can comment on or make changes to this bug.