Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ dependencies = [
"rhai-innovation-mini-trainer>=0.2.0",
"torch>=2.6.0",
"transformers>=4.55.0",
"numba>=0.50",
"numba>=0.62.0",
"datasets>=4.0.0",
"numpy>=1.26.4,<2.3",
"numpy>=1.26.4",
"rich>=14.1.0",
Comment on lines 20 to 24
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Align llvmlite constraint with Numba 0.62.0.

Numba 0.62.0 hard-pins llvmlite to the 0.49.x line (>=0.49,<0.50). Leaving our direct requirement at >=0.42 means the resolver may try to pull an incompatible llvmlite (e.g., 0.50+ once released) and fail the install, or worse, reuse an already-installed 0.42.x when installing with --no-deps. Please tighten our constraint to match Numba’s supported range so environments resolve deterministically.

Run this to confirm the exact pins published with Numba 0.62.0:


🏁 Script executed:

#!/bin/bash
# Inspect numba 0.62.0 metadata for llvmlite requirements
curl -s https://pypi.org/pypi/numba/0.62.0/json | jq -r '.info.requires_dist[]' | rg llvmlite

Length of output: 26


🏁 Script executed:

#!/bin/bash
rg -n 'llvmlite' -C1 pyproject.toml

Length of output: 72


Align llvmlite constraint to Numba 0.62.0 requirements

Numba 0.62.0 pins llvmlite to >=0.45.0dev0,<0.46. In pyproject.toml, change

"llvmlite>=0.42"

to

"llvmlite>=0.45.0dev0,<0.46"

to ensure dependency compatibility.

🤖 Prompt for AI Agents
In pyproject.toml around lines 21 to 24, update the llvmlite constraint to match
Numba 0.62.0 requirements: replace the current "llvmlite>=0.42" entry with
"llvmlite>=0.45.0dev0,<0.46" so the declared dependency range is compatible with
Numba 0.62.0 and prevents incompatible llvmlite versions from being selected.

"peft>=0.15",
"pydantic>=2.7.0",
Expand Down