diff --git a/package.json b/package.json index 37eb263a..f7ed1596 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "shinylive", - "version": "0.9.1", + "version": "0.9.2", "description": "Run Shiny applications with R or Python running in the browser.", "main": "index.js", "repository": { diff --git a/packages/py-shinywidgets b/packages/py-shinywidgets index 988df1e0..a85f8575 160000 --- a/packages/py-shinywidgets +++ b/packages/py-shinywidgets @@ -1 +1 @@ -Subproject commit 988df1e0cb088fcefb8f0cbfc5248a3a877c1d08 +Subproject commit a85f857542d4801c11fbc624d379a229d1ea05a3 diff --git a/shinylive_lock.json b/shinylive_lock.json index cf32ef1d..1f735a6a 100644 --- a/shinylive_lock.json +++ b/shinylive_lock.json @@ -39,13 +39,13 @@ }, "shinywidgets": { "name": "shinywidgets", - "version": "0.3.4", - "filename": "shinywidgets-0.3.4-py3-none-any.whl", + "version": "0.4.0", + "filename": "shinywidgets-0.4.0-py3-none-any.whl", "sha256": null, "url": null, "depends": [ {"name": "ipywidgets", "specs": [[">=", "7.6.5"]]}, - {"name": "jupyter-core", "specs": []}, + {"name": "jupyter_core", "specs": []}, {"name": "shiny", "specs": [[">=", "0.6.1.9005"]]}, {"name": "python-dateutil", "specs": [[">=", "2.8.2"]]} ], @@ -523,5 +523,19 @@ "imports": [ "libsass" ] + }, + "jupyter_core": { + "name": "jupyter_core", + "version": "5.7.2", + "filename": "jupyter_core-5.7.2-py3-none-any.whl", + "sha256": "4f7315d2f6b4bcf2e3e7cb6e46772eba760ae459cd1f59d29eb57b0a01bd7409", + "url": "https://files.pythonhosted.org/packages/c9/fb/108ecd1fe961941959ad0ee4e12ee7b8b1477247f30b1fdfd83ceaf017f0/jupyter_core-5.7.2-py3-none-any.whl", + "depends": [ + {"name": "platformdirs", "specs": [[">=", "2.5"]]}, + {"name": "traitlets", "specs": [[">=", "5.3"]]} + ], + "imports": [ + "jupyter_core" + ] } } \ No newline at end of file diff --git a/src/hooks/usePyodide.tsx b/src/hooks/usePyodide.tsx index 59e9fadd..b37734d7 100644 --- a/src/hooks/usePyodide.tsx +++ b/src/hooks/usePyodide.tsx @@ -412,8 +412,8 @@ async def _install_requirements_from_dir(dir: str) -> None: extras.update({e.strip() for e in match_extras.group(2).split(",")}) if pkg_name not in micropip.list(): - print(f"Installing {pkg_name} ...") - await micropip.install(pkg_name) + print(f"Installing {req} ...") + await micropip.install(req) if len(extras) == 0: continue