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

Bundle extra Python packages as part of static assets output #38

Open
georgestagg opened this issue Jul 31, 2024 · 2 comments
Open

Bundle extra Python packages as part of static assets output #38

georgestagg opened this issue Jul 31, 2024 · 2 comments

Comments

@georgestagg
Copy link
Contributor

So as to match the Wasm R package bundling now included in posit-dev/r-shinylive.

@georgestagg
Copy link
Contributor Author

georgestagg commented Jul 31, 2024

The maximum file size for GitHub Pages seems to be 100MB. There should be a default limit in place for packages larger than this.

c.f. posit-dev/r-shinylive#114

@wch
Copy link
Collaborator

wch commented Jul 31, 2024

For future reference, I think this would involve the following:

  • Query PyPI (or other package repository, if specified) for packages specified in requirements.txt, along with their upstream dependencies.
  • Download those packages.
  • Add those packages to the pyodide-lock.json file, similar to how the shinylive_lock.json file is created and then merged into pyodide-lock.json.

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

2 participants