Skip to content

Commit dde9f4c

Browse files
committed
Checkout dependencies from tinker
1 parent aab9765 commit dde9f4c

File tree

2 files changed

+3046
-1311
lines changed

2 files changed

+3046
-1311
lines changed

pyproject.toml

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,12 @@ experiment = [
6363
]
6464

6565
core-legacy = [
66-
"agentops<=0.4.18"
66+
"agentops<=0.4.18",
67+
"openai<2.0.0",
6768
]
6869
core-stable = [
69-
"agentops>=0.4.21"
70+
"agentops>=0.4.21",
71+
"openai>=2.0.0",
7072
]
7173

7274
# For PyTorch.
@@ -134,6 +136,13 @@ trl = [
134136
"vllm",
135137
]
136138

139+
# For Tinker integration.
140+
tinker = [
141+
{include-group = "torch-stable"},
142+
"tinker",
143+
"tinker_cookbook",
144+
]
145+
137146
# Agent-related dependencies.
138147
autogen = [
139148
"autogen-agentchat",
@@ -160,6 +169,9 @@ sql = [
160169
"sqlparse",
161170
"nltk",
162171
]
172+
crewai = [
173+
"crewai[tools]>=1.2.0",
174+
]
163175

164176
# Summarize into large installable groups.
165177
agents = [
@@ -168,6 +180,7 @@ agents = [
168180
{include-group = "langchain"},
169181
{include-group = "sql"},
170182
{include-group = "anthropic"},
183+
{include-group = "crewai"},
171184
]
172185

173186
[tool.uv]
@@ -189,15 +202,25 @@ environments = [
189202
"sys_platform == 'linux'",
190203
]
191204
dependency-metadata = [
205+
# Patch the dependencies of instructor to unpin "openai".
206+
# This might be unnecessary if instructor upgrades.
207+
{ name = "instructor", version = "1.11.3", requires-dist = ["openai", "pydantic", "docstring-parser", "typer", "rich", "aiohttp", "tenacity", "pydantic-core", "jiter", "jinja2", "requests", "diskcache"] },
208+
]
209+
210+
override-dependencies = [
211+
# A conflict between the dependency of litellm[proxy] and crewai[tools]
212+
"mcp>=1.19.0",
213+
"uvicorn>=0.38.0",
192214
# Conflicts between packaging dependency of pyvers (dependency of tensordict) and agentops.
193-
{ name = "pyvers", version = "0.1.0", requires-dist = ["packaging>=24.0"] },
215+
"packaging>=24.0",
194216
]
195217

196218
[tool.uv.sources]
197219
torch = [
198220
{ index = "pytorch-cu128", group = "torch-cu128" },
199221
{ index = "pytorch-cpu", group = "torch-cpu" },
200222
]
223+
tinker_cookbook = { git = "https://github.com/thinking-machines-lab/tinker-cookbook", rev = "72ba5e6a1f52c0887e2674615e318ce21a39cc2a" }
201224

202225
[[tool.uv.index]]
203226
name = "pypi"
@@ -216,6 +239,9 @@ flash-attn = [
216239
{ requirement = "torch", match-runtime = true },
217240
]
218241

242+
[tool.uv.dependency-groups]
243+
tinker = {requires-python = ">=3.11"}
244+
219245
[build-system]
220246
requires = ["hatchling"]
221247
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)