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!

[0] http://python-rpm-porting.readthedocs.io/en/latest/application-modules.html#are-shebangs-dragging-you-down-to-python-2

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 2016-09-09 08:26:05 UTC
This was fixed in [commit a6b24c5]. Thanks Marcus!

[commit a6b24c5]: http://pkgs.fedoraproject.org/cgit/rpms/PyXB.git/commit/PyXB.spec?id=a6b24c501a79b325c9cef3f44fb734ac29aa11ef

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.