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 1360713 - python-xlib: Provide a Python 3 subpackage
Summary: python-xlib: Provide a Python 3 subpackage
Alias: None
Product: Fedora
Classification: Fedora
Component: python-xlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
: 1361018 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2016-07-27 11:32 UTC by Dominika Krejčí
Modified: 2016-09-30 22:57 UTC (History)
5 users (show)

Fixed In Version: python-xlib-0.17-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2016-09-30 22:57:45 UTC
Type: Bug

Attachments (Terms of Use)
Add Python 3 & version update (deleted)
2016-08-31 12:50 UTC, Dominika Krejčí
no flags Details | Diff

Description Dominika Krejčí 2016-07-27 11:32:41 UTC
Upstream, this software supports Python 3 [0]. Please provide a Python 3
package for Fedora.

According to the Python packaging guidelines [1], 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 [2].

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 you need more instructions, a guide for porting Python-based RPMs is
available at [3].
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 Dominika Krejčí 2016-08-25 12:36:07 UTC
Hi Abdel,
how is it going? Do you need any help?

Comment 2 Dominika Krejčí 2016-08-31 12:50:59 UTC
Created attachment 1196359 [details]
Add Python 3 & version update

Hi Abdel,
here is the change needed to add Python 3 support and update the version. Could you please review it and do the update?

Koji scratch build:

Also tested in Mock (fedora-23-x86_64, fedora-24-x86_64, fedora-25-x86_64, fedora-rawhide-x86_64, fedora-rawhide-i386).

Comment 3 Lumír Balhar 2016-09-12 10:15:26 UTC
Hello, Dominiko.

I tried to do a review of your patch but I think that your changes could have big impact on whole package and I also think that maintainer should look on non-working patches and decide what to do.

Comment 4 Orion Poplawski 2016-09-30 22:39:24 UTC
*** Bug 1361018 has been marked as a duplicate of this bug. ***

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