Bug 1654946 - kobo packages are missing dependency on six
Summary: kobo packages are missing dependency on six
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kobo
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rohan McGovern
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1625711 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-30 06:52 UTC by Rohan McGovern
Modified: 2018-12-18 03:41 UTC (History)
2 users (show)

Fixed In Version: kobo-0.8.0-1.fc29 kobo-0.8.0-1.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-18 03:05:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rohan McGovern 2018-11-30 06:52:20 UTC
Description of problem:

python2-kobo-client depends on "six" python module:

  $ grep 'import six' /usr/lib/python2.7/site-packages/kobo/client/__init__.py
  import six.moves.urllib.parse as urlparse

  $ rpm -qf /usr/lib/python2.7/site-packages/kobo/client/__init__.py
  python2-kobo-client-0.7.0-7.fc28.noarch

But no dependency on python "six" module is declared:

  $ rpm -q python2-kobo-client --requires
  python(abi) = 2.7
  python2-kobo = 0.7.0-7.fc28
  rpmlib(CompressedFileNames) <= 3.0.4-1
  rpmlib(FileDigests) <= 4.6.0-1
  rpmlib(PartialHardlinkSets) <= 4.0.4-1
  rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  rpmlib(PayloadIsXz) <= 5.2-1

  $ rpm -q python2-kobo --requires
  python(abi) = 2.7
  rpmlib(CompressedFileNames) <= 3.0.4-1
  rpmlib(FileDigests) <= 4.6.0-1
  rpmlib(PartialHardlinkSets) <= 4.0.4-1
  rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  rpmlib(PayloadIsXz) <= 5.2-1

Therefore one can install python2-kobo-client and fail to install six, leaving a broken system.


Version-Release number of selected component (if applicable):

python2-kobo-client-0.7.0-7.fc28


How reproducible:

100%


Steps to Reproduce:
1. On a clean system, install python2-kobo-client
2. python -c 'import kobo.client'

Actual results:

Step (1) did not install any package providing six module.

Step (2) fails with:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/lib/python2.7/site-packages/kobo/client/__init__.py", line 75, in <module>
      import six.moves.urllib.parse as urlparse
  ImportError: No module named six.moves.urllib.parse


Expected results:

Step (1) installs a package providing six module, and step (2) succeeds.

Comment 1 Fedora Update System 2018-11-30 07:54:35 UTC
kobo-0.8.0-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b7705eb407

Comment 2 Fedora Update System 2018-11-30 07:56:01 UTC
kobo-0.8.0-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4418fc329b

Comment 3 Kamil Dudka 2018-11-30 07:56:09 UTC
FYI, this was already reported as bug #1625711 back in September.

Comment 4 Kamil Dudka 2018-11-30 07:56:35 UTC
*** Bug 1625711 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2018-12-01 01:37:36 UTC
kobo-0.8.0-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b7705eb407

Comment 6 Fedora Update System 2018-12-01 02:42:17 UTC
kobo-0.8.0-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-4418fc329b

Comment 7 Fedora Update System 2018-12-18 03:05:07 UTC
kobo-0.8.0-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2018-12-18 03:41:19 UTC
kobo-0.8.0-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


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