Overview
The Python poetry lockfile version is going to be updated to v2.0, starting with the poetry v1.3 release. It is not clear when this release will happen. However, the release of poetry v1.2.2 happened on 10 OCT 2022 and the announcement for that release shows that the release includes backwards and forwards compatibility for the new lockfile version for both poetry version 1.2 and 1.3
Additional Details
- It appears that the main difference is that package files and hashes are no longer stored in
metadata.hashes and instead are stored in package.files
- This should not affect the way the lockfile is parsed for Phylum
- Only version 1.x
poetry lockfiles are currently supported
- Consider adding a new test fixture to account for the new lockfile version format
References:
Acceptance Criteria
Overview
The Python
poetrylockfile version is going to be updated to v2.0, starting with thepoetryv1.3 release. It is not clear when this release will happen. However, the release ofpoetryv1.2.2 happened on 10 OCT 2022 and the announcement for that release shows that the release includes backwards and forwards compatibility for the new lockfile version for bothpoetryversion 1.2 and 1.3Additional Details
metadata.hashesand instead are stored inpackage.filespoetrylockfiles are currently supportedReferences:
Acceptance Criteria
poetrylockfile versions 1.x and 2.x are supported for parsingpoetrylockfile versions