Update TOX_CONSTRAINTS_FILE for stable/2024.2
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/2024.2 branch, tests will continue to use the upper-constraints list on master. Change-Id: I4b8c05b9d07967c9899cbce2fc3e33d889fdadae
This commit is contained in:
		
							
								
								
									
										10
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								tox.ini
									
									
									
									
									
								
							@@ -13,7 +13,7 @@ setenv =
 | 
				
			|||||||
  LANGUAGE=en_US
 | 
					  LANGUAGE=en_US
 | 
				
			||||||
  LC_ALL=en_US.utf-8
 | 
					  LC_ALL=en_US.utf-8
 | 
				
			||||||
deps =
 | 
					deps =
 | 
				
			||||||
  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
					  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
 | 
				
			||||||
  -r{toxinidir}/requirements.txt
 | 
					  -r{toxinidir}/requirements.txt
 | 
				
			||||||
  -r{toxinidir}/test-requirements.txt
 | 
					  -r{toxinidir}/test-requirements.txt
 | 
				
			||||||
commands = stestr run {posargs}
 | 
					commands = stestr run {posargs}
 | 
				
			||||||
@@ -52,7 +52,7 @@ deps =
 | 
				
			|||||||
    flake8-import-order~=0.18.0 # LGPLv3
 | 
					    flake8-import-order~=0.18.0 # LGPLv3
 | 
				
			||||||
    pycodestyle>=2.0.0,<3.0.0 # MIT
 | 
					    pycodestyle>=2.0.0,<3.0.0 # MIT
 | 
				
			||||||
    doc8~=1.1.0 # Apache-2.0
 | 
					    doc8~=1.1.0 # Apache-2.0
 | 
				
			||||||
    -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
					    -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
 | 
				
			||||||
allowlist_externals = bash
 | 
					allowlist_externals = bash
 | 
				
			||||||
                      {toxinidir}/tools/run_bashate.sh
 | 
					                      {toxinidir}/tools/run_bashate.sh
 | 
				
			||||||
commands =
 | 
					commands =
 | 
				
			||||||
@@ -85,7 +85,7 @@ setenv = PYTHONHASHSEED=0
 | 
				
			|||||||
sitepackages = False
 | 
					sitepackages = False
 | 
				
			||||||
# NOTE(dtantsur): documentation building process requires importing IPA
 | 
					# NOTE(dtantsur): documentation building process requires importing IPA
 | 
				
			||||||
deps =
 | 
					deps =
 | 
				
			||||||
  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
					  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
 | 
				
			||||||
  -r{toxinidir}/requirements.txt
 | 
					  -r{toxinidir}/requirements.txt
 | 
				
			||||||
  -r{toxinidir}/doc/requirements.txt
 | 
					  -r{toxinidir}/doc/requirements.txt
 | 
				
			||||||
commands =
 | 
					commands =
 | 
				
			||||||
@@ -102,7 +102,7 @@ commands =
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
[testenv:releasenotes]
 | 
					[testenv:releasenotes]
 | 
				
			||||||
deps =
 | 
					deps =
 | 
				
			||||||
  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
					  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
 | 
				
			||||||
  -r{toxinidir}/doc/requirements.txt
 | 
					  -r{toxinidir}/doc/requirements.txt
 | 
				
			||||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
 | 
					commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -140,7 +140,7 @@ commands =
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
[testenv:bandit]
 | 
					[testenv:bandit]
 | 
				
			||||||
deps =
 | 
					deps =
 | 
				
			||||||
  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 | 
					  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
 | 
				
			||||||
  -r{toxinidir}/test-requirements.txt
 | 
					  -r{toxinidir}/test-requirements.txt
 | 
				
			||||||
commands = bandit -r ironic_python_agent -x tests -n5 -ll -c tools/bandit.yml
 | 
					commands = bandit -r ironic_python_agent -x tests -n5 -ll -c tools/bandit.yml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user