When installing latest version of detect-secrets-server using:
git clone https://github.com/Yelp/detect-secrets-server.git /usr/share/detect-secrets-server
pip install /usr/share/detect-secrets-server
I have the following error when trying to execute detect-secrets-server:
Traceback (most recent call last):
File "/usr/local/bin/detect-secrets-server", line 7, in <module>
from detect_secrets_server.__main__ import main
File "/usr/local/lib/python2.7/dist-packages/detect_secrets_server/__main__.py", line 9, in <module>
from detect_secrets.plugins import SensitivityValues
ImportError: cannot import name SensitivityValues
The class SensitivityValues has been deleted from detect-secrets as noted in this PR Yelp/detect-secrets#44. It references that detect-secrets-server should be pinned to specific version but the README.md does not say which version.
I was able to install using pip with the following pinned version
pip install detect-secrets==0.8.8
pip install detect-secrets-server
Either README.md needs to be updated or the detect-secrets-server code needs to be updated accordingly.
When installing latest version of detect-secrets-server using:
I have the following error when trying to execute detect-secrets-server:
The class
SensitivityValueshas been deleted from detect-secrets as noted in this PR Yelp/detect-secrets#44. It references that detect-secrets-server should be pinned to specific version but the README.md does not say which version.I was able to install using pip with the following pinned version
Either README.md needs to be updated or the detect-secrets-server code needs to be updated accordingly.