diff --git a/doc/requirements.txt b/doc/requirements.txt
index 7b8ff092..b3abbc3a 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -3,7 +3,7 @@
 # process, which may cause wedges in the gate later.
 
 # this is required for the docs build jobs
-sphinx!=1.6.6,<1.7.0,>=1.6.2 # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
 openstackdocstheme>=1.18.1 # Apache-2.0
 reno>=2.5.0 # Apache-2.0
 sphinxmark>=0.1.14 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 2d59dc94..82506c5e 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -4,6 +4,6 @@
 bashate>=0.5.1 # Apache-2.0
 flake8<2.6.0,>=2.5.4 # MIT
 pyasn1!=0.2.3,>=0.1.8 # BSD
-pyOpenSSL>=16.2.0 # Apache-2.0
+pyOpenSSL>=17.1.0 # Apache-2.0
 requests>=2.14.2 # Apache-2.0
 ndg-httpsclient>=0.4.2;python_version<'3.0' # BSD