Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checking projects using Poetry >= 1.5.0 fails #479

Open
plaa opened this issue Aug 3, 2023 · 3 comments
Open

Checking projects using Poetry >= 1.5.0 fails #479

plaa opened this issue Aug 3, 2023 · 3 comments
Assignees
Milestone

Comments

@plaa
Copy link

plaa commented Aug 3, 2023

  • safety version: 2.3.5
  • Python version: 3.10.12
  • Operating System: MacOS Ventura

Description

Safety uses dparse to parse the poetry.lock file. Poetry deprecated and in 1.5.0 removed writing of the category field into the poetry.lock file, while dparse assumes this field to always be present. Thus safety fails with the exception Malformed poetry lock file for any project using Poetry 1.5.0 (released in May) or newer.

dparse issue: pyupio/dparse#67

@yeisonvargasf
Copy link
Member

@plaa, thanks for this report; in the coming month, we are releasing a 3.0 Safety version where this issue is addressed.

@yeisonvargasf yeisonvargasf self-assigned this Aug 4, 2023
@yeisonvargasf yeisonvargasf added this to the 3.0.0 milestone Aug 4, 2023
@Corfucinas
Copy link

@plaa, thanks for this report; in the coming month, we are releasing a 3.0 Safety version where this issue is addressed.

Great! I just ran into this same error

@jserpapinto
Copy link

We have also run into this issue.. Fix would be much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants