Bug 1398567 - fedfind: python3-fedfind requires both Python 2 and Python 3
Summary: fedfind: python3-fedfind requires both Python 2 and Python 3
Alias: None
Product: Fedora
Classification: Fedora
Component: fedfind
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Adam Williamson
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: PYTHON3
TreeView+ depends on / blocked
Reported: 2016-11-25 09:57 UTC by Iryna Shcherbina
Modified: 2016-12-05 22:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2016-12-05 22:16:26 UTC

Attachments (Terms of Use)

Description Iryna Shcherbina 2016-11-25 09:57:34 UTC
The python3-fedfind 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 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!

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

Comment 1 Adam Williamson 2016-12-05 22:16:26 UTC
This was actually just the result of mistakenly putting a python2 package in one of the package's python3 dependency globals. fixed in 3.1.3-2 (will land on Rawhide shortly, and updates are out for other branches).

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