mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-12 12:40:29 +08:00
Remove the aiohttp mock from the Wasm worker as it's removed in https://github.com/gradio-app/gradio/pull/5244 (#7789)
* Remove the aiohttp mock from the Wasm worker as it's removed in https://github.com/gradio-app/gradio/pull/5244 * add changeset * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
2c8cd0a73d
commit
ff6bf3ec8f
6
.changeset/whole-jokes-drum.md
Normal file
6
.changeset/whole-jokes-drum.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"@gradio/wasm": patch
|
||||
"gradio": patch
|
||||
---
|
||||
|
||||
feat:Remove the aiohttp mock from the Wasm worker as it's removed in https://github.com/gradio-app/gradio/pull/5244
|
@ -74,7 +74,6 @@ async function initializeEnvironment(
|
||||
console.debug("Loading Gradio wheels.", gradioWheelUrls);
|
||||
updateProgress("Loading Gradio wheels");
|
||||
await micropip.add_mock_package("ffmpy", "0.3.0");
|
||||
await micropip.add_mock_package("aiohttp", "3.8.4");
|
||||
await pyodide.loadPackage(["ssl", "setuptools"]);
|
||||
await micropip.install(["typing-extensions>=4.8.0"]); // Typing extensions needs to be installed first otherwise the versions from the pyodide lockfile is used which is incompatible with the latest fastapi.
|
||||
await micropip.install(["markdown-it-py[linkify]~=2.2.0"]); // On 3rd June 2023, markdown-it-py 3.0.0 has been released. The `gradio` package depends on its `>=2.0.0` version so its 3.x will be resolved. However, it conflicts with `mdit-py-plugins`'s dependency `markdown-it-py >=1.0.0,<3.0.0` and micropip currently can't resolve it. So we explicitly install the compatible version of the library here.
|
||||
|
Loading…
x
Reference in New Issue
Block a user