pipx install considers the current working dir as import path during install.
How to reproduce
cd $(mktemp -d)
echo "raise" > re.py
pipx install magic-wormhole # or anything else, really
Expected behavior
Pipx installs the package, ignoring cwd
Actual behavior
Pipx errors out, because of the file in cwd
Extra
This probably has some security implications, but I could not find anywhere specific to report security issues, and it's probably low severity anyways.
Describe the bug
pipx install considers the current working dir as import path during install.
How to reproduce
Expected behavior Pipx installs the package, ignoring cwd
Actual behavior Pipx errors out, because of the file in cwd
Extra
This probably has some security implications, but I could not find anywhere specific to report security issues, and it's probably low severity anyways.