Closed carlosdorneles-mb closed 1 year ago
Hi @carlosdorneles-mb we're working on a fix for this asap, and should have it done in the next few hours or sooner. We'll keep you updated. cc @DragosChirila
I'm closing this because Safety 2.3.4 is available in PyPI
with a fix for this issue; thank you for the report @carlosdorneles-mb and @DragosChirila!
Description
In the most current version of the Safety package, the LegacyVersion function of the Packaging package is being used and starting from version 22 of Packaging, this has been removed.
What I Did
When running the command on github CI it is raising the error
cannot import name 'LegacyVersion' from 'packaging.version'