Bug 1312325 - python-django-tastypie: Provide a Python 3 subpackage
Summary: python-django-tastypie: Provide a Python 3 subpackage
Alias: None
Product: Fedora
Classification: Fedora
Component: python-django-tastypie
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Bohuslav "Slavek" Kabrda
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: PYTHON3
TreeView+ depends on / blocked
Reported: 2016-02-26 12:45 UTC by Tomas Orsava
Modified: 2016-04-20 14:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-04-20 14:41:18 UTC
Type: Bug

Attachments (Terms of Use)

Description Tomas Orsava 2016-02-26 12:45:23 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 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!

[0] https://fedoraproject.org/wiki/Packaging:Python
[1] https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec_file

Comment 1 Dominika Krejčí 2016-04-20 13:39:38 UTC
Hello Slavek,

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

Comment 2 Bohuslav "Slavek" Kabrda 2016-04-20 14:04:18 UTC
Hi Dominika, I do know how to port packages to Python 3, but my problem is being able to find enough time. If you want to help, I'll be glad to accept you as a comaintainer of the package and you can port it yourself. Does that sound ok?

Comment 3 Tomas Orsava 2016-04-20 14:46:48 UTC
A thank you goes out to Cédric OLIVIER for porting the package over a month ago: http://pkgs.fedoraproject.org/cgit/rpms/python-django-tastypie.git/commit/

He, however, forgot to close this bug.

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