The error msg is as follows, I see the centos source base dockerfile has git installed, so it's reasonable for ubuntu base doing the similar.
==========================
Processing /neutron
Complete output from command python setup.py egg_info:
ERROR:root:Error parsing
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pbr/core.py", line 109, in pbr
attrs = util.cfg_to_args(path)
File "/usr/local/lib/python2.7/dist-packages/pbr/util.py", line 243, in cfg_to_args pbr.hooks.setup_hook(config)
File "/usr/local/lib/python2.7/dist-packages/pbr/hooks/__init__.py", line 25, in setup_hook metadata_config.run()
File "/usr/local/lib/python2.7/dist-packages/pbr/hooks/base.py", line 27, in run
self.hook()
File "/usr/local/lib/python2.7/dist-packages/pbr/hooks/metadata.py", line 26, in hook self.config['name'], self.config.get('version', None))
File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 640, in get_version
raise Exception("Versioning for this project requires either an sdist"
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?
error in setup command: Error parsing /tmp/pip-iXz7EF-build/setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?
The error msg is as follows, I see the centos source base dockerfile has git installed, so it's reasonable for ubuntu base doing the similar. ======= ======= ===== root:Error parsing lib/python2. 7/dist- packages/ pbr/core. py", line 109, in pbr to_args( path) lib/python2. 7/dist- packages/ pbr/util. py", line 243, in cfg_to_args
pbr.hooks. setup_hook( config) lib/python2. 7/dist- packages/ pbr/hooks/ __init_ _.py", line 25, in setup_hook
metadata_ config. run() lib/python2. 7/dist- packages/ pbr/hooks/ base.py" , line 27, in run lib/python2. 7/dist- packages/ pbr/hooks/ metadata. py", line 26, in hook
self.config[ 'name'] , self.config. get('version' , None)) lib/python2. 7/dist- packages/ pbr/packaging. py", line 640, in get_version "Versioning for this project requires either an sdist" iXz7EF- build/setup. cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?
=======
Processing /neutron
Complete output from command python setup.py egg_info:
ERROR:
Traceback (most recent call last):
File "/usr/local/
attrs = util.cfg_
File "/usr/local/
File "/usr/local/
File "/usr/local/
self.hook()
File "/usr/local/
File "/usr/local/
raise Exception(
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?
error in setup command: Error parsing /tmp/pip-