6060 target : [showcase, showcase_alternative_templates, showcase_w_rest_async]
6161 logging_scope : ["", "google"]
6262
63- runs-on : ubuntu-latest
63+ # TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
64+ # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
65+ runs-on : ubuntu-22.04
6466 steps :
6567 - uses : actions/checkout@v4
6668 - name : Set up Python "${{ matrix.python }}"
@@ -149,7 +151,10 @@ jobs:
149151 # TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `_w_rest_async` variant when async rest is GA.
150152 variant : ['', _alternative_templates, _mixins, _alternative_templates_mixins, _w_rest_async]
151153 logging_scope : ["", "google"]
152- runs-on : ubuntu-latest
154+
155+ # TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
156+ # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
157+ runs-on : ubuntu-22.04
153158 steps :
154159 - uses : actions/checkout@v4
155160 - name : Set up Python "${{ matrix.python }}"
@@ -250,7 +255,10 @@ jobs:
250255 strategy :
251256 matrix :
252257 python : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
253- runs-on : ubuntu-latest
258+
259+ # TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
260+ # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
261+ runs-on : ubuntu-22.04
254262 steps :
255263 - uses : actions/checkout@v4
256264 - name : Set up Python ${{ matrix.python }}
@@ -272,7 +280,10 @@ jobs:
272280 matrix :
273281 python : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
274282 variant : ['', _alternative_templates]
275- runs-on : ubuntu-latest
283+
284+ # TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
285+ # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
286+ runs-on : ubuntu-22.04
276287 steps :
277288 - uses : actions/checkout@v4
278289 - name : Set up Python ${{ matrix.python }}
0 commit comments