-
-
Notifications
You must be signed in to change notification settings - Fork 987
Add url parameter to install_xbuildenv #3592
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
Conversation
| str(envpath), | ||
| "--download", | ||
| "--url", | ||
| "https://github.com/pyodide/pyodide/releases/download/0.22.1/xbuildenv-0.22.1.tar.bz2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a 10MB file, not sure about downloading it each time this test is run. At least maybe we could put it behind some pytest mark and not run it by default?
If we cannot create a similar archive for testing at runtime that is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we cannot create a similar archive for testing at runtime that is.
I'll try this approach.
Description
Resolve #3567
Adds url paramter to
install_xbuildenv, which helps installing xbuildenv from arbitrary URL. This is mostly for developers / maintainers who want to test tot xbuildenv.This PR also adds a private CLI entrypoint
pyodide xbuildenv install.Checklists