astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.6k stars 466 forks source link

Passing `--python-platform` flag to `uv` #1056

Open sondr3 opened 5 months ago

sondr3 commented 5 months ago

Related to #717 and #1053, now that uv is the default backend would it be possible to pass the --python-platform flag either as configuration or its flag for sync/add etc? This would get us 95% of the way for platform agnostic lockfiles as we only really care about locking down dependencies for Linux.

bobbyrenwick commented 3 months ago

Are there plans to expose the --universal flag that came to uv recently?

impredicative commented 2 months ago

This works:

[tool.rye]
universal = true