Browse Source

Add Constraints support

To be co-installable with other OpenStack projects and have consistent
testing it's a good idea (tm) to use constraints when creating tox
environments.

Change-Id: I2996f6fb97f9511ab13e8f5c4460014b286df7a8
tags/6.0.0.0b3^0
Tony Breeds 2 years ago
parent
commit
85fd5506fa
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tox.ini

+ 1
- 1
tox.ini View File

@@ -5,7 +5,7 @@ skipsdist = True
5 5
 
6 6
 [testenv]
7 7
 usedevelop = True
8
-install_command = pip install -U {opts} {packages}
8
+install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
9 9
 setenv =
10 10
     VIRTUAL_ENV={envdir}
11 11
 deps =

Loading…
Cancel
Save