Summary
onnigiri declares a dependency on onnx-simplifier, but the package’s formal metadata name is onnxsim now. Recent uv versions strictly validate “requested name == metadata name” and fail the install, causing setup to break.
Steps to Reproduce
Use uv >= 0.9.x (strict name checking) and Python >= 3.12 (missing onnx-simplifier whl package).
Actual Behavior
uv aborts with a name mismatch:
× Failed to download and build `onnx-simplifier==0.4.36`
╰─▶ Package metadata name `onnxsim` does not match given name `onnx-simplifier`
Expected Behavior
Install should succeed without manual intervention, even if no prebuilt whl package, from tarball.
Impact
Fresh setups using uv and Python >= 3.12 cannot install the project as-is.
Workarounds
Overwrite, onnxsim package name from envvar.
env ONNXSIM_PKG_NAME=onnx-simplifier uv add onnigiri
Proposed Fix
In pyproject.toml, change the dependency key from onnx-simplifier to onnxsim (same version range), then refresh the lock file.
Summary
onnigiri declares a dependency on
onnx-simplifier, but the package’s formal metadata name isonnxsimnow. Recent uv versions strictly validate “requested name == metadata name” and fail the install, causing setup to break.Steps to Reproduce
Use
uv >= 0.9.x(strict name checking) andPython >= 3.12(missing onnx-simplifier whl package).Actual Behavior
uv aborts with a name mismatch:
Expected Behavior
Install should succeed without manual intervention, even if no prebuilt whl package, from tarball.
Impact
Fresh setups using
uvandPython >= 3.12cannot install the project as-is.Workarounds
Overwrite,
onnxsimpackage name from envvar.Proposed Fix
In
pyproject.toml, change the dependency key fromonnx-simplifiertoonnxsim(same version range), then refresh the lock file.