Red Hat Bugzilla – Bug 1019977
'lmi' python namespace not properly registered
Last modified: 2016-11-30 19:32:13 EST
Description of problem:
After installing openlmi-python-base, the 'lmi' namespace is not properly installed. Other python packages that attempt to specify a requirement on this module in their setup.py files fail to find it on the system.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install openlmi-python-base
2. As root (or in a virtualenv created with --system-site-packages) run:
(virtualenv)[sgallagh@sgallagh520:virtualenv]$ easy_install lmi
Searching for lmi
Couldn't find index page for 'lmi' (maybe misspelled?)
Scanning index of all packages (this may take a while)
No local packages or download links found for lmi
error: Could not find suitable distribution for Requirement.parse('lmi')
lmi 0.2.0 is already the active version in easy-install.pth
This is blocking the package review for openlmi-scripts
'lmi' you refer to is a python namespace package. Not the python egg downloadable from PyPi. All of OpenLMI python packages are named 'openlmi*'. The problem you refer to is probably caused by 'openlmi-tools' packages which has wrong requires in its egg metadata. It depends on 'lmi' instead of 'openlmi'. This causes any other package installed either to system or user directory to search for 'lmi' dependency which does not exist. This is already fixed in upstream.
I'll open corresponding bug on openlmi-tools.
I've opened the bug bz#1020166 on openlmi-tools instead.