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
licensecheck.............................................................Failed
- hook id: licensecheck
- exit code: 1
Traceback (most recent call last):
File "/home/niccolum/.cache/pre-commit/repohao7hzis/py_env-python3.10/bin/licensecheck", line 5, in <module>
from licensecheck import cli
File "/home/niccolum/.cache/pre-commit/repohao7hzis/py_env-python3.10/lib/python3.10/site-packages/licensecheck/__init__.py", line 12, in <module>
from licensecheck import formatter, get_deps
File "/home/niccolum/.cache/pre-commit/repohao7hzis/py_env-python3.10/lib/python3.10/site-packages/licensecheck/get_deps.py", line 10, in <module>
from licensecheck import license_matrix, packageinfo
File "/home/niccolum/.cache/pre-commit/repohao7hzis/py_env-python3.10/lib/python3.10/site-packages/licensecheck/packageinfo.py", line 15, in <module>
from pip._internal.utils.misc import get_installed_distributions
ImportError: cannot import name 'get_installed_distributions' from 'pip._internal.utils.misc' (/home/niccolum/.cache/pre-commit/repohao7hzis/py_env-python3.10/lib/python3.10/site-packages/pip/_internal/utils/misc.py)
The text was updated successfully, but these errors were encountered:
Bug
outcome including screenshots where appropriate
System info
Describe the bug
New pip broke internal API. Similar issue with jazzband/pip-tools#1503
Expected outcome
Zero code or lisencecheck output
Actual outcome
The text was updated successfully, but these errors were encountered: