-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
micropip integrity check failed in pyodide #92
Comments
Could you share a little more detail and a code that we can reproduce the error? |
OK {{ textOutput }}
` |
My further request is skipping the whl integrity check of micropip.xxx.whl |
I just uploaded a Quasar CLI Vite project so that you can reproduce this bug. How to reproduce?
|
Oh, yes. It is expected error, as the sha256 checksum will change if you change the file. So you need to either,
|
I did not search out the word checkIntegrity. Could you provide a settings.js with default settings for me? |
pyodide.loadPackage(<pkg_name>, { checkIntegrity: false }) |
I get it. |
No, currently, there is no global setting for it. Probably you can re-define const origLoadPackage = pyodide.loadPackage
pyodide.loadPackage = (...) => orignLoadPackage(..., {checkIntegrity: false}) ? |
This is the solution I would recommend as well. |
Failed to find a valid digest in the 'integrity' attribute for resource 'http://localhost:9000/node_modules/pyodide/micropip-0.5.0-py3-none-any.whl' with computed SHA-256 integrity 'KFZn0rkbV86HyQAlSLlknsu+HplrTX9Miq+rebxMs8A='. The resource has been blocked.
The text was updated successfully, but these errors were encountered: