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

--pip-args does not work with args that start with "--" #833

Closed
gwerbin opened this issue Apr 19, 2022 · 1 comment
Closed

--pip-args does not work with args that start with "--" #833

gwerbin opened this issue Apr 19, 2022 · 1 comment
Labels
wontfix This will not be worked on

Comments

@gwerbin
Copy link

gwerbin commented Apr 19, 2022

Describe the bug

Passing a flag to --pip-args that starts with -- does not work properly. If you write --pip-args --foo, Pipx separates this into two separate options, --pip-args and --foo, then exits with an error code because --pip-args now is missing its argument.

How to reproduce

pipx install --pip-args --pre hy

Expected behavior

Pipx should pass the --pre option to Pip when installing Hy.

@uranusjr
Copy link
Member

pipx install --pip-args=--pre=py.

python/cpython#53580

@uranusjr uranusjr added upstream Bug in dependency wontfix This will not be worked on and removed upstream Bug in dependency labels Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants