Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 7f664a1

Browse files
committed
Update noxfile.py
1 parent ac960e0 commit 7f664a1

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

noxfile.py

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def cover(session):
351351
session.run("coverage", "erase")
352352

353353

354-
@nox.session(python=DEFAULT_PYTHON_VERSION)
354+
@nox.session(python="3.10")
355355
def docs(session):
356356
"""Build the docs for this library."""
357357

@@ -361,12 +361,12 @@ def docs(session):
361361
# which still support sphinx 4.x.
362362
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
363363
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
364-
# "sphinxcontrib-applehelp==1.0.4",
365-
# "sphinxcontrib-devhelp==1.0.2",
366-
# "sphinxcontrib-htmlhelp==2.0.1",
367-
# "sphinxcontrib-qthelp==1.0.3",
368-
# "sphinxcontrib-serializinghtml==1.1.5",
369-
"sphinx",
364+
"sphinxcontrib-applehelp==1.0.4",
365+
"sphinxcontrib-devhelp==1.0.2",
366+
"sphinxcontrib-htmlhelp==2.0.1",
367+
"sphinxcontrib-qthelp==1.0.3",
368+
"sphinxcontrib-serializinghtml==1.1.5",
369+
"sphinx==4.5.0",
370370
"alabaster",
371371
"recommonmark",
372372
)
@@ -386,13 +386,12 @@ def docs(session):
386386
)
387387

388388

389-
@nox.session(python=DEFAULT_PYTHON_VERSION)
389+
@nox.session(python="3.10")
390390
def docfx(session):
391391
"""Build the docfx yaml files for this library."""
392392

393393
session.install("-e", ".")
394-
session.install(
395-
# We need to pin to specific versions of the `sphinxcontrib-*` packages
394+
session.install( # We need to pin to specific versions of the `sphinxcontrib-*` packages
396395
# which still support sphinx 4.x.
397396
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
398397
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.

0 commit comments

Comments
 (0)