-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
196 lines (184 loc) · 6.53 KB
/
Copy pathtox.ini
File metadata and controls
196 lines (184 loc) · 6.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
[tox]
requires =
tox>=4.22
tox<5
env_list = py310, py311, py312, py313, py314
[testenv]
package = wheel
dependency_groups = dev
pass_env =
SERPAPI_API_KEY
SERPAPI_KEY
SERPAPI_LIVE_KEY_ARTIFACT
SERPAPI_WEEKLY
commands = {posargs:python -m pytest -q -m "not live and not integration and not openai_compat_llm"}
[testenv:clean-install]
base_python = 3.13
package = wheel
dependency_groups =
commands = python tests/clean_install_smoke.py
[testenv:live]
base_python = 3.14
package = wheel
dependency_groups = dev
commands = python -m pytest -q -m live tests/test_live.py
[testenv:integration-py{310,314}-{agno,autogen,claude-agent-sdk,haystack,langchain,llamaindex,microsoft-agent-framework,openai-agents,pydantic-ai,semantic-kernel,smolagents}]
base_python =
py310: 3.10
py314: 3.14
extras =
agno: agno
autogen: autogen
claude-agent-sdk: claude-agent-sdk
haystack: haystack
langchain: langchain
llamaindex: llamaindex
microsoft-agent-framework: microsoft-agent-framework
openai-agents: openai-agents
pydantic-ai: pydantic-ai
semantic-kernel: semantic-kernel
smolagents: smolagents
deps =
langchain: langchain-openai>=1.1.9,<2
llamaindex: llama-index-llms-openai>=0.6.26,<0.8
set_env =
agno: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = agno
autogen: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = autogen
claude-agent-sdk: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = claude-agent-sdk
haystack: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = haystack
langchain: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = langchain
llamaindex: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = llamaindex
microsoft-agent-framework: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = microsoft-agent-framework
openai-agents: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = openai-agents
pydantic-ai: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = pydantic-ai
semantic-kernel: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = semantic-kernel
smolagents: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = smolagents
commands = {posargs:python -m pytest -q -m integration tests/integration_agents}
[testenv:integration-py{310,314}-google-adk]
base_python =
py310: 3.10
py314: 3.14
extras = google-adk
deps =
py310: litellm>=1.84,<2,!=1.97.0
py310: orjson>=3.10,<4
set_env =
SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = google-adk
commands = {posargs:python -m pytest -q -m integration tests/integration_agents}
[testenv:integration-py{310,313}-crewai]
base_python =
py310: 3.10
py313: 3.13
extras = crewai: crewai
set_env =
SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = crewai
commands = {posargs:python -m pytest -q -m integration tests/integration_agents}
[testenv:integration-py313-langgraph]
base_python = 3.13
extras = langgraph: langgraph
deps = langchain-openai>=1.1.9,<2
set_env =
SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = langgraph
commands = {posargs:python -m pytest -q -m integration tests/integration_agents}
[testenv:latest-{agno,autogen,claude-agent-sdk,crewai,google-adk,haystack,langchain,langgraph,llamaindex,microsoft-agent-framework,openai-agents,pydantic-ai,semantic-kernel,smolagents}]
base_python = 3.13
deps =
agno: agno
agno: openai
autogen: autogen-agentchat
autogen: autogen-core
autogen: autogen-ext[openai]
claude-agent-sdk: claude-agent-sdk
crewai: crewai
google-adk: google-adk
google-adk: litellm
google-adk: orjson
haystack: haystack-ai
langchain: langchain
langchain: langchain-core
langchain: langchain-openai
langgraph: langchain
langgraph: langchain-core
langgraph: langchain-openai
langgraph: langgraph
llamaindex: llama-index-core
llamaindex: llama-index-llms-openai
microsoft-agent-framework: agent-framework-openai
openai-agents: openai-agents
pydantic-ai: pydantic-ai
semantic-kernel: openai
semantic-kernel: semantic-kernel
smolagents: openai
smolagents: smolagents
set_env =
agno: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = agno
autogen: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = autogen
claude-agent-sdk: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = claude-agent-sdk
crewai: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = crewai
google-adk: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = google-adk
haystack: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = haystack
langchain: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = langchain
langgraph: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = langgraph
llamaindex: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = llamaindex
microsoft-agent-framework: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = microsoft-agent-framework
openai-agents: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = openai-agents
pydantic-ai: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = pydantic-ai
semantic-kernel: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = semantic-kernel
smolagents: SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = smolagents
commands = {posargs:python -m pytest -q -m integration tests/integration_agents}
[testenv:openai-compat]
base_python = 3.13
extras = frameworks
dependency_groups =
dev
openai-compat
pass_env =
OPENAI_COMPAT_API_KEY
OPENAI_COMPAT_BASE_URL
OPENAI_COMPAT_MODEL
RUN_OPENAI_COMPAT_LLM_TESTS
SERPAPI_API_KEY
SERPAPI_KEY
commands = {posargs:python -m pytest -q -m openai_compat_llm tests/openai_compat_llm_tests}
[testenv:openai-compat-google-adk]
base_python = 3.13
extras = google-adk
deps =
litellm>=1.84,<2
orjson>=3.10,<4
pass_env =
OPENAI_COMPAT_API_KEY
OPENAI_COMPAT_BASE_URL
OPENAI_COMPAT_MODEL
RUN_OPENAI_COMPAT_LLM_TESTS
SERPAPI_API_KEY
SERPAPI_KEY
set_env =
SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = google-adk
commands = python -m pytest -q -m openai_compat_llm tests/openai_compat_llm_tests/test_provider_smoke.py
[testenv:openai-compat-microsoft-agent-framework]
base_python = 3.13
extras = microsoft-agent-framework
pass_env =
OPENAI_COMPAT_API_KEY
OPENAI_COMPAT_BASE_URL
OPENAI_COMPAT_MODEL
RUN_OPENAI_COMPAT_LLM_TESTS
SERPAPI_API_KEY
SERPAPI_KEY
set_env =
SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = microsoft-agent-framework
commands = python -m pytest -q -m openai_compat_llm tests/openai_compat_llm_tests/test_provider_smoke.py
[testenv:openai-compat-openai-agents]
base_python = 3.13
extras = openai-agents
pass_env =
OPENAI_COMPAT_API_KEY
OPENAI_COMPAT_BASE_URL
OPENAI_COMPAT_MODEL
RUN_OPENAI_COMPAT_LLM_TESTS
SERPAPI_API_KEY
SERPAPI_KEY
set_env =
SERPAPI_SEARCH_TOOL_REQUIRED_PROVIDER = openai-agents
commands = python -m pytest -q -m openai_compat_llm tests/openai_compat_llm_tests/test_provider_smoke.py