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

v0.1.1 causes "Error: No known package with name 'ssl'" #164

Closed
whitphx opened this issue Aug 26, 2022 · 3 comments
Closed

v0.1.1 causes "Error: No known package with name 'ssl'" #164

whitphx opened this issue Aug 26, 2022 · 3 comments

Comments

@whitphx
Copy link
Owner

whitphx commented Aug 26, 2022

No description provided.

@whitphx
Copy link
Owner Author

whitphx commented Aug 26, 2022

As a workaround to make the playground app work, we will revert the commit that introduced Pyodide 0.21.1.

After that, this problem should be solved by mocking the ssl module as commented here:

"ssl", // TODO: This package is only to be loaded from tornado, but it is not actually used. So this should be replaced with a lightweight mock.

and ultimately with #47

@whitphx
Copy link
Owner Author

whitphx commented Dec 14, 2022

When we can omit or mock the ssl module, don't forget to remove this line:

pyodide/ssl-1.0.0.zip

that controls which packages are bundled into desktop apps via the --files-from option below.
"build:pyodide": "curl -L https://github.com/pyodide/pyodide/releases/download/0.21.3/pyodide-build-0.21.3.tar.bz2 | tar xj -C ./build --files-from=./pyodide-files.txt",

@whitphx
Copy link
Owner Author

whitphx commented Feb 24, 2023

Closed by #492

@whitphx whitphx closed this as completed Feb 24, 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

No branches or pull requests

1 participant