-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Checkov uses deprecated object from the packaging module #4026
Comments
I am also hitting this issue in my tests. https://github.com/SeisoLLC/easy_infra/actions/runs/3650250973/jobs/6170713653 |
Hi, I'm getting this suddenly on MacOS Ventura as of this morning, and a colleague started seeing the issue last night. Checkov was working fine yesterday before the evening, and I have not run pip or homebrew in a while on my Mac, so I tried to uninstall checkov and reinstall it.
Yet I still get this issue. What can be the cause? Please reopen this issue. |
Nevermind. I found the problem. If you use the checkov
Mine was on |
Describe the issue
Running checkov 2.2.124 fails on startup with
ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (/usr/local/lib/python3.11/site-packages/packaging/version.py)
The root cause is that
LegacyVersion
has recently been deprecated.Examples
Exception Trace
Desktop (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: