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 1580070 - fio: fio-3.6-2.fc29 requires both Python 2 and Python 3
Summary: fio: fio-3.6-2.fc29 requires both Python 2 and Python 3
Alias: None
Product: Fedora
Classification: Fedora
Component: fio
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Eric Sandeen
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2018-05-19 19:59 UTC by Iryna Shcherbina
Modified: 2018-06-01 19:52 UTC (History)
1 user (show)

Fixed In Version: fio-3.6-3.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-06-01 19:52:53 UTC
Type: Bug

Attachments (Terms of Use)

Description Iryna Shcherbina 2018-05-19 19:59:03 UTC
The fio-3.6-2.fc29 RPM requires both Python 2 and Python 3:

$ dnf repoquery --repo=rawhide --requires fio | grep python

Except in very special circumstances, there is no need for one package
to drag in both Python stacks. Usually, this is a packaging error.
There are three executables in the fio package with `/usr/bin/python2.7`
shebang, which introduce the Python 2 dependency: 

# grep -r /usr/bin/python2 .

Please 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 28 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 Eric Sandeen 2018-05-21 14:50:01 UTC
This was a mistake, I intended to patch the shebang to python3; let me see what happened.

Comment 2 Eric Sandeen 2018-06-01 19:52:53 UTC
fixed in rawhide.

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