Skip to content

Commit 1462421

Browse files
authored
[Bug] Outdated dependencies in example (#285)
* 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
1 parent 2b6a9c7 commit 1462421

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

examples/panel/weights-and-biases-llm/requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ openai==1.12.0
22
panel==1.3.8
33
ploomber-cloud
44
wandb==0.16.3
5-
ipython
5+
numpy==1.26.4
6+
ipython

examples/streamlit/mirascope-url-extractor/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
from urllib.request import Request, urlopen
44

55
from bs4 import BeautifulSoup
6-
from mirascope.anthropic import AnthropicExtractor, AnthropicCallParams
76
from mirascope.base.tools import DEFAULT_TOOL_DOCSTRING
7+
from mirascope.anthropic import AnthropicExtractor, AnthropicCallParams
88
from pydantic import BaseModel, Field, computed_field, create_model
99
import streamlit as st
1010

Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
mirascope[anthropic]>=0.9.0
2-
streamlit
3-
pydantic-settings
4-
beautifulsoup4
1+
mirascope[anthropic]==0.9.1
2+
streamlit==1.33.0
3+
pydantic-settings==2.2.1
4+
beautifulsoup4==4.12.3
5+
anthropic==0.23.1
+9-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# requirements for mosaic example
2-
pandas<2
3-
mosaic_widget
4-
jupysql
5-
duckdb-engine
6-
voila
2+
mosaic-widget==0.5.0
3+
jupysql==0.10.10
4+
duckdb_engine==0.11.2
5+
numpy==1.26.4
6+
pandas==1.5.3
7+
voila==0.5.5
8+
ipython==8.22.2
9+
ipykernel==6.29.3
10+
jupyter

0 commit comments

Comments
 (0)