From 6b9591e1c2abba8f330803cf26e4651f7feb6e4a Mon Sep 17 00:00:00 2001 From: Carson Date: Thu, 25 Jan 2024 18:50:42 -0600 Subject: [PATCH] Bump to newest shinylive release; get rid of soft_dependencies workaround --- docs/jupyter-widgets.qmd | 7 ------- docs/quick-start.qmd | 7 ------- requirements.txt | 2 +- 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/docs/jupyter-widgets.qmd b/docs/jupyter-widgets.qmd index b6f0845d..c586dd7d 100644 --- a/docs/jupyter-widgets.qmd +++ b/docs/jupyter-widgets.qmd @@ -56,7 +56,6 @@ To render an ipywidget you first define a reactive function that returns the wid from shiny.express import input, ui from shinywidgets import render_altair -import soft_dependencies ui.input_selectize( "var", "Select variable", @@ -77,12 +76,6 @@ altair anywidget palmerpenguins jsonschema -## file: soft_dependencies.py -# Temporary workaround to inform shinylive of soft dependencies -import anywidget -import jsonschema -import mypy_extensions -import toolz ``` ##### Bokeh diff --git a/docs/quick-start.qmd b/docs/quick-start.qmd index ad5464ed..3a225943 100644 --- a/docs/quick-start.qmd +++ b/docs/quick-start.qmd @@ -141,7 +141,6 @@ See the [Jupyter Widgets article](jupyter-widgets.qmd) for more information on r from shiny.express import input, ui from shinywidgets import render_altair -import soft_dependencies ui.input_selectize( "var", "Select variable", @@ -162,12 +161,6 @@ altair anywidget palmerpenguins jsonschema -## file: soft_dependencies.py -# Temporary workaround to inform shinylive of soft dependencies -import anywidget -import jsonschema -import mypy_extensions -import toolz ``` ##### Bokeh diff --git a/requirements.txt b/requirements.txt index cd5c9792..e427d1b0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ jupyter jupyter_client < 8.0.0 tabulate -shinylive==0.2.0 +shinylive==0.2.1 matplotlib==3.8.1 shiny seaborn==0.13.0