Merge "Update constraints handling"

This commit is contained in:
Zuul 2020-05-15 11:04:07 +00:00 committed by Gerrit Code Review
commit ad9304b794
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
set -ex set -ex
export PATH=$PATH:/usr/local/sbin:/usr/sbin export PATH=$PATH:/usr/local/sbin:/usr/sbin
source {{ virtualenvs.tempestconf }}/bin/activate source {{ virtualenvs.tempestconf }}/bin/activate
pip install -c https://opendev.org/openstack/requirements/raw/branch/{{ branch }}/upper-constraints.txt . pip install -c {{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt .
args: args:
chdir: "{{ tempestconf_src_relative_path }}" chdir: "{{ tempestconf_src_relative_path }}"
executable: /bin/bash executable: /bin/bash

View File

@ -26,7 +26,7 @@
set -ex set -ex
export PATH=$PATH:/usr/local/sbin:/usr/sbin export PATH=$PATH:/usr/local/sbin:/usr/sbin
source {{ virtualenvs.tempestconf }}/bin/activate source {{ virtualenvs.tempestconf }}/bin/activate
pip install -c https://opendev.org/openstack/requirements/raw/branch/{{ branch }}/upper-constraints.txt . pip install -c {{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt .
args: args:
chdir: "{{ tempestconf_src_relative_path }}" chdir: "{{ tempestconf_src_relative_path }}"
executable: /bin/bash executable: /bin/bash

View File

@ -9,7 +9,7 @@ ignore_basepython_conflict = true
[testenv] [testenv]
basepython = python3 basepython = python3
usedevelop = True usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
setenv = setenv =
VIRTUAL_ENV={envdir} VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning PYTHONWARNINGS=default::DeprecationWarning