diff --git a/tox.ini b/tox.ini
index 542a095d4..3aed0aab8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,15 +5,19 @@ envlist = py3,py27,functional,pep8
 
 [testenv]
 usedevelop = True
-install_command = pip install -U -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} {opts} {packages}
+install_command = pip install -U {opts} {packages}
 setenv =
   VIRTUAL_ENV={envdir}
   PYTHONDONTWRITEBYTECODE = 1
   OS_TEST_PATH=./ironic_python_agent/tests/unit
   LANGUAGE=en_US
   LC_ALL=en_US.utf-8
-deps = -r{toxinidir}/test-requirements.txt
+deps =
+  -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+  -r{toxinidir}/requirements.txt
+  -r{toxinidir}/test-requirements.txt
 commands = stestr run {posargs}
+passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
 
 [testenv:functional]
 basepython = python3