Bug 1472952

Summary: python2-speedtest-cli missing dependencies?
Product: [Fedora] Fedora EPEL Reporter: Matt Castelein <matt.castelein>
Component: python-speedtest-cliAssignee: Björn Esser (besser82) <besser82>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: ajschorr, besser82, iamdexpl, rob.townley, stefano.biagiotti, tn, torriem
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-09 02:07:50 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:
Embargoed:

Description Matt Castelein 2017-07-19 16:24:16 UTC
Description of problem:
Dependencies Resolved

================================================================================================================================
 Package                                 Arch                     Version                          Repository              Size
================================================================================================================================
Installing:
 python2-speedtest-cli                   noarch                   1.0.2-1.el6                      epel                    40 k

Transaction Summary
================================================================================================================================
Install       1 Package(s)

Total download size: 40 k
...
Running Transaction
  Installing : python2-speedtest-cli-1.0.2-1.el6.noarch                                                                     1/1
  Verifying  : python2-speedtest-cli-1.0.2-1.el6.noarch                                                                     1/1

Installed:
  python2-speedtest-cli.noarch 0:1.0.2-1.el6

Complete!
...
# speedtest
Traceback (most recent call last):
  File "/usr/bin/speedtest", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources


Version-Release number of selected component (if applicable):
python2-speedtest-cli-1.0.2-1.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1.Install package
2.run speedtest

Actual results:
missing module error

Expected results:
Speedtest runs

Comment 1 Vadim Raskhozhev 2017-07-30 21:34:10 UTC
Exactly the same here

Comment 2 Vadim Raskhozhev 2017-07-31 11:38:55 UTC
speedtest works as it should after having manually installed python-setuptools

Comment 3 Vadim Raskhozhev 2017-07-31 12:01:36 UTC
python2-speedtest-cli at EPEL 7 suffers from this problem as well. Its solution is still as simple as `yum install python-setuptools`. Please consider adding explicit dependency on python-setuptools to python2-speedtest-cli both in EPEL 6 and EPEL 7.

Comment 4 Michael Torrie 2018-11-12 04:40:42 UTC
EPEL 7 still missing the dependency as of Nov 11, 2018, 1.06.95-13.el7.

Also it appears that the package should also depend on the bc package.  I can open a new ticket for this if needed. This bug is unlikely to be encountered unless installed on a minimal RHEL7 or CentOS 7 install.

Comment 5 Andrew Schorr 2019-10-19 20:33:51 UTC
Same here: on a minimal install, this fails unless python-setuptools are added. In the
spec file, the "BuildRequires:  python-setuptools" should be changed to "Requires:  python-setuptools".

Comment 6 Ben Cotton 2020-11-05 16:50:15 UTC
This message is a reminder that EPEL 6 is nearing its end of life. Fedora will stop maintaining and issuing updates for EPEL 6 on 2020-11-30. It is our policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of 'el6'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later EPEL version.

Thank you for reporting this issue and we are sorry that we were not able to fix it before EPEL 6 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged  change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.

Comment 7 Stefano Biagiotti 2021-03-04 16:06:51 UTC
*** Bug 1935316 has been marked as a duplicate of this bug. ***

Comment 8 Troy Dawson 2024-07-09 02:07:50 UTC
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.