5353 matrix :
5454 # Run mypy on all of the supported python versions listed in setup.py
5555 # https://github.com/python/mypy/blob/master/setup.py
56- python : ["3.8", "3. 9", "3.10", "3.11", "3.12", "3.13"]
56+ python : ["3.9", "3.10", "3.11", "3.12", "3.13"]
5757 runs-on : ubuntu-latest
5858 steps :
5959 - uses : actions/checkout@v4
@@ -71,13 +71,11 @@ jobs:
7171 # Run showcase tests on the lowest and highest supported runtimes
7272 matrix :
7373 # TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `showcase_w_rest_async` target when async rest is GA.
74- python : ["3.7 ", "3.13"]
74+ python : ["3.9 ", "3.13"]
7575 target : [showcase, showcase_w_rest_async]
7676 logging_scope : ["", "google"]
7777
78- # TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
79- # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
80- runs-on : ubuntu-22.04
78+ runs-on : ubuntu-latest
8179 steps :
8280 - uses : actions/checkout@v4
8381 - name : Set up Python "${{ matrix.python }}"
@@ -162,14 +160,12 @@ jobs:
162160 showcase-unit :
163161 strategy :
164162 matrix :
165- python : ["3.7", "3.8", "3. 9", "3.10", "3.11", "3.12", "3.13"]
163+ python : ["3.9", "3.10", "3.11", "3.12", "3.13"]
166164 # TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `_w_rest_async` variant when async rest is GA.
167165 variant : ['', _alternative_templates, _mixins, _alternative_templates_mixins, _w_rest_async]
168166 logging_scope : ["", "google"]
169167
170- # TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
171- # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
172- runs-on : ubuntu-22.04
168+ runs-on : ubuntu-latest
173169 steps :
174170 - uses : actions/checkout@v4
175171 - name : Set up Python "${{ matrix.python }}"
@@ -269,11 +265,9 @@ jobs:
269265 unit :
270266 strategy :
271267 matrix :
272- python : ["3.7", "3.8", "3. 9", "3.10", "3.11", "3.12", "3.13"]
268+ python : ["3.9", "3.10", "3.11", "3.12", "3.13"]
273269
274- # TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
275- # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
276- runs-on : ubuntu-22.04
270+ runs-on : ubuntu-latest
277271 steps :
278272 - uses : actions/checkout@v4
279273 - name : Set up Python ${{ matrix.python }}
@@ -293,12 +287,10 @@ jobs:
293287 fragment :
294288 strategy :
295289 matrix :
296- python : ["3.7", "3.8", "3. 9", "3.10", "3.11", "3.12", "3.13"]
290+ python : ["3.9", "3.10", "3.11", "3.12", "3.13"]
297291 variant : ['', _alternative_templates]
298292
299- # TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
300- # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
301- runs-on : ubuntu-22.04
293+ runs-on : ubuntu-latest
302294 steps :
303295 - uses : actions/checkout@v4
304296 - name : Set up Python ${{ matrix.python }}
0 commit comments