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 1422933 - python-junitxml: python-junitxml-0.7-9 requires both Python 2 and Python 3
Summary: python-junitxml: python-junitxml-0.7-9 requires both Python 2 and Python 3
Alias: None
Product: Fedora
Classification: Fedora
Component: python-junitxml
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Steve Linabery
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: PYTHON3
TreeView+ depends on / blocked
Reported: 2017-02-16 15:07 UTC by Iryna Shcherbina
Modified: 2017-02-27 15:54 UTC (History)
2 users (show)

Fixed In Version: python-junitxml-0.7-10.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-02-27 15:54:02 UTC
Type: Bug

Attachments (Terms of Use)
Patch to fix dragging in Python 3 in python-junitxml (deleted)
2017-02-16 16:25 UTC, Iryna Shcherbina
no flags Details

Description Iryna Shcherbina 2017-02-16 15:07:16 UTC
The python-junitxml-0.7-9 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: in this case the Python 3 executable overrides the Python 2 one during installation. Also, python3-junitxml is missing the executable altogether.

Please remove the stray dependency, and add an executable to the Python 3 subpackage. There is a section on `Moving the Executables and Making Symlinks` in the Python RPM Porting Guide [0] which covers this issue, and an example of a ported spec file [1].

It's ok to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 25 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 Iryna Shcherbina 2017-02-16 16:25:50 UTC
Created attachment 1250904 [details]
Patch to fix dragging in Python 3 in python-junitxml

Please see the change attached that should fix the issue.

Koji scratch build:

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