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 1298250 - libtevent: Provide a Python 3 subpackage
Summary: libtevent: Provide a Python 3 subpackage
Alias: None
Product: Fedora
Classification: Fedora
Component: libtevent
Version: 24
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Jakub Hrozek
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: PYTHON3
TreeView+ depends on / blocked
Reported: 2016-01-13 15:27 UTC by Petr Viktorin (pviktori)
Modified: 2016-04-25 07:23 UTC (History)
6 users (show)

Fixed In Version: libtevent-0.9.28-2.fc25
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-04-25 07:23:07 UTC
Type: Bug

Attachments (Terms of Use)
Specfile patch (deleted)
2016-01-13 15:29 UTC, Petr Viktorin (pviktori)
no flags Details | Diff

Description Petr Viktorin (pviktori) 2016-01-13 15:27:33 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 Petr Viktorin (pviktori) 2016-01-13 15:29:58 UTC
Created attachment 1114414 [details]
Specfile patch

Here is the specfile patch I would use.

Comment 2 Jan Kurik 2016-02-24 14:16:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:

Comment 3 Petr Viktorin (pviktori) 2016-04-19 15:10:42 UTC
Hello Simo,
Do you need any help adding Python 3 support to the RPM?

Comment 4 Jakub Hrozek 2016-04-19 15:59:56 UTC
(In reply to Petr Viktorin from comment #3)
> Hello Simo,
> Do you need any help adding Python 3 support to the RPM?

I should probably take ownership of this..

Comment 5 Jakub Hrozek 2016-04-21 08:18:45 UTC
Hi Petr, sorry about the delay previously, this bug totally slipped through the cracks.

I applied your patch and built a scratch package:

If you're OK with it, I will push the patch to rawhide and build the package.

Thank you for the patch!

Comment 6 Petr Viktorin (pviktori) 2016-04-22 17:48:15 UTC
That looks good! Could you push to Rawhide?

Comment 7 Jakub Hrozek 2016-04-25 07:23:07 UTC

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