Skip to content

Commit a8aaaf6

Browse files
authored
chore: pin Sphinx version in noxfile (#500)
Closes #469.
1 parent 0a52546 commit a8aaaf6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

noxfile.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def docs(session):
166166
"""Build the docs for this library."""
167167

168168
session.install("-e", ".")
169-
session.install("sphinx", "alabaster", "recommonmark")
169+
session.install("sphinx==4.0.1", "alabaster", "recommonmark")
170170

171171
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
172172
session.run(
@@ -189,7 +189,9 @@ def docfx(session):
189189

190190
session.install("-e", ".")
191191
session.install("grpcio")
192-
session.install("sphinx", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml")
192+
session.install(
193+
"sphinx==4.0.1", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml"
194+
)
193195

194196
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
195197
session.run(

0 commit comments

Comments
 (0)