Bug 1019977 - 'lmi' python namespace not properly registered
Summary: 'lmi' python namespace not properly registered
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: openlmi-providers
Version: 20
Hardware: noarch
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Radek Novacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-16 17:44 UTC by Stephen Gallagher
Modified: 2016-12-01 00:32 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 05:36:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stephen Gallagher 2013-10-16 17:44:29 UTC
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):
openlmi-python-base-0.2.0-2.fc20.noarch

How reproducible:
Every time

Steps to Reproduce:
1. yum install openlmi-python-base
2. As root (or in a virtualenv created with --system-site-packages) run:
easy_install lmi

Actual results:

(virtualenv)[sgallagh@sgallagh520:virtualenv]$ easy_install lmi
Searching for lmi
Reading https://pypi.python.org/simple/lmi/
Couldn't find index page for 'lmi' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for lmi
error: Could not find suitable distribution for Requirement.parse('lmi')


Expected results:
lmi 0.2.0 is already the active version in easy-install.pth

Additional info:
This is blocking the package review for openlmi-scripts

Comment 1 Michal Minar 2013-10-17 05:36:37 UTC
'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.

Comment 2 Michal Minar 2013-10-17 08:10:28 UTC
I've opened the bug bz#1020166 on openlmi-tools instead.


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