Repository navigation
Feature/python 3.15 support - #8
Merged
Merged
Conversation
- Add Programming Language :: Python :: 3.15 classifier (djanorm + djanorm-mypy) - Extend CI matrix (SQLite, DuckDB, Postgres, MySQL, siblings, release smoke) to 3.15 - Bump dependency floors to first releases with cp315/abi3 wheels: psycopg[binary,pool]>=3.3.6, pyarrow>=26.0, pyturso>=0.6.0 - Default local interpreter (.python-version) to 3.15.0 - Release version 4.5.0
The autouse clean_data fixture still called _recreate_schema on the common same-backend path, contradicting its own docstring and doubling work with the DELETE-based teardown. Schema is now created once per session by schema_manager; clean_data only resets connections and the teardown DELETEs rows. Full suite (SQLite + Postgres): ~15.5 min -> ~6.5 min locally. SQLite-only CI leg: ~95 s -> ~64 s.
CI on Python 3.15 fell back to building Pillow 12.2.0 from sdist and failed for missing system libjpeg headers. Pillow 12.3.0 is the first release with cp315 manylinux wheels; raise the floor in both the image and dev extras. Also refresh the lockfile to versions that publish cp315 manylinux wheels so uv sync --extra=all installs binaries instead of compiling from source on 3.15: numpy 2.5.x, pydantic 2.14 / pydantic-core 2.50, msgspec 0.22, markupsafe 3.0.4, cffi 2.1, pillow 12.3.
- minio_endpoint now catches Docker image pull failures (the pinned minio/minio release was removed from Docker Hub) and skips cleanly instead of erroring the whole S3 live-test module. - test_skip_locked_two_workers_claim_disjoint_rows relied on both workers overlapping, but the worker body never held the transaction open after SELECT FOR UPDATE. When the threads serialised, each re-claimed the same first 10 rows (SKIP LOCKED only skips currently locked rows) and the union was 10 instead of 20. A second barrier now holds both claim transactions until both workers have claimed.
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.
[4.5.0] - 2026-10-12
Minor release. No breaking changes.
Added
Programming Language :: Python :: 3.15trove classifier and extended the CI test matrix (SQLite, DuckDB, Postgres, MySQL, siblings, release smoke) to Python 3.15. The minimum supported version remains 3.11. The classifier is also declared in thedjanorm-mypysibling package.Changed
cp315/abi3wheels):djanorm[postgresql]:psycopg[binary,pool]>=3.3.6(was>=3.3.3;psycopg-binaryfirst ships acp315wheel at 3.3.6).djanorm[parquet]:pyarrow>=26.0(was>=14.0; first release withcp315wheels).djanorm[libsql]:pyturso>=0.6.0(was>=0.5.1; first release withcp315wheels; 0.7+ also shipsabi3).clean_datafixture was still calling_recreate_schema(DROP + CREATE of all 6 base tables) on the common same-backend path, contradicting its own docstring and doubling work with the DELETE-based teardown. Schema is now created once per session byschema_managerand only rows are cleaned between tests. Full suite (SQLite + Postgres parametrisation): ~15.5 min → ~6.5 min locally; the SQLite-only CI leg drops from ~95 s to ~64 s.