From 62babe390d79302260caf06413b17a0d65ad53c7 Mon Sep 17 00:00:00 2001 From: rhatgadkar-goog Date: Wed, 30 Oct 2024 22:25:11 +0000 Subject: [PATCH] Drop support for Python 3.8 --- .github/workflows/tests.yaml | 4 ++-- mypy.ini | 2 +- noxfile.py | 4 ++-- setup.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 8018c4ec..3ef0fc20 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -38,7 +38,7 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest, ubuntu-latest] - python-version: ["3.8", "3.12"] + python-version: ["3.9", "3.12"] fail-fast: false steps: - name: Checkout code @@ -99,7 +99,7 @@ jobs: (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]') strategy: matrix: - python-version: ["3.8", "3.12"] + python-version: ["3.9", "3.12"] fail-fast: false permissions: contents: read diff --git a/mypy.ini b/mypy.ini index 4095da9d..c1eec50d 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,5 +1,5 @@ [mypy] -python_version = 3.8 +python_version = 3.9 warn_unused_configs = True namespace_packages = True diff --git a/noxfile.py b/noxfile.py index e7c46257..a2c55240 100644 --- a/noxfile.py +++ b/noxfile.py @@ -22,8 +22,8 @@ ISORT_VERSION = "isort==5.13.2" LINT_PATHS = ["google", "tests", "noxfile.py", "setup.py"] -SYSTEM_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12"] -UNIT_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12"] +SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12"] +UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12"] @nox.session diff --git a/setup.py b/setup.py index 0033a3e0..67acbd17 100644 --- a/setup.py +++ b/setup.py @@ -79,7 +79,7 @@ "pg8000": ["pg8000>=1.31.1"], "asyncpg": ["asyncpg>=0.29.0"], }, - python_requires=">=3.8", + python_requires=">=3.9", include_package_data=True, zip_safe=False, package_data={"google.cloud.alloydb.connector": ["py.typed"]},