Bug 1378729

Summary: dnf install python-wheel should install python2-wheel
Product: [Fedora] Fedora Reporter: Jiri Popelka <jpopelka>
Component: dnfAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: jsilhan, mluscon, packaging-team-maint, pnemade, rpm-software-management, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-23 08:40:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jiri Popelka 2016-09-23 08:31:07 UTC
Many Python packages use %python_provide macro
(https://fedoraproject.org/wiki/Packaging:Python#The_.25python_provide_macro)
which AFAIK causes that for example python2-wheel subpackage provides also python-wheel.

$ dnf provides python-wheel
python2-wheel-0.30.0a0-2.fc24.noarch : A built-package format for Python
Repo        : updates-testing

python-wheel-0.26.0-2.fc24.noarch : A built-package format for Python
Repo        : fedora

Now I'd expect that 'dnf install python-wheel' installs python2-wheel, but python-wheel gets installed instead.

$ dnf install python-wheel
...
Installed:
  python-wheel.noarch 0.26.0-2.fc24

$ rpm -q --provides python-wheel
python-wheel = 0.26.0-2.fc24

Even 'dnf update' correctly updates python-wheel to python2-wheel:

$ dnf update
...
Installing:
 python2-wheel noarch 0.30.0a0-2.fc24 updates-testing 86 k
     replacing  python-wheel.noarch 0.26.0-2.fc24
...
Installed:
  python2-wheel.noarch 0.30.0a0-2.fc24

$ rpm -q --provides python2-wheel
python-wheel = 0.30.0a0-2.fc24
python2-wheel = 0.30.0a0-2.fc24

Comment 1 Igor Gnatenko 2016-09-23 08:40:45 UTC

*** This bug has been marked as a duplicate of bug 1096506 ***

Comment 2 Jiri Popelka 2016-09-23 09:09:17 UTC
Oh, so I already reported it as bug #1325941 :-)