astral-sh / uv

An extremely fast Python package and project manager, written in Rust.
https://docs.astral.sh/uv
Apache License 2.0
21.85k stars 641 forks source link

Consider versioning `tool.uv` schema #4470

Closed charliermarsh closed 2 months ago

charliermarsh commented 3 months ago

Do we want to version the schema separately from uv itself, so that we can support different formats over time?

zanieb commented 3 months ago

It'd be nice, but I'm not sure it's a high priority in the short term. It seems non-trivial to implement right?

charliermarsh commented 3 months ago

Adding the version is trivial. The hard work comes when we make a breaking change and bump it. The reason to consider it now is that it may be hard to add retroactively (or not, but we should just think that through while we can).

charliermarsh commented 2 months ago

We don't need to do this now.

zanieb commented 2 months ago

Can you note why?

charliermarsh commented 2 months ago

We may want to introduce this later, but I don't know that it buys us much to introduce it to start, especially since we can't require it.