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: Ibe0b644f2f12e4629e6f14a91913fc919d761f7a
This commit is contained in:
		
							
								
								
									
										8
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								tox.ini
									
									
									
									
									
								
							| @@ -23,7 +23,7 @@ passenv = | |||||||
|     *_PROXY |     *_PROXY | ||||||
|  |  | ||||||
| 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 = find . -type f -name "*.pyc" -delete | commands = find . -type f -name "*.pyc" -delete | ||||||
| @@ -38,7 +38,7 @@ commands = | |||||||
|  |  | ||||||
| [testenv:pylint] | [testenv:pylint] | ||||||
| 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 | ||||||
|        pylint==2.6.0 |        pylint==2.6.0 | ||||||
| commands = bash tools/lintstack.sh | commands = bash tools/lintstack.sh | ||||||
| @@ -59,7 +59,7 @@ commands = | |||||||
|  |  | ||||||
| [testenv:docs] | [testenv:docs] | ||||||
| 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 -W -b html doc/source doc/build/html | commands = sphinx-build -W -b html doc/source doc/build/html | ||||||
|  |  | ||||||
| @@ -76,7 +76,7 @@ allowlist_externals = | |||||||
|  |  | ||||||
| [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 | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user