uv icon indicating copy to clipboard operation
uv copied to clipboard

Support reading Python versions from `tool.uv`

Open zanieb opened this issue 1 year ago • 3 comments

https://github.com/astral-sh/uv/pull/4335 adds support for Python version files, but we should also support a section in the pyproject.toml with more structured data.

zanieb avatar Jun 17 '24 16:06 zanieb

for projects with multiple languages/tools, it's possible to have the python version in a .tool-versions file which is very similar in spirit to .python-versions, I don't think uv currently supports this and I can't find an existing issue. I suppose this is more of a feature request, though.

e.g.: https://asdf-vm.com/manage/configuration.html#tool-versions https://mise.jdx.dev/configuration.html#tool-versions

TommasoAmici avatar Aug 23 '24 15:08 TommasoAmici

@TommasoAmici would you mind opening a dedicated issue for supporting that?

zanieb avatar Aug 23 '24 15:08 zanieb

sure! https://github.com/astral-sh/uv/issues/6574

TommasoAmici avatar Aug 24 '24 08:08 TommasoAmici