π OpenHands: AI-Driven Development
(fix) add Anthropic dependency for Vertex (#3506)
tobitege426f3b5fc0c4
diff --git a/poetry.lock b/poetry.lockindex 735864ec97..2bdaf83479 100644--- a/poetry.lock+++ b/poetry.lock@@ -167,6 +167,32 @@ files = [{file = "annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"},]+[[package]]+name = "anthropic"+version = "0.34.1"+description = "The official Python library for the anthropic API"+optional = false+python-versions = ">=3.7"+files = [+ {file = "anthropic-0.34.1-py3-none-any.whl", hash = "sha256:2fa26710809d0960d970f26cd0be3686437250a481edb95c33d837aa5fa24158"},+ {file = "anthropic-0.34.1.tar.gz", hash = "sha256:69e822bd7a31ec11c2edb85f2147e8f0ee0cfd3288fea70b0ca8808b2f9bf91d"},+]++[package.dependencies]+anyio = ">=3.5.0,<5"+distro = ">=1.7.0,<2"+google-auth = {version = ">=2,<3", optional = true, markers = "extra == \"vertex\""}+httpx = ">=0.23.0,<1"+jiter = ">=0.4.0,<1"+pydantic = ">=1.9.0,<3"+sniffio = "*"+tokenizers = ">=0.13.0"+typing-extensions = ">=4.7,<5"++[package.extras]+bedrock = ["boto3 (>=1.28.57)", "botocore (>=1.31.57)"]+vertex = ["google-auth (>=2,<3)"]+[[package]]name = "anyio"version = "4.4.0"@@ -5051,7 +5077,6 @@ description = "Nvidia JIT LTO Library"optional = falsepython-versions = ">=3"files = [- {file = "nvidia_nvjitlink_cu12-12.5.40-py3-none-manylinux2014_aarch64.whl", hash = "sha256:004186d5ea6a57758fd6d57052a123c73a4815adf365eb8dd6a85c9eaa7535ff"},{file = "nvidia_nvjitlink_cu12-12.5.40-py3-none-manylinux2014_x86_64.whl", hash = "sha256:d9714f27c1d0f0895cd8915c07a87a1d0029a0aa36acaf9156952ec2a8a12189"},{file = "nvidia_nvjitlink_cu12-12.5.40-py3-none-win_amd64.whl", hash = "sha256:c3401dc8543b52d3a8158007a0c1ab4e9c768fcbd24153a48c86972102197ddd"},]@@ -9227,4 +9252,4 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"][metadata]lock-version = "2.0"python-versions = "^3.11"-content-hash = "efd375d5346913a04cb6cd85c69f2672c4c226b931b5710556a70ba019dd0ef9"+content-hash = "735e7f5daab0e6165f0f749a345ee29306efc249714b9e92f71e662dec8b9760"diff --git a/pyproject.toml b/pyproject.tomlindex 1c6e46bb76..f098d6f52a 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -37,6 +37,7 @@ tenacity = "^8.5.0"zope-interface = "7.0.1"pathspec = "^0.12.1"google-cloud-aiplatform = "*"+anthropic = {extras = ["vertex"], version = "*"}grep-ast = "0.3.3"tree-sitter = "0.21.3"bashlex = "^0.18"@@ -76,7 +77,6 @@ reportlab = "*"[tool.coverage.run]concurrency = ["gevent"]-[tool.poetry.group.runtime.dependencies]jupyterlab = "*"notebook = "*"@@ -111,7 +111,6 @@ ignore = ["D1"][tool.ruff.lint.pydocstyle]convention = "google"-[tool.poetry.group.evaluation.dependencies]streamlit = "*"whatthepatch = "*"