From 057377cbb411a01d1e89ba7157727209b351d03c Mon Sep 17 00:00:00 2001 From: miguel Date: Wed, 4 Jun 2025 11:52:13 -0700 Subject: [PATCH 1/5] fix dependencies in package --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7080ba31..44431753 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,9 @@ dependencies = [ "playwright>=1.42.1", "requests>=2.31.0", "browserbase>=1.4.0", + "rich">=14.0.0, + "openai">="1.83.0", + "anthropic">="0.51.0", ] [project.optional-dependencies] @@ -36,7 +39,6 @@ dev = [ "isort>=5.12.0", "mypy>=1.3.0", "ruff", - "rich", # Useful for development/debugging ] [project.urls] From 6ecbb6e42db320e65bec89eab238a0f99cfd3d48 Mon Sep 17 00:00:00 2001 From: miguel Date: Wed, 4 Jun 2025 11:56:21 -0700 Subject: [PATCH 2/5] fix dependencies --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 44431753..fe0ca294 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,9 +24,9 @@ dependencies = [ "playwright>=1.42.1", "requests>=2.31.0", "browserbase>=1.4.0", - "rich">=14.0.0, - "openai">="1.83.0", - "anthropic">="0.51.0", + "rich>=14.0.0", + "openai>=1.83.0", + "anthropic>=0.51.0", ] [project.optional-dependencies] From fa565d3236c5eb7fa1096a74955890a7d96abe9e Mon Sep 17 00:00:00 2001 From: miguel Date: Wed, 4 Jun 2025 12:02:37 -0700 Subject: [PATCH 3/5] fix package setup --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fe0ca294..7894b7d2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,11 @@ Homepage = "https://github.com/browserbase/stagehand-python" Repository = "https://github.com/browserbase/stagehand-python" [tool.setuptools] -packages = ["stagehand"] +packages = [] + +[tool.setuptools.packages.find] +where = ["."] +include = ["stagehand*"] [tool.setuptools.package-data] stagehand = ["domScripts.js"] From 83bb87769958c61c0b050d67f997018912ccb36e Mon Sep 17 00:00:00 2001 From: miguel Date: Wed, 4 Jun 2025 12:06:51 -0700 Subject: [PATCH 4/5] fix setuptools --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7894b7d2..616c326c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ Homepage = "https://github.com/browserbase/stagehand-python" Repository = "https://github.com/browserbase/stagehand-python" [tool.setuptools] -packages = [] +# Omit explicit package list so we can use the nested `.packages.find` table below. [tool.setuptools.packages.find] where = ["."] From 035dc3af477f1def93df7dce8b76f09136459dc4 Mon Sep 17 00:00:00 2001 From: miguel Date: Wed, 4 Jun 2025 12:11:32 -0700 Subject: [PATCH 5/5] add litellm dep --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 616c326c..d6553350 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ dependencies = [ "rich>=14.0.0", "openai>=1.83.0", "anthropic>=0.51.0", + "litellm>=1.72.0", ] [project.optional-dependencies]