Skip to content

Conversation

@ryanking13
Copy link
Member

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

  • Add / update tests

str(envpath),
"--download",
"--url",
"https://github.com/pyodide/pyodide/releases/download/0.22.1/xbuildenv-0.22.1.tar.bz2",
Copy link
Member

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.

Copy link
Member Author

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.

@ryanking13 ryanking13 merged commit 1138a4a into pyodide:main Feb 22, 2023
@ryanking13 ryanking13 deleted the xbuildenv-cli branch February 22, 2023 02:56
hoodmane pushed a commit to hoodmane/pyodide that referenced this pull request Mar 2, 2023
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.

Option to install arbitrary version of xbuildenv for debug purpose

3 participants