Skip to content

fix: pin numba>=0.57 to ensure Python 3.12+ compatibility#340

Merged
lstein merged 1 commit into
masterfrom
claude/issue-338-20260629-0225
Jun 29, 2026
Merged

fix: pin numba>=0.57 to ensure Python 3.12+ compatibility#340
lstein merged 1 commit into
masterfrom
claude/issue-338-20260629-0225

Conversation

@lstein

@lstein lstein commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Adds an explicit numba>=0.57 constraint to pyproject.toml so the dependency resolver always picks a version compatible with Python 3.12+.

Without this, umap-learn's loose numba>=0.51.2 constraint allows the resolver to pick numba==0.53.1, which requires llvmlite==0.36.0 — only supporting Python <3.10. This broke AppImage first-time installs and manual uv pip install . on Python 3.12+.

Fixes #338

Generated with Claude Code

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 lstein merged commit 93b5f4f into master Jun 29, 2026
9 checks passed
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>
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.

AppImage: Cannot install on Python version 3.12.13; only versions >=3.6,<3.10 are supported

1 participant