Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Doesn't it store the python version in the pyproject.toml though, is the python version file needed?


It’s not:

> uv will respect Python requirements defined in requires-python in the pyproject.toml file during project command invocations. The first Python version that is compatible with the requirement will be used, unless a version is otherwise requested, e.g., via a .python-version file or the --python flag.

β€” https://docs.astral.sh/uv/concepts/python-versions/#project-...


cheers




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: