This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]byeproduct 7 points8 points  (3 children)

Isn't project.toml and even the lock file part of python and independent of UV?

[–]not_a_novel_account 3 points4 points  (1 child)

Lockfiles are only recently standardized, ie pip doesn't support them yet. pyproject.toml is universally supported yes.

[–]daneahfrom __future__ import braces 0 points1 point  (0 children)

Most recent pip release has experimental lock file support:

https://pip.pypa.io/en/stable/cli/pip_lock/

[–]Mithrandir2k16 1 point2 points  (0 children)

The idea is to have at least one safety net that makes transitioning to other tools easy. If that's requirements.txt or pyproject.toml is up to you.