PEP 751 (Python dependency lock files) has been accepted
2 points by ubernostrum
2 points by ubernostrum
This PEP was discussed here before when it was a draft, but it’s evolved a lot since then and now has been accepted for implementation.
In brief, Python will now have a standard, tool-independent format for pinned-and-hashed dependency lockfiles, with the standard filename pylock.toml
(and the ability to have multiple such files if you need them). This may not fully replace various package/workspace frontends’ own configuration files, but they seem to be on board with providing the ability to export to a pylock.toml
which would greatly simplify a lot of other tooling since there’d be only a single file to search for (as opposed to potentially looking for Poetry’s lock file, PDM’s lock file, uv’s lockfile, a plain requirements file, etc.).