Skip to content

Commit

Permalink
Fix packages/sharing-editor/public/samples/011_component_gallery/requ…
Browse files Browse the repository at this point in the history
…irements.txt (#1303)
  • Loading branch information
whitphx authored Jan 30, 2025
1 parent d053c17 commit b7e75ad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/sharing-editor/bin/copy-samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ cp $SOURCE_REPO_DIR/python/api-examples-source/tutorials/elements/*/*.py $SAMPLE
cp $SOURCE_REPO_DIR/python/api-examples-source/guides/*.py $SAMPLES_DIR/011_component_gallery/pages/.
cp -r $SOURCE_REPO_DIR/python/api-examples-source/images $SAMPLES_DIR/011_component_gallery/pages/.
cp $SOURCE_REPO_DIR/python/api-examples-source/requirements.txt $SAMPLES_DIR/011_component_gallery/.
sed -i '' 's/[<=>]=.*//' $SAMPLES_DIR/011_component_gallery/requirements.txt
patch $SAMPLES_DIR/011_component_gallery/requirements.txt $DIFF_DIR/011_component_gallery/requirements.txt
patch $SAMPLES_DIR/011_component_gallery/pages/charts.audio-purr.py $DIFF_DIR/011_component_gallery/pages/charts.audio-purr.py
patch $SAMPLES_DIR/011_component_gallery/pages/media.logo.py $DIFF_DIR/011_component_gallery/pages/media.logo.py
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
3c3
< bokeh==2.4.3
---
> bokeh
12c12
< openai
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
pandas
plotly
plotly==5.*
bokeh
graphviz
requests
matplotlib
numpy<2
numpy
scipy
altair
altair>=5.0.0
pydeck
Faker
openai<1.40.0 # `openai==1.40.0` started depending on `jiter`, which is not working in Pyodide
vega_datasets
streamlit
streamlit>=1.41.0
ssl # `openai` depends on `ssl`, which is a standard library but not vendored with Pyodide

0 comments on commit b7e75ad

Please sign in to comment.