Skip to content

Commit 25c3d6d

Browse files
feat: drop support for Python 3.9 (#499)
Python 3.9 EOL was October 31, 2025: https://endoflife.date/python
1 parent 803819e commit 25c3d6d

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
matrix:
4040
os: [macos-latest, windows-latest, ubuntu-latest]
41-
python-version: ["3.9", "3.13"]
41+
python-version: ["3.10", "3.13"]
4242
fail-fast: false
4343
steps:
4444
- name: Checkout code
@@ -99,7 +99,7 @@ jobs:
9999
(github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
100100
strategy:
101101
matrix:
102-
python-version: ["3.9", "3.13"]
102+
python-version: ["3.10", "3.13"]
103103
fail-fast: false
104104
permissions:
105105
contents: read

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
ISORT_VERSION = "isort==5.13.2"
2323
LINT_PATHS = ["google", "tests", "noxfile.py"]
2424

25-
SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
26-
UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
25+
SYSTEM_TEST_PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13"]
26+
UNIT_TEST_PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13"]
2727

2828

2929
@nox.session

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ name = "google-cloud-alloydb-connector"
2222
authors = [{ name = "Google LLC", email = "googleapis-packages@google.com" }]
2323
license = "Apache-2.0"
2424
license-files = ["LICENSE"]
25-
requires-python = ">=3.9"
25+
requires-python = ">=3.10"
2626
readme = "README.md"
2727
classifiers = [
2828
# Should be one of:
@@ -33,7 +33,6 @@ classifiers = [
3333
"Intended Audience :: Developers",
3434
"Programming Language :: Python",
3535
"Programming Language :: Python :: 3",
36-
"Programming Language :: Python :: 3.9",
3736
"Programming Language :: Python :: 3.10",
3837
"Programming Language :: Python :: 3.11",
3938
"Programming Language :: Python :: 3.12",
@@ -73,7 +72,7 @@ version = { attr = "google.cloud.alloydbconnector.version.__version__" }
7372
include = ["google*"]
7473

7574
[tool.mypy]
76-
python_version = "3.9"
75+
python_version = "3.10"
7776
namespace_packages = true
7877
ignore_missing_imports = true
7978
warn_unused_configs = true

requirements-test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ asyncpg==0.30.0
22
mock==5.2.0
33
pg8000==1.31.5
44
psycopg2-binary==2.9.11
5-
pytest==8.4.2
6-
pytest-asyncio==1.2.0
5+
pytest==9.0.0
6+
pytest-asyncio==1.3.0
77
pytest-cov==7.0.0
88
SQLAlchemy[asyncio]==2.0.44
99
aioresponses==0.7.8

0 commit comments

Comments
 (0)