fix: pin numba>=0.57 to ensure Python 3.12+ compatibility#340
Merged
Conversation
Without an explicit lower bound, the dependency resolver can pick numba==0.53.1 (via umap-learn's loose >=0.51.2 constraint), which in turn requires llvmlite==0.36.0 — a version that only supports Python >=3.6,<3.10. This broke AppImage first-time installs and manual `uv pip install .` on Python 3.12+. Adding numba>=0.57 forces a version that ships pre-built wheels for Python 3.12+ and uses llvmlite>=0.40 (also Python 3.12-compatible). The existing uv.lock already uses numba==0.65.1, so no lock regeneration is needed. Fixes #338 Co-authored-by: Lincoln Stein <lstein@users.noreply.github.com>
lstein
added a commit
that referenced
this pull request
Jul 5, 2026
The pin was added to pyproject.toml in 93b5f4f without regenerating the lockfile, so every `uv sync` since has dirtied uv.lock in the working tree. Regenerated with `uv lock`; `uv lock --check` now passes. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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.
Adds an explicit
numba>=0.57constraint topyproject.tomlso the dependency resolver always picks a version compatible with Python 3.12+.Without this,
umap-learn's loosenumba>=0.51.2constraint allows the resolver to picknumba==0.53.1, which requiresllvmlite==0.36.0— only supporting Python <3.10. This broke AppImage first-time installs and manualuv pip install .on Python 3.12+.Fixes #338
Generated with Claude Code