diff --git a/synthtool/gcp/templates/python_library/.github/workflows/docs.yml b/synthtool/gcp/templates/python_library/.github/workflows/docs.yml index e97d89e48..221806ced 100644 --- a/synthtool/gcp/templates/python_library/.github/workflows/docs.yml +++ b/synthtool/gcp/templates/python_library/.github/workflows/docs.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.10" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel diff --git a/synthtool/gcp/templates/python_library/noxfile.py.j2 b/synthtool/gcp/templates/python_library/noxfile.py.j2 index 5db859fa4..5dab01ef8 100644 --- a/synthtool/gcp/templates/python_library/noxfile.py.j2 +++ b/synthtool/gcp/templates/python_library/noxfile.py.j2 @@ -370,7 +370,7 @@ def docs(session): ) -@nox.session(python="3.9") +@nox.session(python="3.10") def docfx(session): """Build the docfx yaml files for this library.""" diff --git a/synthtool/gcp/templates/python_mono_repo_library/noxfile.py.j2 b/synthtool/gcp/templates/python_mono_repo_library/noxfile.py.j2 index 7f0f50bd0..e2b051308 100644 --- a/synthtool/gcp/templates/python_mono_repo_library/noxfile.py.j2 +++ b/synthtool/gcp/templates/python_mono_repo_library/noxfile.py.j2 @@ -359,7 +359,7 @@ def docs(session): session.install("-e", ".") session.install( - "sphinx==4.0.1", + "sphinx==4.5.0", "alabaster", "recommonmark", ) diff --git a/synthtool/languages/python_mono_repo.py b/synthtool/languages/python_mono_repo.py index 1e09d2351..3cd8c7739 100644 --- a/synthtool/languages/python_mono_repo.py +++ b/synthtool/languages/python_mono_repo.py @@ -225,7 +225,7 @@ def owlbot_main(package_dir: str) -> None: templated_files = gcp.CommonTemplates().py_mono_repo_library( relative_dir=f"packages/{package_name}", microgenerator=True, - default_python_version="3.9", + default_python_version="3.10", unit_test_python_versions=["3.7", "3.8", "3.9", "3.10", "3.11"], system_test_python_versions=["3.8", "3.9", "3.10", "3.11"], cov_level=100,