forked from Yelp/detect-secrets
-
Notifications
You must be signed in to change notification settings - Fork 54
[BUG] Unable to create a baseline file #180
Copy link
Copy link
Open
Description
Describe the bug
I'm getting the following error when trying to generate a new baseline file:
detect-secrets scan --update .secrets.baseline
Traceback (most recent call last):
File "/Users/sher/.pyenv/versions/3.10.7/lib/python3.10/site-packages/requests_toolbelt/_compat.py", line 48, in <module>
from requests.packages.urllib3.contrib import appengine as gaecontrib
ImportError: cannot import name 'appengine' from 'requests.packages.urllib3.contrib' (/Users/sher/.pyenv/versions/3.10.7/lib/python3.10/site-packages/urllib3/contrib/__init__.py)
To Reproduce
$ sw_vers
ProductName: macOS
ProductVersion: 26.3
BuildVersion: 25D125
$ python --version
Python 3.10.7
$ detect-secrets --version
0.13.1+ibm.64.dss
$ detect-secrets scan --update .secrets.baseline
Traceback (most recent call last):
File "/Users/sher/.pyenv/versions/3.10.7/lib/python3.10/site-packages/requests_toolbelt/_compat.py", line 48, in <module>
from requests.packages.urllib3.contrib import appengine as gaecontrib
ImportError: cannot import name 'appengine' from 'requests.packages.urllib3.contrib' (/Users/sher/.pyenv/versions/3.10.7/lib/python3.10/site-packages/urllib3/contrib/__init__.py)
During handling of the above exception, another exception occurred: ....
Impact
unabled to create baseline file.
Additional context:
- Operating environment,
- Host or local,
- Operating System,
- Languages scanned etc;
- Repo & build context links.
- Log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels