From 430ee44eae26abbb3e82ba10aaa549d2f718be2d Mon Sep 17 00:00:00 2001 From: Latent Date: Thu, 3 Oct 2024 10:49:24 -0400 Subject: [PATCH 1/3] fix(weights-and-biases): wandb need numpy < 2 --- examples/panel/weights-and-biases-llm/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/panel/weights-and-biases-llm/requirements.txt b/examples/panel/weights-and-biases-llm/requirements.txt index c2d928f2..c6edc9e2 100644 --- a/examples/panel/weights-and-biases-llm/requirements.txt +++ b/examples/panel/weights-and-biases-llm/requirements.txt @@ -2,4 +2,5 @@ openai==1.12.0 panel==1.3.8 ploomber-cloud wandb==0.16.3 -ipython \ No newline at end of file +numpy==1.26.4 +ipython From 8877b9f2ef795f7cf4a7863257a4e515f6b984e4 Mon Sep 17 00:00:00 2001 From: Latent Date: Thu, 3 Oct 2024 12:22:16 -0400 Subject: [PATCH 2/3] fix(mosaic): missing dependency | caused wrong binary to be install --- examples/voila/mosaic/requirements.txt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/examples/voila/mosaic/requirements.txt b/examples/voila/mosaic/requirements.txt index 351e8199..09d17ebf 100644 --- a/examples/voila/mosaic/requirements.txt +++ b/examples/voila/mosaic/requirements.txt @@ -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 From 3d56431890f2cfda098f5f78a7d22681d4acb4ee Mon Sep 17 00:00:00 2001 From: Latent Date: Thu, 3 Oct 2024 12:36:37 -0400 Subject: [PATCH 3/3] fix(mirascope): app need older version to work --- examples/streamlit/mirascope-url-extractor/app.py | 2 +- .../streamlit/mirascope-url-extractor/requirements.txt | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/examples/streamlit/mirascope-url-extractor/app.py b/examples/streamlit/mirascope-url-extractor/app.py index b9e27b54..cd6f4191 100644 --- a/examples/streamlit/mirascope-url-extractor/app.py +++ b/examples/streamlit/mirascope-url-extractor/app.py @@ -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 diff --git a/examples/streamlit/mirascope-url-extractor/requirements.txt b/examples/streamlit/mirascope-url-extractor/requirements.txt index dd04811e..6f3437d3 100644 --- a/examples/streamlit/mirascope-url-extractor/requirements.txt +++ b/examples/streamlit/mirascope-url-extractor/requirements.txt @@ -1,4 +1,5 @@ -mirascope[anthropic]>=0.9.0 -streamlit -pydantic-settings -beautifulsoup4 \ No newline at end of file +mirascope[anthropic]==0.9.1 +streamlit==1.33.0 +pydantic-settings==2.2.1 +beautifulsoup4==4.12.3 +anthropic==0.23.1