@@ -428,7 +428,16 @@ def docs(session):
428428
429429 session .install ("-e" , "." )
430430 session .install (
431- "sphinx==4.0.1" ,
431+ # We need to pin to specific versions of the `sphinxcontrib-*` packages
432+ # which still support sphinx 4.x.
433+ # See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
434+ # and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
435+ "sphinxcontrib-applehelp==1.0.4" ,
436+ "sphinxcontrib-devhelp==1.0.2" ,
437+ "sphinxcontrib-htmlhelp==2.0.1" ,
438+ "sphinxcontrib-qthelp==1.0.3" ,
439+ "sphinxcontrib-serializinghtml==1.1.5" ,
440+ "sphinx==4.5.0" ,
432441 "alabaster" ,
433442 "geoalchemy2" ,
434443 "shapely" ,
@@ -456,6 +465,15 @@ def docfx(session):
456465
457466 session .install ("-e" , "." )
458467 session .install (
468+ # We need to pin to specific versions of the `sphinxcontrib-*` packages
469+ # which still support sphinx 4.x.
470+ # See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
471+ # and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
472+ "sphinxcontrib-applehelp==1.0.4" ,
473+ "sphinxcontrib-devhelp==1.0.2" ,
474+ "sphinxcontrib-htmlhelp==2.0.1" ,
475+ "sphinxcontrib-qthelp==1.0.3" ,
476+ "sphinxcontrib-serializinghtml==1.1.5" ,
459477 "gcp-sphinx-docfx-yaml" ,
460478 "alabaster" ,
461479 "geoalchemy2" ,
0 commit comments