summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-cliff_1.10.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* Use a bbclass to remove argparse from requirementsJosep Puigdemont2015-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | argparse is required by some of the CLI applications of openstack. The module is provided by python 2.7, however python-distribute (used in fido), is not able to find it: Python 2.7.9 (default, Oct 27 2015, 18:12:55) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pkg_resources >>> pkg_resources.get_distribution('argparse') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/distribute-0.6.49-py2.7.egg/pkg_resources.py", line 338, in get_distribution if isinstance(dist,Requirement): dist = get_provider(dist) File "/usr/lib/python2.7/site-packages/distribute-0.6.49-py2.7.egg/pkg_resources.py", line 217, in get_provider return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] File "/usr/lib/python2.7/site-packages/distribute-0.6.49-py2.7.egg/pkg_resources.py", line 698, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/site-packages/distribute-0.6.49-py2.7.egg/pkg_resources.py", line 596, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: argparse >>> import argparse >>> This patch adds a class that when inherited will remove argparse from requirements.txt. Also with this patch, those python modules used by openstackclient inherit the class. Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-cliff: Fix object has no attribute debug errorJosep Puigdemont2015-12-111-2/+3
| | | | | | | | Apply fix provided by upstream for the "object has no attribute error" when help is called. Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-cliff: account for dependency on python-pbrJosep Puigdemont2015-09-101-1/+7
| | | | | | | | | | | | This fixes this build error: | File ".../x86_64-linux/usr/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/setuptools/command/easy_install.py", line 592, in easy_install | raise DistutilsError(msg) | distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr') | ERROR: python setup.py build_ext execution failed. | WARNING: exit code 1 from a shell command. Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libs: version refreshBruce Ashfield2015-03-251-0/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* support-libs: refresh round1Bruce Ashfield2015-03-031-0/+21
Refreshing the support libraries to prepare for kilo uprevs of the core components. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>