Skip to content

uv fails to install correct odrive version on old macOS #8536

@alec-bike

Description

@alec-bike

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?

Metadata

Metadata

Assignees

Labels

questionAsking for clarification or support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions