Skip to content

fix(ci): add Python 3.14 build matrix rows for macOS/Linux - #390

Merged
ASuresh0524 merged 1 commit into
mainfrom
fix/cp314-wheel-matrix-385
Jul 29, 2026
Merged

fix(ci): add Python 3.14 build matrix rows for macOS/Linux#390
ASuresh0524 merged 1 commit into
mainfrom
fix/cp314-wheel-matrix-385

Conversation

@ASuresh0524

Copy link
Copy Markdown
Collaborator

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

  • Tests pass (uv run pytest)
  • Code formatted (ruff format and ruff check)
  • Pre-commit hooks pass (pre-commit run --all-files)

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.
@ASuresh0524
ASuresh0524 merged commit e4fc25b into main Jul 29, 2026
3 checks passed
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.

leann-backend-hnsw 0.3.7: Python 3.14 wheels published for Windows only; macOS/Linux installs fail with a misleading error

1 participant