Failed to build centos container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Chuck Short |
Bug Description
While building the container to setup the developer environment for centos7, the container will fail to build because newer versions on git-review do not support python2.7, from the release notes:
https:/
"As of this release, git-review no longer supports running under the Python 2.7 interpreter. The major version component has been increased accordingly. Users wishing to use git-review with Python 2.7 can cap their installations like pip install "git-review<2", though pip version 9 and later will use python_requires package metadata to avoid installing git-review on an unsupported interpreter. Future removal of support for Python 3 minor versions will only result in a minor version increase for corresponding git-review releases."
Traceback is below:
Collecting git-review
Downloading https:/
Complete output from command python setup.py egg_info:
Couldn't find index page for 'pbr' (maybe misspelled?)
No local packages or download links found for pbr>=4.1.0
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-
File "/usr/lib64/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
dist = best[req.key] = env.best_match(req, self, installer)
File "/usr/lib/
return self.obtain(req, installer) # try and download/install
File "/usr/lib/
return installer(
File "/usr/lib/
return cmd.easy_
File "/usr/lib/
raise DistutilsError(msg)
distutils.
Fix proposed to branch: master /review. opendev. org/c/starlingx /tools/ +/788751
Review: https:/