Skip to content

Quote the arguments to pip #209

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

Merged
merged 2 commits into from
May 23, 2025
Merged

Quote the arguments to pip #209

merged 2 commits into from
May 23, 2025

Conversation

hoodmane
Copy link
Member

This fixes quoting in the pip arguments. Otherwise:

.venv-pyodide/bin/pip install 'pkg; sys_platform != "emscripten"'

will fail because the quotes are removed and it is interpretered as a request to install packages named pkg, sys_platform, !=, and emscripten.

This fixes quoting in the pip arguments. Otherwise:
```
.venv-pyodide/bin/pip install 'pkg; sys_platform != "emscripten"'
```
will fail because the quotes are removed and it is interpretered as a
request to install packages named pkg, sys_platform, !=, and emscripten.

This fixes another regression introduced in pyodide#185.
@hoodmane hoodmane merged commit 3d95b52 into pyodide:main May 23, 2025
5 checks passed
@hoodmane hoodmane deleted the quote-pip-args branch May 23, 2025 01:20
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

Successfully merging this pull request may close these issues.

1 participant