Skip to content

Commit 77a371c

Browse files
committed
fix: pin docs and docfx Nox sessions to Python 3.10
1 parent 642f380 commit 77a371c

File tree

1 file changed

+3
-2
lines changed
  • packages/google-cloud-spanner-dbapi-driver

1 file changed

+3
-2
lines changed

packages/google-cloud-spanner-dbapi-driver/noxfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
]
4646

4747
DEFAULT_PYTHON_VERSION = "3.14"
48+
DOCS_PYTHON_VERSION = "3.10"
4849

4950
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2450):
5051
# Switch this to Python 3.15 alpha1
@@ -350,7 +351,7 @@ def cover(session):
350351
session.run("coverage", "erase")
351352

352353

353-
@nox.session(python=DEFAULT_PYTHON_VERSION)
354+
@nox.session(python=DOCS_PYTHON_VERSION)
354355
def docs(session):
355356
"""Build the docs for this library."""
356357

@@ -386,7 +387,7 @@ def docs(session):
386387
)
387388

388389

389-
@nox.session(python=DEFAULT_PYTHON_VERSION)
390+
@nox.session(python=DOCS_PYTHON_VERSION)
390391
def docfx(session):
391392
"""Build the docfx yaml files for this library."""
392393

0 commit comments

Comments
 (0)