From a8bae7e95fc9cd5ec08891aaf5d3427b79c773ec Mon Sep 17 00:00:00 2001 From: Norman Hooper Date: Sun, 8 Mar 2026 10:43:38 +0000 Subject: [PATCH 1/2] Add Python version 3.14 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7c6505e8..5c5152aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ license = {text = "MIT"} authors = [ {name = "Dimagi", email = "information@dimagi.com"} ] -requires-python = ">=3.9" +requires-python = ">=3.9,<3.15" classifiers = [ "Development Status :: 4 - Beta", "Environment :: Console", @@ -27,6 +27,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Database", "Topic :: Software Development :: Interpreters", "Topic :: System :: Archiving", From a3fab67c05c8cbf6108bb34341bc0c1e2ca5c912 Mon Sep 17 00:00:00 2001 From: Norman Hooper Date: Sun, 8 Mar 2026 11:15:21 +0000 Subject: [PATCH 2/2] Include 3.14 in tests. Use defined extra groups --- .github/workflows/test.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b10e3f4c..00fd628b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,7 @@ jobs: - 5432:5432 strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@v4 with: @@ -63,11 +63,8 @@ jobs: - name: Install package with extras run: | uv pip install --system dist/*.whl - uv pip install --system pymysql psycopg2 pyodbc + uv pip install --system -e ".[postgres,mysql,odbc,test]" uv pip install --system coverage coveralls - uv pip install --system mypy - uv pip install --system pytest - uv pip install --system -e ".[test]" # Run tests and save test coverage - run: coverage run -m pytest