@@ -378,7 +378,16 @@ def docs(session):
378
378
379
379
session .install ("-e" , "." )
380
380
session .install (
381
- "sphinx==4.0.1" ,
381
+ # We need to pin to specific versions of the `sphinxcontrib-*` packages
382
+ # which still support sphinx 4.x.
383
+ # See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
384
+ # and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
385
+ "sphinxcontrib-applehelp==1.0.4" ,
386
+ "sphinxcontrib-devhelp==1.0.2" ,
387
+ "sphinxcontrib-htmlhelp==2.0.1" ,
388
+ "sphinxcontrib-qthelp==1.0.3" ,
389
+ "sphinxcontrib-serializinghtml==1.1.5" ,
390
+ "sphinx==4.5.0" ,
382
391
"alabaster" ,
383
392
"recommonmark" ,
384
393
)
@@ -404,6 +413,15 @@ def docfx(session):
404
413
405
414
session .install ("-e" , "." )
406
415
session .install (
416
+ # We need to pin to specific versions of the `sphinxcontrib-*` packages
417
+ # which still support sphinx 4.x.
418
+ # See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
419
+ # and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
420
+ "sphinxcontrib-applehelp==1.0.4" ,
421
+ "sphinxcontrib-devhelp==1.0.2" ,
422
+ "sphinxcontrib-htmlhelp==2.0.1" ,
423
+ "sphinxcontrib-qthelp==1.0.3" ,
424
+ "sphinxcontrib-serializinghtml==1.1.5" ,
407
425
"gcp-sphinx-docfx-yaml" ,
408
426
"alabaster" ,
409
427
"recommonmark" ,
0 commit comments