Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated This allows to use upper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. Change-Id: I946dca0e06f4bd96fb154cde1cc3bb5ee362a8fd
This commit is contained in:
		
							
								
								
									
										6
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								tox.ini
									
									
									
									
									
								
							@@ -16,7 +16,7 @@ setenv = VIRTUAL_ENV={envdir}
 | 
			
		||||
         LANGUAGE=en_US:en
 | 
			
		||||
         LC_ALL=C
 | 
			
		||||
deps =
 | 
			
		||||
       -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
			
		||||
       -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
			
		||||
       -r{toxinidir}/requirements.txt
 | 
			
		||||
       -r{toxinidir}/test-requirements.txt
 | 
			
		||||
 | 
			
		||||
@@ -31,7 +31,7 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
 | 
			
		||||
 | 
			
		||||
[testenv:docs]
 | 
			
		||||
deps =
 | 
			
		||||
       -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
			
		||||
       -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
			
		||||
       -r{toxinidir}/doc/requirements.txt
 | 
			
		||||
commands = sphinx-build -W -b html doc/source doc/build/html
 | 
			
		||||
 | 
			
		||||
@@ -80,7 +80,7 @@ setenv =
 | 
			
		||||
 | 
			
		||||
[testenv:releasenotes]
 | 
			
		||||
deps =
 | 
			
		||||
  -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
			
		||||
  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
			
		||||
  -r{toxinidir}/doc/requirements.txt
 | 
			
		||||
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user