From d6e8ddfcca4c0c61643bca5e33113b414077306a Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Fri, 28 Mar 2014 11:56:01 -0400 Subject: python-nova: drop python-argparse dependency argparse is part of python 2.7+, so there's no need to install the .egg version of argparse. Nova was pulling in this requirement, which doesn't cause a problem until another python app includes both argparse and the built in one. That results in the following: UserWarning: Module argparse was already imported from /usr/lib/python2.7/argparse.pyc, but /usr/lib/python2.7/site-packages is being added to sys.path So we drop the argparse dependency, everything still works and we no longer have the warning. Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-nova_git.bb | 1 - 1 file changed, 1 deletion(-) (limited to 'meta-openstack/recipes-devtools/python/python-nova_git.bb') diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb index 0a70aca..18e69aa 100644 --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb @@ -211,7 +211,6 @@ DEPENDS += " \ RDEPENDS_${PN} = " libvirt \ python-modules \ python-misc \ - python-argparse \ python-amqplib \ python-anyjson \ python-babel \ -- cgit v1.2.3-54-g00ecf