2222BLACK_VERSION = "black==23.7.0"
2323BLACK_PATHS = ["docs" , "google" , "tests" , "noxfile.py" , "setup.py" ]
2424
25- DEFAULT_PYTHON_VERSION = "3.8 "
25+ DEFAULT_PYTHON_VERSION = "3.14 "
2626CURRENT_DIRECTORY = os .path .abspath (os .path .dirname (__file__ ))
2727
2828# Error if a python version is missing
2929nox .options .error_on_missing_interpreters = True
3030
3131
32- @nox .session (python = "3.10" )
32+ @nox .session (python = DEFAULT_PYTHON_VERSION )
3333def lint (session ):
3434 """Run linters.
3535
@@ -102,11 +102,11 @@ def unit(session):
102102 default (session )
103103
104104
105- @nox .session (python = "3.10" )
105+ @nox .session (python = DEFAULT_PYTHON_VERSION )
106106def lint_setup_py (session ):
107107 """Verify that setup.py is valid (including RST check)."""
108108
109- session .install ("docutils" , "Pygments" )
109+ session .install ("docutils" , "Pygments" , "setuptools" )
110110 session .run ("python" , "setup.py" , "check" , "--restructuredtext" , "--strict" )
111111
112112
@@ -122,6 +122,8 @@ def cover(session):
122122 session .run ("coverage" , "erase" )
123123
124124
125+ # Keep docs session at Python 3.10 until
126+ # https://github.com/googleapis/sphinx-docfx-yaml/issues/345 is fixed
125127@nox .session (python = "3.10" )
126128def docs (session ):
127129 """Build the docs for this library."""
@@ -158,6 +160,8 @@ def docs(session):
158160 )
159161
160162
163+ # Keep docfx session at Python 3.10 until
164+ # https://github.com/googleapis/sphinx-docfx-yaml/issues/345 is fixed
161165@nox .session (python = "3.10" )
162166def docfx (session ):
163167 """Build the docfx yaml files for this library."""
0 commit comments