Use upper constraints when installing test requirements

Change-Id: I78dcbcd59c298ac165eab9e15788d408cc344115
This commit is contained in:
Andy McCrae 2017-06-02 12:34:51 +01:00
parent 33fc6b7673
commit 5de40ebea4
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@
virtualenv: "{{ swift_venv_bin | dirname }}"
extra_args: >-
{{ swift_developer_mode | ternary(pip_install_developer_constraints | default('--constraint /opt/developer-pip-constraints.txt'), '') }}
{{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }}
{{ pip_install_options | default('') }}
with_items:
- "/opt/swift/test-requirements.txt"