Skip to content

Commit

Permalink
[Bug] Outdated dependencies in example (#285)
Browse files Browse the repository at this point in the history
* fix(weights-and-biases): wandb need numpy < 2

* fix(mosaic): missing dependency | caused wrong binary to be install

* fix(mirascope): app need older version to work
  • Loading branch information
LatentDream authored Oct 3, 2024
1 parent 2b6a9c7 commit 1462421
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
3 changes: 2 additions & 1 deletion examples/panel/weights-and-biases-llm/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ openai==1.12.0
panel==1.3.8
ploomber-cloud
wandb==0.16.3
ipython
numpy==1.26.4
ipython
2 changes: 1 addition & 1 deletion examples/streamlit/mirascope-url-extractor/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
from urllib.request import Request, urlopen

from bs4 import BeautifulSoup
from mirascope.anthropic import AnthropicExtractor, AnthropicCallParams
from mirascope.base.tools import DEFAULT_TOOL_DOCSTRING
from mirascope.anthropic import AnthropicExtractor, AnthropicCallParams
from pydantic import BaseModel, Field, computed_field, create_model
import streamlit as st

Expand Down
9 changes: 5 additions & 4 deletions examples/streamlit/mirascope-url-extractor/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
mirascope[anthropic]>=0.9.0
streamlit
pydantic-settings
beautifulsoup4
mirascope[anthropic]==0.9.1
streamlit==1.33.0
pydantic-settings==2.2.1
beautifulsoup4==4.12.3
anthropic==0.23.1
14 changes: 9 additions & 5 deletions examples/voila/mosaic/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# requirements for mosaic example
pandas<2
mosaic_widget
jupysql
duckdb-engine
voila
mosaic-widget==0.5.0
jupysql==0.10.10
duckdb_engine==0.11.2
numpy==1.26.4
pandas==1.5.3
voila==0.5.5
ipython==8.22.2
ipykernel==6.29.3
jupyter

0 comments on commit 1462421

Please sign in to comment.