diff --git a/requirements.txt b/requirements.txt
index 428d11e8ebd..bea27f2028d 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -16,7 +16,7 @@ lxml>=2.3 # BSD
 oauth2client>=1.5.0 # Apache-2.0
 oslo.config>=3.14.0 # Apache-2.0
 oslo.concurrency>=3.8.0 # Apache-2.0
-oslo.context!=2.6.0,>=2.4.0 # Apache-2.0
+oslo.context>=2.4.0 # Apache-2.0
 oslo.db>=4.1.0 # Apache-2.0
 oslo.log>=1.14.0 # Apache-2.0
 oslo.messaging>=5.2.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 6636087f787..380147a2082 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -11,7 +11,7 @@ ddt>=1.0.1 # MIT
 fixtures>=3.0.0 # Apache-2.0/BSD
 mock>=2.0 # BSD
 mox3>=0.7.0 # Apache-2.0
-os-api-ref>=0.1.0 # Apache-2.0
+os-api-ref>=0.4.0 # Apache-2.0
 oslotest>=1.10.0 # Apache-2.0
 sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
 python-subunit>=0.0.18 # Apache-2.0/BSD