pipx icon indicating copy to clipboard operation
pipx copied to clipboard

pipx includes current working dir in import path during install

Open GUIpsp opened this issue 1 year ago • 0 comments

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.

GUIpsp avatar Nov 10 '24 18:11 GUIpsp