-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
enhancementNew feature or requestNew feature or requestlow complexitySuitable for first time contributors.Suitable for first time contributors.low priorityShould be handled as time permitsShould be handled as time permits
Description
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.hashesand instead are stored inpackage.files- This should not affect the way the lockfile is parsed for Phylum
- Only version 1.x
poetrylockfiles are currently supported
- Consider adding a new test fixture to account for the new lockfile version format
References:
- PR for lockfile format 2.0
- PR to add forward compatibility for lock file format 2.0, which will be used by Poetry 1.3
Acceptance Criteria
-
poetrylockfile versions 1.x and 2.x are supported for parsing - Tests are updated to include all supported
poetrylockfile versions - Documentation is updated
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestlow complexitySuitable for first time contributors.Suitable for first time contributors.low priorityShould be handled as time permitsShould be handled as time permits