Update TOX_CONSTRAINTS_FILE for stable/2023.1
Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/2023.1 branch, tests will continue to use the upper-constraints list on master. Change-Id: Idca37464ce6fe79bf822be0f4c55baf95ebe4ef2
This commit is contained in:
		
							
								
								
									
										6
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								tox.ini
									
									
									
									
									
								
							@@ -12,7 +12,7 @@ setenv = VIRTUAL_ENV={envdir}
 | 
			
		||||
         LC_ALL=C
 | 
			
		||||
         PYTHONWARNINGS=default::DeprecationWarning
 | 
			
		||||
usedevelop = True
 | 
			
		||||
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
			
		||||
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.1}
 | 
			
		||||
       -r{toxinidir}/requirements.txt
 | 
			
		||||
       -r{toxinidir}/test-requirements.txt
 | 
			
		||||
# Delete bytecodes from normal directories before running tests.
 | 
			
		||||
@@ -51,7 +51,7 @@ commands =
 | 
			
		||||
 | 
			
		||||
[testenv:docs]
 | 
			
		||||
deps =
 | 
			
		||||
  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
			
		||||
  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.1}
 | 
			
		||||
  -r{toxinidir}/doc/requirements.txt
 | 
			
		||||
commands = sphinx-build -W -b html doc/source doc/build/html
 | 
			
		||||
 | 
			
		||||
@@ -66,7 +66,7 @@ commands =
 | 
			
		||||
 | 
			
		||||
[testenv:releasenotes]
 | 
			
		||||
deps =
 | 
			
		||||
  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
			
		||||
  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.1}
 | 
			
		||||
  -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