Fix pip package version
The python "cmd2" package installs version 0.9+ on Python 2.7, which only support Python 3.4+. This causes a dependency error in the gate due to issue outlined in [0]. We will pre-install a capped version of "cmd2" that would work with Python 2.7. This patch set also temporarily make the keystone webhook non-voting as this bug is causing a circular dependencies with patch [1]. Once this is fixed, a new patch will be submitted to make this voting again. [0] https://github.com/python-cmd2/cmd2/issues/421 [1] https://review.openstack.org/#/c/571093/ Change-Id: I34cbde65b74efc2805bd7785f84878783d2badbf
This commit is contained in:
parent
19f92a9393
commit
cb1c376ad2
13
.zuul.yaml
13
.zuul.yaml
@ -38,6 +38,7 @@
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- openstack-helm-infra-kubernetes-keystone-auth:
|
||||
voting: false
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
@ -60,11 +61,13 @@
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- openstack-helm-infra-kubernetes-keystone-auth:
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
# TODO(lamt): Need to reenable this once the circular dependencies between
|
||||
# OSH and OSH-infra to fix the gate.
|
||||
# - openstack-helm-infra-kubernetes-keystone-auth:
|
||||
# irrelevant-files:
|
||||
# - ^.*\.rst$
|
||||
# - ^doc/.*$
|
||||
# - ^releasenotes/.*$
|
||||
|
||||
- nodeset:
|
||||
name: openstack-helm-single-node
|
||||
|
@ -55,6 +55,9 @@ function ansible_install {
|
||||
|
||||
sudo -H -E pip install --no-cache-dir --upgrade pip
|
||||
sudo -H -E pip install --no-cache-dir --upgrade setuptools
|
||||
# NOTE(lamt) Preinstalling a capped version of cmd2 to address bug:
|
||||
# https://github.com/python-cmd2/cmd2/issues/421
|
||||
sudo -H -E pip install --no-cache-dir --upgrade "cmd2<=0.8.7"
|
||||
sudo -H -E pip install --no-cache-dir --upgrade pyopenssl
|
||||
sudo -H -E pip install --no-cache-dir --upgrade \
|
||||
ansible \
|
||||
|
Loading…
x
Reference in New Issue
Block a user