diff --git a/requirements.txt b/requirements.txt
index f2333c0bd..47f5abbbe 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -7,4 +7,4 @@ pbr>=1.6 # Apache-2.0
 PyYAML>=3.1.0 # MIT
 flake8<2.6.0,>=2.5.4 # MIT
 six>=1.9.0 # MIT
-oslosphinx>=2.5.0,!=3.4.0  # Apache-2.0
+oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0