@@ -159,13 +159,13 @@ def cover(session):
159159 session .run ("coverage" , "erase" )
160160
161161
162- @nox .session (python = "3.7 " )
162+ @nox .session (python = "3.8 " )
163163def docs (session ):
164164 """Build the docs for this library."""
165165
166166 session .install ("." , "grpcio >= 1.8.2" , "grpcio-gcp >= 0.2.2" )
167167 session .install ("-e" , "." )
168- session .install ("sphinx < 3.0 " , "alabaster" , "recommonmark" )
168+ session .install ("sphinx==4.0.1 " , "alabaster" , "recommonmark" )
169169
170170 shutil .rmtree (os .path .join ("docs" , "_build" ), ignore_errors = True )
171171 session .run (
@@ -182,14 +182,14 @@ def docs(session):
182182 )
183183
184184
185- @nox .session (python = "3.7 " )
185+ @nox .session (python = "3.8 " )
186186def docfx (session ):
187187 """Build the docfx yaml files for this library."""
188188
189189 session .install ("-e" , "." )
190- # sphinx-docfx-yaml supports up to sphinx version 1.5.5.
191- # https://github.com/docascode/ sphinx-docfx-yaml/issues/97
192- session . install ( "sphinx==1.5.5" , "alabaster" , "recommonmark" , "sphinx-docfx-yaml" )
190+ session . install (
191+ "sphinx==4.0.1" , "alabaster" , "recommonmark" , "gcp- sphinx-docfx-yaml"
192+ )
193193
194194 shutil .rmtree (os .path .join ("docs" , "_build" ), ignore_errors = True )
195195 session .run (
0 commit comments