yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07309
[Bug 1243154] Re: error during component install from tag
** Changed in: anvil
Status: Fix Committed => Won't Fix
** Changed in: anvil
Status: Won't Fix => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/1243154
Title:
error during component install from tag
Status in ANVIL for forging OpenStack.:
Fix Released
Bug description:
ProcessExecutionError occurs when trying to install component from tag.
For instance, use some old tag for the 'nova-client' component:
...
get_from: "git://github.com/openstack/python-novaclient.git?tag=2.9.0"
...
And run './smithy -a prepare':
ProcessExecutionError: Unexpected error while running command.
Command: '/root/anvil/tools/specprint' '-f' '/root/openstack/deps/rpmbuild/SPECS/python-novaclient.spec'
Exit code: 1
Stdout: ''
Stderr: 'error: line 11: Illegal char \'-\' in: Version: 2.10.0-2.11.0-2.11.1-2.12.0-2.13.0-2.14.0-2.14.1-2.15.0-2.9.0
Traceback (most recent call last):
File "/root/anvil/tools/specprint", line 84, in <module>
print(json.dumps(analyze_spec(options.file), sort_keys=True, indent=4))
File "/root/anvil/tools/specprint", line 50, in analyze_spec
raise IOError(str(e).strip() + ": " + spec_filename)
IOError: can\'t parse specfile: /root/openstack/deps/rpmbuild/SPECS/python-novaclient.spec'
Further exploration showed that this is possibly a pip related problem:
> git clone https://github.com/openstack/python-novaclient.git
> cd python-novaclient
> git checkout -b test 2.9.0
> python
>>> from pip import req
>>> r = req.InstallRequirement.from_line('./')
>>> r.source_dir = './'
>>> r.run_egg_info()
>>> r.installed_version
>>> '2.10.0-2.11.0-2.11.1-2.12.0-2.13.0-2.14.0-2.14.1-2.15.0-2.9.0' <- yes, not what was expected.
Pip version: 1.4.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/anvil/+bug/1243154/+subscriptions