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 1342485 - PyXB: PyXB requires both Python 2 and Python 3
Summary: PyXB: PyXB requires both Python 2 and Python 3
Alias: None
Product: Fedora
Classification: Fedora
Component: PyXB
Version: 25
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: mk
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2016-06-03 11:36 UTC by Tomas Orsava
Modified: 2016-09-09 09:31 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2016-09-09 08:26:05 UTC
Type: Bug

Attachments (Terms of Use)

Description Tomas Orsava 2016-06-03 11:36:31 UTC
The PyXB RPM requires both Python 2 and Python 3.

Except in very special circumstances, there is no need for one package
to drag in both Python stacks. Usually, this is a packaging error: for
example, a stray "/usr/bin/python" shebang in a Python 3 package can
introduce a Python 2 dependency.

Please split your package, or remove the stray dependencies.
There is a section on shebangs in the Python RPM Porting Guide [0]
which covers this issue.

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, you can
ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy
to help investigating or fixing this issue!


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

Comment 2 Fedora Admin XMLRPC Client 2016-08-22 18:34:04 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Dominika Krejčí 2016-09-05 08:11:17 UTC
Hi Marcus,
how is it going? Do you need some help?

Comment 4 Petr Viktorin (pviktori) 2016-09-09 08:26:05 UTC
This was fixed in [commit a6b24c5]. Thanks Marcus!

[commit a6b24c5]:

Comment 5 mk 2016-09-09 09:31:22 UTC
Nice to hear that it works. I'll lock into fixing it on F24 as well.

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