Skip to content

Improve Python version support - #141

Merged
merschformann merged 2 commits into
developfrom
NMV-1168-fix-python-314-packaging
Oct 2, 2026
Merged

merschformann merged 2 commits into
developfrom
NMV-1168-fix-python-314-packaging

Conversation

@merschformann

Copy link
Copy Markdown
Member

Description

Improves Python version support, since the Python version itself shouldn't have a big impact on whether it can successfully run. Hence, wheels become py3-none-<platform> instead of cp3XX-cp3XX-<platform>.

merschformann and others added 2 commits October 1, 2026 17:19
`pip install nextroute` failed on Python 3.14: no wheel matched, so pip fell
back to the sdist, which cannot be built by anyone.

Emit `py3-none-<platform>` wheels instead of `cp3XX-cp3XX-<platform>`. The
package has no C extension - it is pure Python plus a bundled Go binary invoked
as a subprocess - so the interpreter tag was never meaningful. A single wheel
per platform now covers every Python, including versions released long after
the wheel was built: verified by installing one wheel on 3.10 through 3.15 and
solving identically on all six.

Because of that, `requires-python` keeps its `>=3.10` floor and deliberately
gains no upper bound. A newly released interpreter finds a matching wheel and
just works, with no release, classifier change or build-matrix change on our
side. The classifiers list what CI exercises; newer versions are expected to
work and are not blocked.

Also fix two long-standing sdist problems: a source build now fails with an
actionable message naming the real prerequisites rather than a bare
FileNotFoundError, and the 15 MB platform-specific Go binary is no longer
shipped inside the sdist (7.9 MB -> 26 KB).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pre-release for testing the py3-none wheel retagging and the widened Python
support. Minor rather than patch: the wheel filenames change shape
(cp3XX-cp3XX-<platform> -> py3-none-<platform>), which is visible to anyone
mirroring, vendoring or pinning artifacts, and support for Python 3.14+ is new
functionality rather than a fix.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@merschformann
merschformann merged commit 27f51a1 into develop Oct 2, 2026
93 of 94 checks passed
@merschformann
merschformann deleted the NMV-1168-fix-python-314-packaging branch October 2, 2026 17:34

This branch was successfully deployed

1 active deployment
pypi — 772d41cf Deployed Oct 1, 2026 by merschformann via publish #92
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.

2 participants