Bug 1378729 - dnf install python-wheel should install python2-wheel
Summary: dnf install python-wheel should install python2-wheel
Keywords:
Status: CLOSED DUPLICATE of bug 1096506
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-23 08:31 UTC by Jiri Popelka
Modified: 2016-09-23 09:09 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-09-23 08:40:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 :-)


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