@@ -16,7 +16,7 @@ concurrency:
1616env :
1717 SHOWCASE_VERSION : 0.35.0
1818 PROTOC_VERSION : 3.20.2
19- OLDEST_PYTHON : 3.7
19+ OLDEST_PYTHON : 3.9
2020 LATEST_STABLE_PYTHON : 3.14
2121 # TODO(https://github.com/googleapis/gapic-generator-python/issues/2450):
2222 # Switch this to Python 3.15 alpha1 pre-release
2525 # TODO(https://github.com/googleapis/gapic-generator-python/issues/2450):
2626 # Add Python 3.15 alpha1 pre-release
2727 # https://peps.python.org/pep-0790/
28- ALL_PYTHON : " ['3.7', '3.8', '3. 9', '3.10', '3.11', '3.12', '3.13', '3.14']"
28+ ALL_PYTHON : " ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']"
2929
3030permissions :
3131 contents : read
9393 # Run mypy on all of the supported python versions listed in setup.py
9494 # https://github.com/python/mypy/blob/master/setup.py
9595 python : ${{ fromJSON(needs.all_python_setup.outputs.all_python) }}
96- exclude :
97- # Remove once https://github.com/googleapis/gapic-generator-python/issues/2303 is fixed
98- - python : ' 3.7'
9996 runs-on : ubuntu-latest
10097 steps :
10198 - uses : actions/checkout@v5
@@ -119,9 +116,7 @@ jobs:
119116 target : [showcase, showcase_w_rest_async]
120117 logging_scope : ["", "google"]
121118
122- # TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
123- # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
124- runs-on : ubuntu-22.04
119+ runs-on : ubuntu-latest
125120 steps :
126121 - uses : actions/checkout@v5
127122 - name : Set up Python "${{ matrix.python }}"
@@ -212,9 +207,7 @@ jobs:
212207 variant : ['', _alternative_templates, _mixins, _alternative_templates_mixins, _w_rest_async]
213208 logging_scope : ["", "google"]
214209
215- # TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
216- # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
217- runs-on : ubuntu-22.04
210+ runs-on : ubuntu-latest
218211 steps :
219212 - uses : actions/checkout@v5
220213 - name : Set up Python "${{ matrix.python }}"
@@ -318,9 +311,7 @@ jobs:
318311 strategy :
319312 matrix :
320313 python : ${{ fromJSON(needs.all_python_setup.outputs.all_python) }}
321- # TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
322- # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
323- runs-on : ubuntu-22.04
314+ runs-on : ubuntu-latest
324315 steps :
325316 - uses : actions/checkout@v5
326317 - name : Set up Python ${{ matrix.python }}
@@ -344,9 +335,7 @@ jobs:
344335 matrix :
345336 python : ${{ fromJSON(needs.all_python_setup.outputs.all_python) }}
346337 variant : ['', _alternative_templates]
347- # TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
348- # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
349- runs-on : ubuntu-22.04
338+ runs-on : ubuntu-latest
350339 steps :
351340 - uses : actions/checkout@v5
352341 - name : Set up Python ${{ matrix.python }}
@@ -446,15 +435,15 @@ jobs:
446435 - name : Install nox.
447436 run : |
448437 python -m pip install nox
449- - name : Run the prerelease_deps nox session
438+ - name : Run the prerelease_deps and core_deps_from_source nox sessions
450439 # Exclude testing for asset which requires dependency google-cloud-org-policy
451440 # in order to run unit tests
452441 # See https://github.com/googleapis/gapic-generator-python/issues/1806
453442 run : |
454- nox -f tests/integration/goldens/credentials/noxfile.py -s prerelease_deps
455- nox -f tests/integration/goldens/eventarc/noxfile.py -s prerelease_deps
456- nox -f tests/integration/goldens/logging/noxfile.py -s prerelease_deps
457- nox -f tests/integration/goldens/redis/noxfile.py -s prerelease_deps
443+ nox -f tests/integration/goldens/credentials/noxfile.py -s prerelease_deps core_deps_from_source
444+ nox -f tests/integration/goldens/eventarc/noxfile.py -s prerelease_deps core_deps_from_source
445+ nox -f tests/integration/goldens/logging/noxfile.py -s prerelease_deps core_deps_from_source
446+ nox -f tests/integration/goldens/redis/noxfile.py -s prerelease_deps core_deps_from_source
458447 lint :
459448 runs-on : ubuntu-latest
460449 steps :
0 commit comments