pipx
pipx copied to clipboard
pipx includes current working dir in import path during install
Describe the bug
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.