Browse Source

Use upper constraints for virtualenv in openstack-base

Since Rally has virtualenv in requirements, and is using contraints - it's
trying to downgrade virtualenv from inside a virtualenv.
Let's try to install proper version of packages in openstack-base.

Closes-Bug: #1900419
Change-Id: I2a1e2b6661fd4b62648756416e6147b604dda686
changes/53/758553/4
Michal Nasiadka 2 years ago
parent
commit
b1709a87ed
  1. 2
      docker/openstack-base/Dockerfile.j2

2
docker/openstack-base/Dockerfile.j2

@ -316,7 +316,7 @@ ENV DEBIAN_FRONTEND noninteractive
ADD openstack-base-archive /openstack-base-source
RUN ln -s openstack-base-source/* /requirements \
&& mkdir -p /var/lib/kolla \
&& {{ macros.install_pip(['virtualenv'], constraints = false)}} \
&& {{ macros.install_pip(['virtualenv'])}} \
&& virtualenv --system-site-packages /var/lib/kolla/venv
ENV PATH /var/lib/kolla/venv/bin:$PATH

Loading…
Cancel
Save