Make cryptography a valid dependency for emscripten targets

Since only the special cryptography package bundled with pyodide can be
used, relax the version requirement to anything that's version 39.*.

Fix #284
This commit is contained in:
Maurice Lam
2023-09-20 12:28:55 -07:00
parent 4c29a16271
commit 8c3c0b1e13
2 changed files with 1 additions and 2 deletions

View File

@@ -74,7 +74,6 @@ export async function loadBumble(pyodide, bumblePackage) {
await pyodide.loadPackage("micropip");
await pyodide.runPythonAsync(`
import micropip
await micropip.install("cryptography")
await micropip.install("${bumblePackage}")
package_list = micropip.list()
print(package_list)