Skip to content

Commit 93088e2

Browse files
committed
Require Python 3.11 and update package lock
Raise the project support floor from Python 3.10 to Python 3.11 because Google client libraries now warn when running on Python 3.10 ahead of its 2026-10-04 end of life. Bump python-datastore-sqlalchemy to 0.0.4 and add explicit Python 3.11, 3.12, and 3.13 classifiers so package metadata matches the new supported range. Regenerate uv.lock with uv lock --upgrade after changing requires-python to >=3.11. The new lock removes Python 3.10-only dependencies such as exceptiongroup and updates the resolved Google client library stack, including google-api-core, google-cloud-bigquery, google-cloud-core, google-cloud-firestore, and related transitive packages. Update Python CI to run the package test job against both Python 3.11 and 3.13. Python 3.11 validates the new minimum supported version, while Python 3.13 keeps coverage for the newer interpreter used by the existing CI job. The Superset integration job remains on Python 3.11. Validation: uv sync --locked passed; GCLOUD_PATH=/mnt/workspace/code/google-cloud-sdk/bin/gcloud uv run pytest passed on Python 3.12.3 with 399 tests; GCLOUD_PATH=/mnt/workspace/code/google-cloud-sdk/bin/gcloud uv run --python 3.11 pytest passed on Python 3.11.14 with 399 tests; Superset datastore integration tests passed with 20 tests.
1 parent 1a34822 commit 93088e2

4 files changed

Lines changed: 473 additions & 638 deletions

File tree

.github/workflows/python-ci.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,19 @@ jobs:
1414
env:
1515
DATASTORE_EMULATOR_HOST: "localhost:8081"
1616

17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
python-version: ["3.11", "3.13"]
21+
1722
steps:
1823
- name: Checkout code
1924
uses: actions/checkout@v4
2025

2126
- name: Set up Python
2227
uses: actions/setup-python@v5
2328
with:
24-
python-version: '3.13'
29+
python-version: ${{ matrix.python-version }}
2530

2631
- name: Install uv
2732
uses: astral-sh/setup-uv@v6

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Feel free to open issues and pull requests on GitHub.
4343

4444
## Development
4545

46-
This project supports Python 3.10 and newer. It uses a uv-managed virtual environment by default. The lockfile is tracked so local development and CI use the same dependency resolution.
46+
This project supports Python 3.11 and newer. It uses a uv-managed virtual environment by default. The lockfile is tracked so local development and CI use the same dependency resolution.
4747

4848
Install the development environment:
4949
```bash

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "python-datastore-sqlalchemy"
7-
version = "0.0.3"
7+
version = "0.0.4"
88
description = "SQLAlchemy dialect for google cloud datastore"
99
readme = "README.md"
10-
requires-python = ">=3.10"
10+
requires-python = ">=3.11"
1111
license = { text = "MIT" }
1212
authors = [
1313
{ name = "HY Chang(splasky)", email = "hychang.1997.tw@gmail.com" },
@@ -17,6 +17,9 @@ classifiers = [
1717
"Intended Audience :: Developers",
1818
"Programming Language :: Python",
1919
"Programming Language :: Python :: 3",
20+
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
2023
"Programming Language :: Python :: Implementation :: CPython",
2124
"Topic :: Database :: Front-Ends",
2225
"Operating System :: POSIX :: Linux",

0 commit comments

Comments
 (0)