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

Trim packages to make expanded directory smaller to fit under Heroku limit.. #7

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

epugh
Copy link
Member

@epugh epugh commented Jan 16, 2025

I couldn't figure out the "right" way to shrink my pyodide setup, there are tips here https://jupyterlite.readthedocs.io/en/latest/howto/pyodide/pyodide.html but it just doesn't sink in..

So I did a horrible hacky way of removing some files.... Not proud of this..

@epugh epugh requested a review from mkr January 16, 2025 14:26
@epugh
Copy link
Member Author

epugh commented Jan 16, 2025

This approach appears to have worked with Quepid! http://quepid-staging.herokuapp.com/notebooks/lab/index.html now runs again...

@epugh
Copy link
Member Author

epugh commented Jan 18, 2025

I took some more out, and got to this:

    Warning: Your slug size (480 MB) exceeds our soft limit (300 MB) which may affect boot time.

Which is better than the hard limit of 500!

@epugh
Copy link
Member Author

epugh commented Jan 18, 2025

And tested the notebooks... they load!

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