Skip to content

Commit 2d1aa42

Browse files
authored
chore: require Python ≥ 3.9, protobuf ≥ 4.25.8 (googleapis#877)
Require Python 3.9+ Require protobuf 4.25.8+ Simplify code accordingly. Fixes googleapis#15019 This also required removing 3.7 and 3.8 as required checks in the repo config, under branch protection rules.
1 parent faac3d0 commit 2d1aa42

29 files changed

+116
-296
lines changed

packages/google-api-core/.github/workflows/unittest.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,10 @@ jobs:
3535
nox -s prerelease_deps
3636
unit:
3737
name: unit${{ matrix.option }}-${{ matrix.python }}
38-
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
39-
# Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
40-
# https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
41-
runs-on: ubuntu-22.04
38+
runs-on: ubuntu-latest
4239
strategy:
4340
matrix:
4441
python:
45-
- "3.7"
46-
- "3.8"
4742
- "3.9"
4843
- "3.10"
4944
- "3.11"

packages/google-api-core/.kokoro/samples/python3.7/common.cfg

Lines changed: 0 additions & 40 deletions
This file was deleted.

packages/google-api-core/.kokoro/samples/python3.7/continuous.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/google-api-core/.kokoro/samples/python3.7/periodic-head.cfg

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/google-api-core/.kokoro/samples/python3.7/periodic.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/google-api-core/.kokoro/samples/python3.7/presubmit.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/google-api-core/.kokoro/samples/python3.8/common.cfg

Lines changed: 0 additions & 40 deletions
This file was deleted.

packages/google-api-core/.kokoro/samples/python3.8/continuous.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/google-api-core/.kokoro/samples/python3.8/periodic-head.cfg

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/google-api-core/.kokoro/samples/python3.8/periodic.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)