Skip to content

Commit 12867cc

Browse files
feat: add support for Python 3.14 (#493)
This change adds support for Python 3.14, which is the latest stable release of Python as of October 7, 2025. It also changed the asyncpg minimum version to 0.31.0, because it adds support for Windows Python 3.14.
1 parent 175450c commit 12867cc

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup Python
3333
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
3434
with:
35-
python-version: "3.13"
35+
python-version: "3.14"
3636

3737
- name: Install nox
3838
run: pip install nox

.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.10", "3.13"]
41+
python-version: ["3.10", "3.14"]
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.10", "3.13"]
102+
python-version: ["3.10", "3.14"]
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.10", "3.11", "3.12", "3.13"]
26-
UNIT_TEST_PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13"]
25+
SYSTEM_TEST_PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13", "3.14"]
26+
UNIT_TEST_PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13", "3.14"]
2727

2828

2929
@nox.session

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ classifiers = [
3737
"Programming Language :: Python :: 3.11",
3838
"Programming Language :: Python :: 3.12",
3939
"Programming Language :: Python :: 3.13",
40+
"Programming Language :: Python :: 3.14",
4041
"Operating System :: OS Independent",
4142
]
4243
dependencies = [
@@ -58,7 +59,7 @@ Changelog = "https://github.com/GoogleCloudPlatform/alloydb-python-connector/blo
5859

5960
[project.optional-dependencies]
6061
pg8000 = ["pg8000>=1.31.1"]
61-
asyncpg = ["asyncpg>=0.30.0"]
62+
asyncpg = ["asyncpg>=0.31.0"]
6263

6364
[tool.setuptools.dynamic]
6465
version = { attr = "google.cloud.alloydbconnector.version.__version__" }

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
asyncpg==0.30.0
1+
asyncpg==0.31.0
22
mock==5.2.0
33
pg8000==1.31.5
44
psycopg2-binary==2.9.11

0 commit comments

Comments
 (0)