Closed brenard-irap closed 1 year ago
As you can see at https://packaging.pypa.io/en/stable/changelog.html, "LegacyVersion" has been removed from the last version (22.0) of packaging.
Unfortunately, Speasy uses it in speasy/core/cache/version.py
So, we have an exception during the import:
ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (C:\Users\benjamin.renard\Documents\AMDA\cu2022_3_10_venv\lib\site-packages\packaging\version.py)
I have downgrade packaging to version 21.3 to fix the issue
I'll look into this ASAP.
As you can see at https://packaging.pypa.io/en/stable/changelog.html, "LegacyVersion" has been removed from the last version (22.0) of packaging.
Unfortunately, Speasy uses it in speasy/core/cache/version.py
So, we have an exception during the import:
ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (C:\Users\benjamin.renard\Documents\AMDA\cu2022_3_10_venv\lib\site-packages\packaging\version.py)
I have downgrade packaging to version 21.3 to fix the issue