From 41ae4e3e7fc409749b1379e316be6d3b4996cf1a Mon Sep 17 00:00:00 2001 From: rhatgadkar-goog Date: Wed, 30 Oct 2024 16:14:32 -0700 Subject: [PATCH 1/2] feat: drop support for Python 3.8 (#386) Python 3.8 EOL was October 7, 2024: https://endoflife.date/python --- .github/workflows/tests.yaml | 4 ++-- mypy.ini | 2 +- noxfile.py | 4 ++-- setup.py | 3 +-- 4 files changed, 6 insertions(+), 7 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..aac1e223 100644 --- a/setup.py +++ b/setup.py @@ -66,7 +66,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", @@ -79,7 +78,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"]}, From fc520591f83d8c101c3bf17b3bf52fb7ab939747 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 31 Oct 2024 00:26:59 +0100 Subject: [PATCH 2/2] chore(deps): update python-nonmajor (#375) * chore(deps): update python-nonmajor * Remove dependency bump of psycopg2-binary --------- Co-authored-by: rhatgadkar-goog --- requirements-test.txt | 4 ++-- requirements.txt | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements-test.txt b/requirements-test.txt index 85da15d4..baa2e761 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,4 +1,4 @@ -asyncpg==0.29.0 +asyncpg==0.30.0 mock==5.1.0 pg8000==1.31.2 psycopg2-binary==2.9.9 @@ -6,4 +6,4 @@ pytest==8.3.3 pytest-asyncio==0.24.0 pytest-cov==5.0.0 pytest-aiohttp==1.0.5 -SQLAlchemy[asyncio]==2.0.34 +SQLAlchemy[asyncio]==2.0.36 diff --git a/requirements.txt b/requirements.txt index bbbed82e..088f161f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ aiofiles==24.1.0 -aiohttp==3.10.5 -cryptography==43.0.1 -google-auth==2.34.0 +aiohttp==3.10.10 +cryptography==43.0.3 +google-auth==2.35.0 requests==2.32.3 -protobuf==4.25.4 +protobuf==4.25.5