Switch upper-constraints URL to static location
During the train cycle, a new static URL scheme was introduced for upper-constraints URLs that allows us to switch locations based on configuration and avoid timing windows with the requirements repo branching. This updates upper-constraints links in the tox.ini file to point to the newer more prefered location. Change-Id: I8efbb24483d2a63a8abfa50e328fefb7ffd92e5f Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
		
							
								
								
									
										6
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								tox.ini
									
									
									
									
									
								
							| @@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir} | |||||||
|          LANGUAGE=en_US:en |          LANGUAGE=en_US:en | ||||||
|          LC_ALL=C |          LC_ALL=C | ||||||
| deps = | deps = | ||||||
|        -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |        -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} | ||||||
|        -r{toxinidir}/requirements.txt |        -r{toxinidir}/requirements.txt | ||||||
|        -r{toxinidir}/test-requirements.txt |        -r{toxinidir}/test-requirements.txt | ||||||
|  |  | ||||||
| @@ -27,7 +27,7 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY | |||||||
| [testenv:docs] | [testenv:docs] | ||||||
| basepython = python3 | basepython = python3 | ||||||
| deps = | deps = | ||||||
|        -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |        -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} | ||||||
|        -r{toxinidir}/requirements.txt |        -r{toxinidir}/requirements.txt | ||||||
|        -r{toxinidir}/doc/requirements.txt |        -r{toxinidir}/doc/requirements.txt | ||||||
| commands = sphinx-build -b html doc/source doc/build/html | commands = sphinx-build -b html doc/source doc/build/html | ||||||
| @@ -71,7 +71,7 @@ passenv = OS_STDOUT_CAPTURE | |||||||
| [testenv:releasenotes] | [testenv:releasenotes] | ||||||
| basepython = python3 | basepython = python3 | ||||||
| deps = | deps = | ||||||
|   -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |   -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} | ||||||
|   -r{toxinidir}/doc/requirements.txt |   -r{toxinidir}/doc/requirements.txt | ||||||
| commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html | commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sean McGinnis
					Sean McGinnis