Skip to content

Commit 2f3601c

Browse files
Cherry-picked pyproject deps to bump numpy to >2.1.0 for windows-python3.13 compatibiliyt
1 parent 7efe317 commit 2f3601c

File tree

2 files changed

+613
-390
lines changed

2 files changed

+613
-390
lines changed

pyproject.toml

Lines changed: 54 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -29,31 +29,30 @@ dependencies = [
2929
"qdrant-client==1.9.2",
3030
"weaviate-client==4.10.2",
3131
"faiss-cpu==1.9.0.post1",
32-
"types-cachetools==5.5.0.20240820",
32+
"types-cachetools>=5.5.0.20240820,<6.0.0",
3333
"pymongo==4.10.1",
3434
"supabase>=2.6.0,<3.0.0",
3535
"certifi>=2023.11.17,<2025.0.0",
36-
"certifi==2024.8.30",
3736
'fastavro==1.9.7; python_version < "3.13"',
38-
'fastavro>=1.9.8; python_version >= "3.13"',
39-
"redis>=5.2.1",
37+
'fastavro>=1.9.8,<2.0.0; python_version >= "3.13"',
38+
"redis>=5.2.1,<6.0.0",
4039
"metaphor-python==0.1.23",
4140
'pywin32==307; sys_platform == "win32"',
4241
"langfuse==2.53.9",
4342
"metal_sdk==2.5.1",
4443
"MarkupSafe==3.0.2",
45-
"boto3==1.34.162",
44+
"boto3>=1.34.162,<2.0.0",
4645
"numexpr==2.10.2",
4746
"qianfan==0.3.5",
4847
"pgvector==0.3.6",
4948
"langchain==0.3.23",
5049
"elasticsearch==8.16.0",
5150
"pytube==15.0.0",
5251
"dspy-ai==2.5.41",
53-
"datasets>2.14.7",
52+
"datasets>2.14.7,<4.0.0",
5453
"assemblyai==0.35.1",
5554
"litellm>=1.60.2,<2.0.0",
56-
"chromadb>=0.5.6,<0.6.0",
55+
"chromadb>=1.0.0,<2.0.0",
5756
"zep-python==2.0.2",
5857
"youtube-transcript-api==0.6.3",
5958
"Markdown==3.7",
@@ -66,8 +65,8 @@ dependencies = [
6665
"yfinance==0.2.50",
6766
"wolframalpha==5.1.3",
6867
"astra-assistants[tools]>=2.2.13,<3.0.0",
69-
"composio-langchain==0.8.5",
7068
"composio==0.8.5",
69+
"composio-langchain==0.8.5",
7170
"spider-client==0.1.24",
7271
"nltk==3.9.1",
7372
"lark==1.2.2",
@@ -79,60 +78,60 @@ dependencies = [
7978
"langchain-cohere==0.3.3",
8079
"langchain-huggingface==0.3.1",
8180
"langchain-anthropic==0.3.14",
82-
"langchain-astradb~=0.6.0",
83-
"langchain-openai>=0.2.12",
81+
"langchain-astradb>=0.6.1,<1.0.0",
82+
"langchain-openai>=0.2.12,<1.0.0",
8483
"langchain-google-vertexai>=2.0.7,<3.0.0",
8584
"langchain-groq==0.2.1",
86-
"langchain-pinecone>=0.2.8",
85+
"langchain-pinecone>=0.2.8,<1.0.0",
8786
"langchain-mistralai==0.2.3",
88-
"langchain-chroma>=0.1.4,<0.2.0",
89-
"langchain-aws==0.2.7",
87+
"langchain-chroma>=0.2.6,<1.0.0",
88+
"langchain-aws==0.2.33",
9089
"langchain-unstructured==0.1.5",
9190
"langchain-milvus==0.1.7",
92-
"langchain-mongodb==0.2.0",
91+
"langchain-mongodb==0.7.0",
9392
"langchain-nvidia-ai-endpoints==0.3.8",
9493
"langchain-google-calendar-tools==0.0.1",
9594
"langchain-google-community==2.0.3",
9695
"langchain-elasticsearch==0.3.0",
9796
"langchain-ollama==0.2.1",
9897
"langchain-sambanova==0.1.0",
99-
"langchain-community~=0.3.21",
98+
"langchain-community>=0.3.21,<1.0.0",
10099
"sqlalchemy[aiosqlite]>=2.0.38,<3.0.0",
101100
"atlassian-python-api==3.41.16",
102101
"mem0ai==0.1.34",
103-
"needle-python>=0.4.0",
102+
"needle-python>=0.4.0,<1.0.0",
104103
"aiofile>=3.9.0,<4.0.0",
105104
"sseclient-py==1.8.0",
106-
"arize-phoenix-otel>=0.6.1",
107-
"openinference-instrumentation-langchain>=0.1.29",
105+
"arize-phoenix-otel>=0.6.1,<1.0.0",
106+
"openinference-instrumentation-langchain>=0.1.29,<0.1.52",
108107
# "crewai>=0.126.0",
109-
"mcp>=1.10.1",
108+
"mcp>=1.10.1,<2.0.0",
110109
"uv==0.7.20",
111-
"scipy>=1.14.1",
112-
"scrapegraph-py>=1.12.0",
113-
"pydantic-ai>=0.0.19",
114-
"smolagents>=1.8.0",
115-
"apify-client>=1.8.1",
116-
"langchain-graph-retriever==0.6.1",
117-
"graph-retriever==0.6.1",
118-
"ibm-watsonx-ai>=1.3.1",
110+
"scipy>=1.14.1,<1.16.2",
111+
"scrapegraph-py>=1.12.0,<2.0.0",
112+
"pydantic-ai>=0.0.19,<1.0.0",
113+
"smolagents>=1.8.0,<2.0.0",
114+
"apify-client>=1.8.1,<2.0.0",
115+
"langchain-graph-retriever==0.8.0",
116+
"graph-retriever==0.8.0",
117+
"ibm-watsonx-ai>=1.3.1,<2.0.0",
119118
"langchain-ibm>=0.3.8",
120-
"opik>=1.6.3",
121-
"openai>=1.68.2",
122-
"cleanlab-tlm>=1.1.2",
119+
"opik>=1.6.3,<2.0.0",
120+
"openai>=1.68.2,<2.0.0",
121+
"cleanlab-tlm>=1.1.2,<2.0.0",
123122
'gassist>=0.0.1; sys_platform == "win32"',
124-
"twelvelabs>=0.4.7",
123+
"twelvelabs>=0.4.7,<1.0.0",
124+
"filelock>=3.18.0,<4.0.0",
125+
"jigsawstack==0.2.7",
126+
"structlog>=25.4.0,<26.0.0",
127+
"cryptography>=43.0.1,<44.0.0",
128+
"aiosqlite==0.21.0",
129+
"fastparquet>=2024.11.0,<2025.0.0",
130+
"traceloop-sdk>=0.43.1,<1.0.0",
125131
"docling_core>=2.36.1",
126132
"docling>=2.36.1; sys_platform != 'darwin' or platform_machine != 'x86_64'",
127133
"easyocr>=1.7.2; sys_platform != 'darwin' or platform_machine != 'x86_64'",
128134
"opencv-python>=4.11; sys_platform != 'darwin' or platform_machine != 'x86_64'",
129-
"transformers~=4.56.1",
130-
"filelock>=3.18.0",
131-
"jigsawstack==0.2.7",
132-
"structlog>=25.4.0",
133-
"aiosqlite==0.21.0",
134-
"fastparquet>=2024.11.0",
135-
"traceloop-sdk>=0.43.1",
136135
]
137136

138137
[dependency-groups]
@@ -190,7 +189,10 @@ langflow-base = { workspace = true }
190189
langflow = { workspace = true }
191190

192191
[tool.uv.workspace]
193-
members = ["src/backend/base", "."]
192+
members = [
193+
"src/backend/base",
194+
".",
195+
]
194196

195197
[tool.hatch.build.targets.wheel]
196198
packages = ["src/backend/langflow"]
@@ -201,7 +203,7 @@ Documentation = "https://docs.langflow.org"
201203

202204
[project.optional-dependencies]
203205
docling = [
204-
"docling>=2.36.1",
206+
"docling>=2.36.1,<3.0.0",
205207
"tesserocr>=2.8.0",
206208
"rapidocr-onnxruntime>=1.4.4",
207209
"ocrmac>=1.0.0; sys_platform == 'darwin'",
@@ -243,7 +245,7 @@ postgresql = [
243245
[tool.uv]
244246
override-dependencies = [
245247
# temporary force a newer python-pptx
246-
"python-pptx>=1.0.2",
248+
"python-pptx>=1.0.2"
247249
]
248250

249251
[project.scripts]
@@ -265,7 +267,15 @@ filterwarnings = ["ignore::DeprecationWarning", "ignore::ResourceWarning"]
265267
log_cli = true
266268
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
267269
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
268-
markers = ["async_test", "api_key_required", "no_blockbuster", "benchmark"]
270+
markers = [
271+
"async_test",
272+
"api_key_required",
273+
"no_blockbuster",
274+
"benchmark",
275+
"unit: Unit tests",
276+
"integration: Integration tests",
277+
"slow: Slow-running tests"
278+
]
269279
asyncio_mode = "auto"
270280
asyncio_default_fixture_loop_scope = "function"
271281
addopts = "-p no:benchmark"
@@ -315,7 +325,7 @@ ignore = [
315325
"D10", # Missing docstrings
316326
"PLW1641", # Object does not implement `__hash__` method (mutable objects shouldn't be hashable)
317327
# Rules that are TODOs
318-
"ANN",
328+
"ANN"
319329
]
320330

321331
# Preview rules that are not yet activated
@@ -346,3 +356,4 @@ ignore_missing_imports = true
346356
[build-system]
347357
requires = ["hatchling"]
348358
build-backend = "hatchling.build"
359+

0 commit comments

Comments
 (0)