Bug 1298250 - libtevent: Provide a Python 3 subpackage
libtevent: Provide a Python 3 subpackage
Product: Fedora
Classification: Fedora
Component: libtevent (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jakub Hrozek
Fedora Extras Quality Assurance
Depends On:
Blocks: PYTHON3
  Show dependency treegraph
Reported: 2016-01-13 10:27 EST by Petr Viktorin
Modified: 2016-04-25 03:23 EDT (History)
6 users (show)

See Also:
Fixed In Version: libtevent-0.9.28-2.fc25
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-04-25 03:23:07 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Specfile patch (3.29 KB, patch)
2016-01-13 10:29 EST, Petr Viktorin
no flags Details | Diff

  None (edit)
Description Petr Viktorin 2016-01-13 10:27:33 EST
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!

[0] https://fedoraproject.org/wiki/Packaging:Python
[1] https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec_file
Comment 1 Petr Viktorin 2016-01-13 10:29 EST
Created attachment 1114414 [details]
Specfile patch

Here is the specfile patch I would use.
Comment 2 Jan Kurik 2016-02-24 09:16:48 EST
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 2016-04-19 11:10:42 EDT
Hello Simo,
Do you need any help adding Python 3 support to the RPM?
Comment 4 Jakub Hrozek 2016-04-19 11:59:56 EDT
(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 04:18:45 EDT
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 2016-04-22 13:48:15 EDT
That looks good! Could you push to Rawhide?
Comment 7 Jakub Hrozek 2016-04-25 03:23:07 EDT

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