Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

chore: relax numpy versions (#2438)

JINO ROHITaef2ea7e8878
diff --git a/pyproject.toml b/pyproject.toml
index 92a938a3c..c09f1590b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -67,7 +67,7 @@ docs = [
"sphinxext-rediraffe>=0.2.7,<0.3",
]
rag = [
- "numpy~=1.26",
+ "numpy>=1.2,<=2.2",
"sentence-transformers>=3.0.1,<4",
"qdrant-client>=1.9.0,<2",
"pymilvus>=2.4.0,<3",
@@ -107,7 +107,7 @@ web_tools = [
"scrapegraph-py>=1.12.0,<2",
]
document_tools = [
- "numpy~=1.26",
+ "numpy>=1.2,<=2.2",
"beautifulsoup4>=4,<5",
"docx2txt>=0.8,<0.9",
"PyMuPDF>=1.22.5,<2",
@@ -141,7 +141,7 @@ communication_tools = [
"praw>=7.7.1,<8",
]
data_tools = [
- "numpy~=1.26",
+ "numpy>=1.2,<=2.2",
"pandas>=1.5.3,<2",
"textblob>=0.17.1,<0.18",
"datacommons>=1.4.3,<2",
@@ -203,7 +203,7 @@ storage = [
"pyobvector>=0.1.18",
]
owl = [
- "numpy~=1.26",
+ "numpy>=1.2,<=2.2",
"chunkr-ai>=0.0.41",
"mcp-simple-arxiv==0.2.2",
"mcp-server-fetch==2025.1.17",
@@ -250,7 +250,7 @@ owl = [
"aci-sdk>=1.0.0b1",
]
all = [
- "numpy~=1.26",
+ "numpy>=1.2,<=2.2",
"transformers>=4,<5",
"diffusers>=0.25.0,<0.26",
"accelerate>=0.26.0,<0.27",
diff --git a/uv.lock b/uv.lock
index 1b6606d5e..be1b6981b 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1049,11 +1049,11 @@ requires-dist = [
{ name = "newspaper3k", marker = "extra == 'web-tools'", specifier = ">=0.2.8,<0.3" },
{ name = "notion-client", marker = "extra == 'all'", specifier = ">=2.2.1,<3" },
{ name = "notion-client", marker = "extra == 'communication-tools'", specifier = ">=2.2.1,<3" },
- { name = "numpy", marker = "extra == 'all'", specifier = "~=1.26" },
- { name = "numpy", marker = "extra == 'data-tools'", specifier = "~=1.26" },
- { name = "numpy", marker = "extra == 'document-tools'", specifier = "~=1.26" },
- { name = "numpy", marker = "extra == 'owl'", specifier = "~=1.26" },
- { name = "numpy", marker = "extra == 'rag'", specifier = "~=1.26" },
+ { name = "numpy", marker = "extra == 'all'", specifier = ">=1.2,<=2.2" },
+ { name = "numpy", marker = "extra == 'data-tools'", specifier = ">=1.2,<=2.2" },
+ { name = "numpy", marker = "extra == 'document-tools'", specifier = ">=1.2,<=2.2" },
+ { name = "numpy", marker = "extra == 'owl'", specifier = ">=1.2,<=2.2" },
+ { name = "numpy", marker = "extra == 'rag'", specifier = ">=1.2,<=2.2" },
{ name = "openai", specifier = ">=1.68.0,<2" },
{ name = "openapi-spec-validator", marker = "extra == 'all'", specifier = ">=0.7.1,<0.8" },
{ name = "openapi-spec-validator", marker = "extra == 'document-tools'", specifier = ">=0.7.1,<0.8" },