abi3 wheels for Python 3.10+ (fix 3.14 install) and drop unused exports#1
Merged
Conversation
Build a single CPython stable-ABI (abi3-py310) wheel per platform via pyo3's abi3-py310 feature, so a new Python release (3.14 and beyond) never leaves ormar without an installable wheel — the root cause of the missing cp314 build. Remove four exports that ormar does not use (extract_prefixed_columns, prepare_model_to_save, translate_columns_to_aliases, translate_aliases_to_columns) along with their modules and tests; ormar's full suite passes against the trimmed build. Production hardening: mandatory CI lint (cargo fmt --check, clippy, ruff), test matrix extended to Python 3.14 and Windows, abi3 single-wheel build plus sdist, and the broken repository URLs are corrected.
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.
Fixes ormar-orm/ormar#1702.
ormar-utilsshipped per-version wheels (cp310–cp313), so installingormar>=0.25on Python 3.14 failed for lack of a matching wheel. This switches to a single CPython stable-ABI (abi3-py310) wheel per platform via pyo3'sabi3-py310feature, which works on 3.10 and every newer release — so a new Python version never leaves ormar uninstallable again. Verified locally on Python 3.14.5: builds, installs, and all tests pass; ormar's full suite also passes against the trimmed build.Also removes four exports ormar never used (
extract_prefixed_columns,prepare_model_to_save,translate_columns_to_aliases,translate_aliases_to_columns) with their modules and tests, and hardens CI: mandatorycargo fmt --check+ clippy + ruff lint, a test matrix extended to Python 3.14 and Windows, abi3 single-wheel + sdist builds, and corrected repository URLs.After merge, push a
v0.2.0tag to trigger the build/publish workflow to PyPI.