-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Probably related to #198
We install inside a docker container using:
$ pip install truffleHog==2.0.99
We run:
$ trufflehog --regex --entropy=False .
Starting today this errored with:
Traceback (most recent call last):
File "/usr/local/bin/trufflehog", line 5, in <module>
from truffleHog.truffleHog import main
File "/usr/local/lib/python3.8/site-packages/truffleHog/truffleHog.py", line 17, in <module>
from git import Repo
File "/usr/local/lib/python3.8/site-packages/git/__init__.py", line 38, in <module>
from git.config import GitConfigParser # @NoMove @IgnorePep8
File "/usr/local/lib/python3.8/site-packages/git/config.py", line 16, in <module>
from git.compat import (
File "/usr/local/lib/python3.8/site-packages/git/compat.py", line 16, in <module>
from gitdb.utils.compat import (
ModuleNotFoundError: No module named 'gitdb.utils.compat'
A quick dive down the dependency tree showed that the trufflehog dependency on gitpython-2.1.1
(here) is pulling in gitdb2-3.0.2
(here) which has removed the gitdb.utils.compat
(PR)
Our fix for now is to use (may be useful to others):
pip install gitdb2==3.0.0 truffleHog==2.0.99
fmigneault, edplato, Slach, gogoge, MuhaddiMu and 2 moresamputer and MuhaddiMuNomanGul
Metadata
Metadata
Assignees
Labels
No labels