From 732252f8c2237d37300507efd33ea122e46395f3 Mon Sep 17 00:00:00 2001 From: jackwotherspoon Date: Thu, 17 Oct 2024 14:28:23 +0000 Subject: [PATCH] feat: drop support for Python 3.8 --- .github/workflows/tests.yml | 4 ++-- .mypy.ini | 2 +- noxfile.py | 3 +-- setup.py | 3 +-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3c344cf00..e27ac4895 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,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 permissions: contents: read @@ -134,7 +134,7 @@ jobs: runs-on: ubuntu-latest 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 a40199e8e..b4737fb55 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 924fc6866..8da959e36 100644 --- a/noxfile.py +++ b/noxfile.py @@ -14,7 +14,6 @@ limitations under the License. """ - from __future__ import absolute_import import os @@ -26,7 +25,7 @@ LINT_PATHS = ["google", "tests", "noxfile.py", "setup.py"] -TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12"] +TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12"] @nox.session diff --git a/setup.py b/setup.py index d2a3e68e1..d91b05480 100644 --- a/setup.py +++ b/setup.py @@ -67,7 +67,6 @@ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -82,7 +81,7 @@ "pytds": ["python-tds>=1.15.0"], "asyncpg": ["asyncpg>=0.29.0"], }, - python_requires=">=3.8", + python_requires=">=3.9", include_package_data=True, zip_safe=False, package_data={"google.cloud.sql.connector": ["py.typed"]},