-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
I'm using uv on two macOS systems -- a newer M1 on macOS 15.1, and an old Intel pegged to 11.7. I'm trying to install the odrive package. Newer odrive packages (>0.6.8) require macOS 12+, so I can install 0.6.9.post0 on the M1 but only 0.6.8 on the Intel.
If I don't use uv (and use requirements.txt and pip instead) I can specify odrive >= 0.6.8 in requirements.txt and pip install -r requirements.txt will choose the correct package version on both platforms (0.6.8 on the Intel, 0.6.9.post0 on the M1).
If I use uv with odrive>=0.6.8 in pyproject.toml, uv will try to install 0.6.9.pos0 on the Intel and will fail.
I can force uv to install 0.6.8 on the Intel using uv pip install -r requirements.txt but uv tree still shows 0.6.9.post0 and some functionality (uv run for example) is broken.
I can edit the pyproject.toml on the Intel to force "odrive==0.6.8" and keep the changes local, but I'm hoping to find a cross-platform solution.
Any recommendations?