Skip to content
Discussion options

You must be logged in to vote

In older versions of Poetry, we kept a collection of filenames and hashes. In newer versions of Poetry (lock file format 2.0), we instead keep track of files under each package entry. In all cases these hashes are used to verify the packages retrieved from the repository match the expected values from lock time.

The other metadata fields are straightfoward -- representing the lock file format version, the Python constraint from pyproject.toml, and a hash of attributes that are known to require a re-lock.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Michae94
Comment options

@neersighted
Comment options

@Michae94
Comment options

@Michae94
Comment options

Answer selected by Michae94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants