Repository navigation
Drop Python 3.12 from CI test matrix - #2
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 pytestpasses locally (112 tests)requires-python = ">= 3.13"is thesource of the incompatibility
The requested interpreter resolved to Python 3.12.3, which is incompatible with the project's Python requirement