Update TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. Change-Id: I0912f7a3007b9b870712fdb74679008de9984328
This commit is contained in:
		
				
					committed by
					
						
						Renat Akhmerov
					
				
			
			
				
	
			
			
			
						parent
						
							577308f785
						
					
				
				
					commit
					0b2fa40318
				
			
							
								
								
									
										6
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								tox.ini
									
									
									
									
									
								
							@@ -14,7 +14,7 @@ setenv =
 | 
			
		||||
    PYTHONWARNINGS=default::DeprecationWarning
 | 
			
		||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
 | 
			
		||||
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
 | 
			
		||||
commands =
 | 
			
		||||
@@ -49,7 +49,7 @@ commands = {posargs}
 | 
			
		||||
 | 
			
		||||
[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 =
 | 
			
		||||
    rm -rf doc/html doc/build
 | 
			
		||||
@@ -66,7 +66,7 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
 | 
			
		||||
 | 
			
		||||
[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 =
 | 
			
		||||
  rm -rf releasenotes/build
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user