π OpenHands: AI-Driven Development
Pin OpenAI Python SDK to 1.99.9 to avoid LiteLLM import breakage (BerriAI/litellm#13711) (#10471)
Xingyao Wangbaf2cc5c7ec8
diff --git a/poetry.lock b/poetry.lockindex 4a4de30f7e..2fd83fac16 100644--- a/poetry.lock+++ b/poetry.lock@@ -208,7 +208,7 @@ version = "0.7.0"description = "Reusable constraint types to use with typing.Annotated"optional = falsepython-versions = ">=3.8"-groups = ["main", "evaluation", "test"]+groups = ["main", "evaluation"]files = [{file = "annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53"},{file = "annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"},@@ -247,7 +247,7 @@ version = "4.9.0"description = "High level compatibility layer for multiple asynchronous event loop implementations"optional = falsepython-versions = ">=3.9"-groups = ["main", "evaluation", "runtime", "test"]+groups = ["main", "evaluation", "runtime"]files = [{file = "anyio-4.9.0-py3-none-any.whl", hash = "sha256:9f76d541cad6e36af7beb62e978876f3b41e3e04f2c1fbf0884604c0a9c4d93c"},{file = "anyio-4.9.0.tar.gz", hash = "sha256:673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028"},@@ -1592,7 +1592,7 @@ files = [{file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"},{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},]-markers = {main = "platform_system == \"Windows\" or os_name == \"nt\" or sys_platform == \"win32\"", dev = "os_name == \"nt\" or sys_platform == \"win32\"", runtime = "sys_platform == \"win32\"", test = "platform_system == \"Windows\" or sys_platform == \"win32\""}+markers = {main = "platform_system == \"Windows\" or os_name == \"nt\" or sys_platform == \"win32\"", dev = "os_name == \"nt\" or sys_platform == \"win32\"", runtime = "sys_platform == \"win32\"", test = "sys_platform == \"win32\""}[[package]]name = "comm"@@ -2135,7 +2135,7 @@ version = "1.9.0"description = "Distro - an OS platform information API"optional = falsepython-versions = ">=3.6"-groups = ["main", "evaluation", "test"]+groups = ["main", "evaluation"]files = [{file = "distro-1.9.0-py3-none-any.whl", hash = "sha256:7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2"},{file = "distro-1.9.0.tar.gz", hash = "sha256:2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed"},@@ -3637,7 +3637,7 @@ version = "0.16.0"description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"optional = falsepython-versions = ">=3.8"-groups = ["main", "evaluation", "runtime", "test"]+groups = ["main", "evaluation", "runtime"]files = [{file = "h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86"},{file = "h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1"},@@ -3713,7 +3713,7 @@ version = "1.0.9"description = "A minimal low-level HTTP client."optional = falsepython-versions = ">=3.8"-groups = ["main", "evaluation", "runtime", "test"]+groups = ["main", "evaluation", "runtime"]files = [{file = "httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55"},{file = "httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8"},@@ -3750,7 +3750,7 @@ version = "0.28.1"description = "The next generation HTTP client."optional = falsepython-versions = ">=3.8"-groups = ["main", "evaluation", "runtime", "test"]+groups = ["main", "evaluation", "runtime"]files = [{file = "httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad"},{file = "httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc"},@@ -4206,7 +4206,7 @@ version = "0.10.0"description = "Fast iterable JSON parser."optional = falsepython-versions = ">=3.9"-groups = ["main", "evaluation", "test"]+groups = ["main", "evaluation"]files = [{file = "jiter-0.10.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:cd2fb72b02478f06a900a5782de2ef47e0396b3e1f7d5aba30daeb1fce66f303"},{file = "jiter-0.10.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:32bb468e3af278f095d3fa5b90314728a6916d89ba3d0ffb726dd9bf7367285e"},@@ -6515,14 +6515,14 @@ typing-extensions = {version = "*", markers = "python_full_version < \"3.13.0\""[[package]]name = "openai"-version = "1.97.1"+version = "1.99.9"description = "The official Python library for the openai API"optional = falsepython-versions = ">=3.8"-groups = ["main", "evaluation", "test"]+groups = ["main", "evaluation"]files = [- {file = "openai-1.97.1-py3-none-any.whl", hash = "sha256:4e96bbdf672ec3d44968c9ea39d2c375891db1acc1794668d8149d5fa6000606"},- {file = "openai-1.97.1.tar.gz", hash = "sha256:a744b27ae624e3d4135225da9b1c89c107a2a7e5bc4c93e5b7b5214772ce7a4e"},+ {file = "openai-1.99.9-py3-none-any.whl", hash = "sha256:9dbcdb425553bae1ac5d947147bebbd630d91bbfc7788394d4c4f3a35682ab3a"},+ {file = "openai-1.99.9.tar.gz", hash = "sha256:f2082d155b1ad22e83247c3de3958eb4255b20ccf4a1de2e6681b6957b554e92"},][package.dependencies]@@ -7546,7 +7546,7 @@ version = "2.11.5"description = "Data validation using Python type hints"optional = falsepython-versions = ">=3.9"-groups = ["main", "evaluation", "test"]+groups = ["main", "evaluation"]files = [{file = "pydantic-2.11.5-py3-none-any.whl", hash = "sha256:f9c26ba06f9747749ca1e5c94d6a85cb84254577553c8785576fd38fa64dc0f7"},{file = "pydantic-2.11.5.tar.gz", hash = "sha256:7f853db3d0ce78ce8bbb148c401c2cdd6431b3473c0cdff2755c7690952a7b7a"},@@ -7568,7 +7568,7 @@ version = "2.33.2"description = "Core functionality for Pydantic validation and serialization"optional = falsepython-versions = ">=3.9"-groups = ["main", "evaluation", "test"]+groups = ["main", "evaluation"]files = [{file = "pydantic_core-2.33.2-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:2b3d326aaef0c0399d9afffeb6367d5e26ddc24d351dbc9c636840ac355dc5d8"},{file = "pydantic_core-2.33.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0e5b2671f05ba48b94cb90ce55d8bdcaaedb8ba00cc5359f6810fc918713983d"},@@ -9587,7 +9587,7 @@ version = "1.3.1"description = "Sniff out which async library your code is running under"optional = falsepython-versions = ">=3.7"-groups = ["main", "evaluation", "runtime", "test"]+groups = ["main", "evaluation", "runtime"]files = [{file = "sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2"},{file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"},@@ -10214,7 +10214,7 @@ version = "4.67.1"description = "Fast, Extensible Progress Meter"optional = falsepython-versions = ">=3.7"-groups = ["main", "evaluation", "test"]+groups = ["main", "evaluation"]files = [{file = "tqdm-4.67.1-py3-none-any.whl", hash = "sha256:26445eca388f82e72884e0d580d5464cd801a3ea01e63e5601bdff9ba6a48de2"},{file = "tqdm-4.67.1.tar.gz", hash = "sha256:f8aef9c52c08c13a65f30ea34f4e5aac3fd1a34959879d7e59e63027286627f2"},@@ -10670,7 +10670,7 @@ version = "0.4.1"description = "Runtime typing introspection tools"optional = falsepython-versions = ">=3.9"-groups = ["main", "evaluation", "test"]+groups = ["main", "evaluation"]files = [{file = "typing_inspection-0.4.1-py3-none-any.whl", hash = "sha256:389055682238f53b04f7badcb49b989835495a96700ced5dab2d8feae4b26f51"},{file = "typing_inspection-0.4.1.tar.gz", hash = "sha256:6ae134cc0203c33377d43188d4064e9b357dba58cff3185f22924610e70a9d28"},@@ -11878,4 +11878,4 @@ third-party-runtimes = ["daytona", "e2b", "modal", "runloop-api-client"][metadata]lock-version = "2.1"python-versions = "^3.12,<3.14"-content-hash = "dbcab8224ee537e465f51c5170d8c19e749236c7ba01268f459140c95266afd7"+content-hash = "6dacf40441269b9e00d5d37c2dc034c725d77c2eb88118c0a36bf54d76d076ec"diff --git a/pyproject.toml b/pyproject.tomlindex ab696407ae..b2965100b2 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -27,6 +27,7 @@ build = "build_vscode.py" # Build VSCode extension during Poetry build[tool.poetry.dependencies]python = "^3.12,<3.14"litellm = "^1.74.3, !=1.64.4, !=1.67.*" # avoid 1.64.4 (known bug) & 1.67.* (known bug #10272)+openai = "1.99.9" # Pin due to litellm incompatibility with >=1.100.0 (BerriAI/litellm#13711)aiohttp = ">=3.9.0,!=3.11.13" # Pin to avoid yanked version 3.11.13google-generativeai = "*" # To use litellm with Gemini Pro APIgoogle-api-python-client = "^2.164.0" # For Google Sheets API@@ -128,7 +129,6 @@ pytest-forked = "*"pytest-xdist = "*"pytest-playwright = "^0.7.0"pytest-timeout = "^2.4.0"-openai = "*"pandas = "*"reportlab = "*"gevent = ">=24.2.1,<26.0.0"