π OpenHands: AI-Driven Development
e2b take two (#5433)
Engel Nystf4ee3a4cb626
diff --git a/openhands/runtime/impl/e2b/sandbox.py b/openhands/runtime/impl/e2b/sandbox.pyindex d145dac351..9bcd0f0514 100644--- a/openhands/runtime/impl/e2b/sandbox.py+++ b/openhands/runtime/impl/e2b/sandbox.py@@ -4,7 +4,7 @@ import tarfilefrom glob import globfrom e2b import Sandbox as E2BSandbox-from e2b.sandbox.exception import TimeoutException+from e2b.exceptions import TimeoutExceptionfrom openhands.core.config import SandboxConfigfrom openhands.core.logger import openhands_logger as loggerdiff --git a/poetry.lock b/poetry.lockindex 8b6b188c7c..63989c9546 100644--- a/poetry.lock+++ b/poetry.lock@@ -1,16 +1,4 @@-# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand.--[[package]]-name = "aenum"-version = "3.1.15"-description = "Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants"-optional = false-python-versions = "*"-files = [- {file = "aenum-3.1.15-py2-none-any.whl", hash = "sha256:27b1710b9d084de6e2e695dab78fe9f269de924b51ae2850170ee7e1ca6288a5"},- {file = "aenum-3.1.15-py3-none-any.whl", hash = "sha256:e0dfaeea4c2bd362144b87377e2c61d91958c5ed0b4daf89cb6f45ae23af6288"},- {file = "aenum-3.1.15.tar.gz", hash = "sha256:8cbd76cd18c4f870ff39b24284d3ea028fbe8731a58df3aa581e434c575b9559"},-]+# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand.[[package]]name = "aiohappyeyeballs"@@ -1550,25 +1538,23 @@ files = [[[package]]name = "e2b"-version = "0.17.1"+version = "1.0.5"description = "E2B SDK that give agents cloud environments"optional = falsepython-versions = "<4.0,>=3.8"files = [- {file = "e2b-0.17.1-py3-none-any.whl", hash = "sha256:c0698fd03b639f4dd88eed167a98af4d450668c0ae9805122a98f62f36f2491f"},- {file = "e2b-0.17.1.tar.gz", hash = "sha256:9e69a059cb73334bac7db189287552af9321fb3ac8ced52557907e10c4310733"},+ {file = "e2b-1.0.5-py3-none-any.whl", hash = "sha256:a71bdec46f33d3e38e87d475d7fd2939bd7b6b753b819c9639ca211cd375b79e"},+ {file = "e2b-1.0.5.tar.gz", hash = "sha256:43c82705af7b7d4415c2510ff77dab4dc075351e0b769d6adf8e0d7bb4868d13"},][package.dependencies]-aenum = ">=3.1.11"-aiohttp = ">=3.8.4"-jsonrpcclient = ">=4.0.3"-pydantic = "*"+attrs = ">=23.2.0"+httpcore = ">=1.0.5,<2.0.0"+httpx = ">=0.27.0,<1.0.0"+packaging = ">=24.1"+protobuf = ">=3.20.0,<6.0.0"python-dateutil = ">=2.8.2"-requests = ">=2.31.0"-typing-extensions = ">=4.8.0"-urllib3 = ">=1.25.3"-websockets = ">=11.0.3"+typing-extensions = ">=4.1.0"[[package]]name = "evaluate"@@ -3304,19 +3290,6 @@ files = [{file = "jsonpointer-3.0.0.tar.gz", hash = "sha256:2b2d729f2091522d61c3b31f82e11870f60b68f43fbc705cb76bf4b832af59ef"},]-[[package]]-name = "jsonrpcclient"-version = "4.0.3"-description = "Send JSON-RPC requests"-optional = false-python-versions = ">=3.6"-files = [- {file = "jsonrpcclient-4.0.3-py3-none-any.whl", hash = "sha256:3cbb9e27e1be29821becf135ea183144a836215422727e1ffe5056a49a670f0d"},-]--[package.extras]-qa = ["pytest", "pytest-cov", "tox"]-[[package]]name = "jsonschema"version = "4.23.0"@@ -10087,4 +10060,4 @@ testing = ["coverage[toml]", "zope.event", "zope.testing"][metadata]lock-version = "2.0"python-versions = "^3.12"-content-hash = "1b42dcc42b1dae014b1951246781a850c95ce2d6fdaab45f8b62f5a04ebd5e53"+content-hash = "ff3daee70a197e3f6ff460bd1e14be7ed443a100805947ee18df7afb7d898584"diff --git a/pyproject.toml b/pyproject.tomlindex 576c27d6dc..fe65ba79f3 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -30,7 +30,7 @@ numpy = "*"json-repair = "*"browsergym-core = "0.10.2" # integrate browsergym-core as the browsing interfacehtml2text = "*"-e2b = ">=0.17.1,<1.1.0"+e2b = ">=1.0.5,<1.1.0"pexpect = "*"jinja2 = "^3.1.3"python-multipart = "*"