You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Poetry has deprecated and in 1.5.0 removed writing of the category field into the poetry.lock file. dparse assumes this field to always be present. Thus dparse cannot parse poetry.lock files generated with a recent Poetry version and fails with the exception Malformed poetry lock file
What's the best choice here? Provide a default (section = dep.get('category'))? Or always ignore it (section = None)?
It looks like it was removed because it is unused "Do not write the unused package category into the lock file", I guess because of the introduction of groups in the pyproject.toml, which aren't referenced in the poetry.lock.
Description
Poetry has deprecated and in 1.5.0 removed writing of the
category
field into the poetry.lock file. dparse assumes this field to always be present. Thus dparse cannot parse poetry.lock files generated with a recent Poetry version and fails with the exceptionMalformed poetry lock file
dparse/dparse/parser.py
Lines 461 to 467 in eb917b3
The text was updated successfully, but these errors were encountered: