Skip to content

Commit

Permalink
Revert "Bump to newest shinylive release; get rid of soft_dependencie…
Browse files Browse the repository at this point in the history
…s workaround"

This reverts commit 6b9591e.
  • Loading branch information
cpsievert committed Jan 26, 2024
1 parent 6b9591e commit f0086f5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/jupyter-widgets.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ 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",
Expand All @@ -76,6 +77,12 @@ 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
Expand Down
7 changes: 7 additions & 0 deletions docs/quick-start.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ 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",
Expand All @@ -161,6 +162,12 @@ 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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
jupyter
jupyter_client < 8.0.0
tabulate
shinylive==0.2.1
shinylive==0.2.0
matplotlib==3.8.1
shiny
seaborn==0.13.0
Expand Down

0 comments on commit f0086f5

Please sign in to comment.