Skip to content

abi3 wheels for Python 3.10+ (fix 3.14 install) and drop unused exports#1

Merged
collerek merged 1 commit into
mainfrom
fix/1702-abi3-py314-support
Jun 8, 2026
Merged

abi3 wheels for Python 3.10+ (fix 3.14 install) and drop unused exports#1
collerek merged 1 commit into
mainfrom
fix/1702-abi3-py314-support

Conversation

@collerek

@collerek collerek commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Fixes ormar-orm/ormar#1702.

ormar-utils shipped per-version wheels (cp310–cp313), so installing ormar>=0.25 on 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's abi3-py310 feature, 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: mandatory cargo 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.0 tag to trigger the build/publish workflow to PyPI.

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.
@collerek collerek merged commit 59060e3 into main Jun 8, 2026
19 checks passed
@collerek collerek deleted the fix/1702-abi3-py314-support branch June 8, 2026 15:51
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.

v0.25 cannot be installed in a CPython 3.14 environment because there is no compatible ormar-utils build

1 participant