mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-24 17:16:02 +00:00
## Summary Fixes: #6615 Currently, some packages are not installable with `uv`, like `ziglang` on Linux. Everything is described in the issue! 😄 <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan <!-- How was it tested? --> I added a unit test for the problematic use case. I also checked that previous unit test are still running in order to ensure the backward compatibility. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| Readme.md | ||
Reimplementation of wheel installing in rust. Supports both classical venvs and monotrail.
There are simple python bindings:
from install_wheel_rs import LockedVenv
locked_venv = LockedVenv("path/to/.venv")
locked_venv.install_wheel("path/to/some_tagged_wheel.whl")
and there's only one function: install_wheels_venv(wheels: List[str], venv: str), where wheels
is a list of paths to wheel files and venv is the location of the venv to install the packages in.
See monotrail for benchmarks.