3838 matrix :
3939 # Run mypy on all of the supported python versions listed in setup.py
4040 # https://github.com/python/mypy/blob/master/setup.py
41- python : ["3.8", "3.9", "3.10", "3.11", "3.12"]
41+ python : ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
4242 runs-on : ubuntu-latest
4343 steps :
4444 - uses : actions/checkout@v4
5656 # Run showcase tests on the lowest and highest supported runtimes
5757 matrix :
5858 # TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `showcase_w_rest_async` target when async rest is GA.
59- python : ["3.7", "3.12 "]
59+ python : ["3.7", "3.13 "]
6060 target : [showcase, showcase_alternative_templates, showcase_w_rest_async]
6161 runs-on : ubuntu-latest
6262 steps :
@@ -104,10 +104,10 @@ jobs:
104104 run : |
105105 sudo mkdir -p /tmp/workspace/tests/cert/
106106 sudo chown -R ${USER} /tmp/workspace/
107- - name : Set up Python "3.12 "
107+ - name : Set up Python "3.13 "
108108 uses : actions/setup-python@v5
109109 with :
110- python-version : " 3.12 "
110+ python-version : " 3.13 "
111111 cache : ' pip'
112112 - name : Copy mtls files
113113 run : cp tests/cert/mtls.* /tmp/workspace/tests/cert/
@@ -140,7 +140,7 @@ jobs:
140140 showcase-unit :
141141 strategy :
142142 matrix :
143- python : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
143+ python : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
144144 # TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `_w_rest_async` variant when async rest is GA.
145145 variant : ['', _alternative_templates, _mixins, _alternative_templates_mixins, _w_rest_async]
146146 runs-on : ubuntu-latest
@@ -171,10 +171,10 @@ jobs:
171171 runs-on : ubuntu-latest
172172 steps :
173173 - uses : actions/checkout@v4
174- - name : Set up Python "3.12 "
174+ - name : Set up Python "3.13 "
175175 uses : actions/setup-python@v5
176176 with :
177- python-version : " 3.12 "
177+ python-version : " 3.13 "
178178 cache : ' pip'
179179 - name : Install system dependencies.
180180 run : |
@@ -199,10 +199,10 @@ jobs:
199199 variant : ['', _alternative_templates]
200200 steps :
201201 - uses : actions/checkout@v4
202- - name : Set up Python "3.12 "
202+ - name : Set up Python "3.13 "
203203 uses : actions/setup-python@v5
204204 with :
205- python-version : " 3.12 "
205+ python-version : " 3.13 "
206206 cache : ' pip'
207207 - name : Install system dependencies.
208208 run : |
@@ -224,10 +224,10 @@ jobs:
224224 runs-on : ubuntu-latest
225225 steps :
226226 - uses : actions/checkout@v4
227- - name : Set up Python "3.12 "
227+ - name : Set up Python "3.13 "
228228 uses : actions/setup-python@v5
229229 with :
230- python-version : " 3.12 "
230+ python-version : " 3.13 "
231231 cache : ' pip'
232232 - name : Install system dependencies.
233233 run : |
@@ -240,7 +240,7 @@ jobs:
240240 unit :
241241 strategy :
242242 matrix :
243- python : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
243+ python : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
244244 runs-on : ubuntu-latest
245245 steps :
246246 - uses : actions/checkout@v4
@@ -261,7 +261,7 @@ jobs:
261261 fragment :
262262 strategy :
263263 matrix :
264- python : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
264+ python : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
265265 variant : ['', _alternative_templates]
266266 runs-on : ubuntu-latest
267267 steps :
@@ -313,29 +313,29 @@ jobs:
313313 runs-on : ubuntu-latest
314314 steps :
315315 - uses : actions/checkout@v4
316- - name : Set up Python 3.12
316+ - name : Set up Python 3.13
317317 uses : actions/setup-python@v5
318318 with :
319- python-version : " 3.12 "
319+ python-version : " 3.13 "
320320 cache : ' pip'
321321 - name : Install nox.
322322 run : |
323323 python -m pip install nox
324324 - name : Run blacken and lint on the generated output.
325325 run : |
326- nox -f tests/integration/goldens/asset/noxfile.py -s mypy-3.12 blacken lint
327- nox -f tests/integration/goldens/credentials/noxfile.py -s mypy-3.12 blacken lint
328- nox -f tests/integration/goldens/eventarc/noxfile.py -s mypy-3.12 blacken lint
329- nox -f tests/integration/goldens/logging/noxfile.py -s mypy-3.12 blacken lint
330- nox -f tests/integration/goldens/redis/noxfile.py -s mypy-3.12 blacken lint
326+ nox -f tests/integration/goldens/asset/noxfile.py -s mypy-3.13 blacken lint
327+ nox -f tests/integration/goldens/credentials/noxfile.py -s mypy-3.13 blacken lint
328+ nox -f tests/integration/goldens/eventarc/noxfile.py -s mypy-3.13 blacken lint
329+ nox -f tests/integration/goldens/logging/noxfile.py -s mypy-3.13 blacken lint
330+ nox -f tests/integration/goldens/redis/noxfile.py -s mypy-3.13 blacken lint
331331 goldens-unit :
332332 runs-on : ubuntu-latest
333333 steps :
334334 - uses : actions/checkout@v4
335- - name : Set up Python 3.12
335+ - name : Set up Python 3.13
336336 uses : actions/setup-python@v5
337337 with :
338- python-version : " 3.12 "
338+ python-version : " 3.13 "
339339 cache : ' pip'
340340 - name : Install nox.
341341 run : |
@@ -345,18 +345,18 @@ jobs:
345345 # in order to run unit tests
346346 # See https://github.com/googleapis/gapic-generator-python/issues/1806
347347 run : |
348- nox -f tests/integration/goldens/credentials/noxfile.py -s unit-3.12
349- nox -f tests/integration/goldens/eventarc/noxfile.py -s unit-3.12
350- nox -f tests/integration/goldens/logging/noxfile.py -s unit-3.12
351- nox -f tests/integration/goldens/redis/noxfile.py -s unit-3.12
348+ nox -f tests/integration/goldens/credentials/noxfile.py -s unit-3.13
349+ nox -f tests/integration/goldens/eventarc/noxfile.py -s unit-3.13
350+ nox -f tests/integration/goldens/logging/noxfile.py -s unit-3.13
351+ nox -f tests/integration/goldens/redis/noxfile.py -s unit-3.13
352352 goldens-prerelease :
353353 runs-on : ubuntu-latest
354354 steps :
355355 - uses : actions/checkout@v4
356- - name : Set up Python 3.12
356+ - name : Set up Python 3.13
357357 uses : actions/setup-python@v5
358358 with :
359- python-version : " 3.12 "
359+ python-version : " 3.13 "
360360 cache : ' pip'
361361 - name : Install nox.
362362 run : |
@@ -374,12 +374,10 @@ jobs:
374374 runs-on : ubuntu-latest
375375 steps :
376376 - uses : actions/checkout@v4
377- - name : Set up Python "3.11 "
377+ - name : Set up Python "3.13 "
378378 uses : actions/setup-python@v5
379379 with :
380- # Do not upgrade this check to python 3.12 until
381- # https://github.com/hhatto/autopep8/issues/712 is fixed
382- python-version : " 3.11"
380+ python-version : " 3.13"
383381 cache : ' pip'
384382 - name : Install autopep8
385383 run : |
0 commit comments