astral-sh / uv

An extremely fast Python package installer and resolver, written in Rust.
https://astral.sh/
Apache License 2.0
14.72k stars 419 forks source link

Allow user to specify "Python range to lock" separate from `Requires-Python` #4087

Open charliermarsh opened 1 month ago

charliermarsh commented 1 month ago

There's a lot of discussion around this idea in #4071 and #4022. It makes sense to me. I want it in my own projects!

What should this be called? Just Requires-Python under tool.uv? Constrains-Python? Supports-Python? Locks-Python? Just python?

henryiii commented 1 month ago

I'd not use the capitals, those are only in the metadata field. :) python-range? python-lock-range? supported-python-range?

charliermarsh commented 1 month ago

Haha yes sorry. No capitals :)