fix(ci): add Python 3.14 build matrix rows for macOS/Linux - #390
Merged
Conversation
leann-backend-hnsw and leann-backend-diskann 0.3.7 only shipped a cp314 wheel for win_amd64 — the build matrix had a windows-2022 / Python 3.14 row but no macOS or Linux equivalent, and neither package sets requires-python. Resolvers on Python 3.14 (macOS/Linux) select the release anyway and fail with a confusing "only has wheels for win_amd64" error instead of a clear incompatibility message. A requires-python upper bound was considered but rejected: it isn't platform-conditional, so it would also block the already-working Windows cp314 wheels. Complete the build matrix instead: add Python 3.14 rows for ubuntu-22.04, ubuntu-22.04-arm, macos-14, macos-15, and macos-26, matching Windows coverage. macos-15-intel is intentionally excluded, consistent with its existing 3.13 exclusion — torch publishes no macosx x86_64 wheel for either version. Fixes #385.
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.
leann-backend-hnsw and leann-backend-diskann 0.3.7 only shipped a cp314 wheel for win_amd64 — the build matrix had a windows-2022 / Python 3.14 row but no macOS or Linux equivalent, and neither package sets requires-python. Resolvers on Python 3.14 (macOS/Linux) select the release anyway and fail with a confusing "only has wheels for win_amd64" error instead of a clear incompatibility message.
A requires-python upper bound was considered but rejected: it isn't platform-conditional, so it would also block the already-working Windows cp314 wheels. Complete the build matrix instead: add Python 3.14 rows for ubuntu-22.04, ubuntu-22.04-arm, macos-14, macos-15, and macos-26, matching Windows coverage. macos-15-intel is intentionally excluded, consistent with its existing 3.13 exclusion — torch publishes no macosx x86_64 wheel for either version.
Fixes #385.
What does this PR do?
Related Issues
Fixes #
Checklist
uv run pytest)ruff formatandruff check)pre-commit run --all-files)