diff --git a/doc/source/conf.py b/doc/source/conf.py
index b25e67770d..ab534108d8 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -50,7 +50,7 @@ extensions = ['sphinx.ext.autodoc',
               'sphinx.ext.todo',
               'sphinx.ext.coverage',
               'sphinx.ext.viewcode',
-              'oslo.sphinx',
+              'oslosphinx',
               # NOTE(dstanek): Uncomment the [pbr] section in setup.cfg and
               # remove this Sphinx extension when
               # https://launchpad.net/bugs/1260495 is fixed.
diff --git a/test-requirements.txt b/test-requirements.txt
index fb8bc4e675..5adf1fa713 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -37,7 +37,7 @@ requests>=1.1
 keyring>=1.6.1,<2.0,>=2.1
 
 # For documentation
-oslo.sphinx
+oslosphinx
 
 # Used only by oslo
 kombu>=2.4.8