Skip to content

Drop Python 3.12 from CI test matrix - #2

Merged
audreyfeldroy merged 2 commits into
mainfrom
match-ci-to-python-requirement
Mar 18, 2026
Merged

audreyfeldroy merged 2 commits into
mainfrom
match-ci-to-python-requirement

Conversation

@audreyfeldroy

Copy link
Copy Markdown
Member

Summary

The CI matrix included Python 3.12 from the cookiecutter template,
but pyproject.toml requires >= 3.13 (set when asyncpg and the ORM
were added). uv refused to create the 3.12 environment, failing the
test job on every push. The matrix now tests 3.13 and 3.14 only.

Test plan

  • uv run pytest passes locally (112 tests)
  • Verified pyproject.toml requires-python = ">= 3.13" is the
    source of the incompatibility
  • CI log confirms: The requested interpreter resolved to Python 3.12.3, which is incompatible with the project's Python requirement

The ORM module and test suite now conform to the project's ruff
configuration (120-char line limit, isort import ordering, no unused
variables). Tests that previously discarded return values from
bulk_update, bulk_delete, and create now assert on them, catching
both the SQL structure and the returned count or instance type in
the same test.
The project requires Python >= 3.13 (set in pyproject.toml when
asyncpg and the ORM were added), but the CI matrix still included
3.12 from the cookiecutter template. uv correctly refused to create
an environment for the incompatible version, failing the test job
on every push.
@audreyfeldroy
audreyfeldroy merged commit 0fe5cf1 into main Mar 18, 2026
10 checks passed
@audreyfeldroy
audreyfeldroy deleted the match-ci-to-python-requirement branch March 18, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant