Skip to content

Fix #137 - Allow the passthrough option for the cache #138

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 1 commit into from
Jun 27, 2025
Merged

Conversation

WebReflection
Copy link
Contributor

@WebReflection WebReflection commented Jun 26, 2025

This MR goal is to fix #137 so that a passthrough value for the packages_cache entry in the config would allow direct Pyodide bootstrap without needing, or using, micropip.

This should basically guarantee the following:

  • if no cache is meant/needed, passthrough would avoid the usage of micropip entirely
  • all invalidation issues about the Pyodide version won't matter anymore, it's the current Pyodide bootstrapping without a lockFileURL detail

This should solve all concerns and allow power users to bypass our cache logic which is, apparently, not always desired.

@WebReflection WebReflection merged commit a115939 into main Jun 27, 2025
2 checks passed
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.

Lack of Python package cache invalidation causes issues with Pyodide updates
1 participant