update secret scan pypi
to use pip3 or give an option for pip3 over pip
#394
Labels
secret scan pypi
to use pip3 or give an option for pip3 over pip
#394
Is your feature request related to a problem? Please describe.
When running
ggshield secret scan pypi PACKAGENAME
on a M2 Macbook pro running Python3 I get the following error:I have aliased pip to pip3 in my .zshrc and .zshenv, as well as added pip3 to my $PATH.
The issue is that Zsh spawned processes do not seem to respect my settings and just fail when encountering
pip
Describe the solution you'd like
There should be a fallback state that tries pip3 if pip causes an error
OR
a flag to tell GG what pip to use. For example:
ggshield secret scan pypi PACKAGENAME --pip=pip3
Describe alternatives you've considered
I spent about 10 minutes trying to get zsh to honor pip as pip3 in spawned processes but to no avail.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: