Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipx includes current working dir in import path during install #1575

Open
GUIpsp opened this issue Nov 10, 2024 · 0 comments
Open

pipx includes current working dir in import path during install #1575

GUIpsp opened this issue Nov 10, 2024 · 0 comments

Comments

@GUIpsp
Copy link

GUIpsp commented Nov 10, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant