Skip to content

Commit b9f3357

Browse files
committed
Merge branch 'master' into constantinius/feat/integration/pydantic-ai
2 parents 1a2cb97 + f8b9069 commit b9f3357

File tree

5 files changed

+62
-50
lines changed

5 files changed

+62
-50
lines changed

.github/workflows/test-integrations-ai.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ jobs:
5858
run: |
5959
set -x # print commands that are executed
6060
./scripts/runtox.sh "py${{ matrix.python-version }}-cohere"
61+
- name: Test google_genai
62+
run: |
63+
set -x # print commands that are executed
64+
./scripts/runtox.sh "py${{ matrix.python-version }}-google_genai"
65+
- name: Test huggingface_hub
66+
run: |
67+
set -x # print commands that are executed
68+
./scripts/runtox.sh "py${{ matrix.python-version }}-huggingface_hub"
6169
- name: Test langchain-base
6270
run: |
6371
set -x # print commands that are executed
@@ -66,6 +74,10 @@ jobs:
6674
run: |
6775
set -x # print commands that are executed
6876
./scripts/runtox.sh "py${{ matrix.python-version }}-langchain-notiktoken"
77+
- name: Test langgraph
78+
run: |
79+
set -x # print commands that are executed
80+
./scripts/runtox.sh "py${{ matrix.python-version }}-langgraph"
6981
- name: Test litellm
7082
run: |
7183
set -x # print commands that are executed
@@ -78,22 +90,10 @@ jobs:
7890
run: |
7991
set -x # print commands that are executed
8092
./scripts/runtox.sh "py${{ matrix.python-version }}-openai-notiktoken"
81-
- name: Test langgraph
82-
run: |
83-
set -x # print commands that are executed
84-
./scripts/runtox.sh "py${{ matrix.python-version }}-langgraph"
85-
- name: Test google_genai
86-
run: |
87-
set -x # print commands that are executed
88-
./scripts/runtox.sh "py${{ matrix.python-version }}-google_genai"
8993
- name: Test openai_agents
9094
run: |
9195
set -x # print commands that are executed
9296
./scripts/runtox.sh "py${{ matrix.python-version }}-openai_agents"
93-
- name: Test huggingface_hub
94-
run: |
95-
set -x # print commands that are executed
96-
./scripts/runtox.sh "py${{ matrix.python-version }}-huggingface_hub"
9797
- name: Test pydantic_ai
9898
run: |
9999
set -x # print commands that are executed

scripts/populate_tox/config.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,10 @@
240240
"*": ["pytest-asyncio", "tiktoken"],
241241
"<1.55": ["httpx<0.28"],
242242
},
243-
"python": ">=3.8",
243+
"python": {
244+
">0.0,<2.3": ">=3.8",
245+
">=2.3": ">=3.9",
246+
},
244247
},
245248
"openai-notiktoken": {
246249
"package": "openai",
@@ -249,7 +252,10 @@
249252
"*": ["pytest-asyncio"],
250253
"<1.55": ["httpx<0.28"],
251254
},
252-
"python": ">=3.8",
255+
"python": {
256+
">0.0,<2.3": ">=3.8",
257+
">=2.3": ">=3.9",
258+
},
253259
},
254260
"openai_agents": {
255261
"package": "openai-agents",

scripts/populate_tox/releases.jsonl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,12 @@
114114
{"info": {"classifiers": ["Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Internet", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed"], "name": "litestar", "requires_python": "<4.0,>=3.8", "version": "2.6.4", "yanked": false}}
115115
{"info": {"classifiers": ["Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: System :: Logging"], "name": "loguru", "requires_python": "<4.0,>=3.5", "version": "0.7.3", "yanked": false}}
116116
{"info": {"classifiers": ["Intended Audience :: Developers", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed"], "name": "openai", "requires_python": ">=3.7.1", "version": "1.0.1", "yanked": false}}
117+
{"info": {"classifiers": ["Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed"], "name": "openai", "requires_python": ">=3.8", "version": "1.100.2", "yanked": false}}
118+
{"info": {"classifiers": ["Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed"], "name": "openai", "requires_python": ">=3.8", "version": "1.107.3", "yanked": false}}
117119
{"info": {"classifiers": ["Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed"], "name": "openai", "requires_python": ">=3.8", "version": "1.109.1", "yanked": false}}
120+
{"info": {"classifiers": ["Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed"], "name": "openai", "requires_python": ">=3.8", "version": "1.57.4", "yanked": false}}
121+
{"info": {"classifiers": ["Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed"], "name": "openai", "requires_python": ">=3.8", "version": "1.86.0", "yanked": false}}
122+
{"info": {"classifiers": ["Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed"], "name": "openai", "requires_python": ">=3.8", "version": "2.1.0", "yanked": false}}
118123
{"info": {"classifiers": ["Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed"], "name": "openai", "requires_python": ">=3.8", "version": "2.3.0", "yanked": false}}
119124
{"info": {"classifiers": ["Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.9", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed"], "name": "openai-agents", "requires_python": ">=3.9", "version": "0.0.19", "yanked": false}}
120125
{"info": {"classifiers": ["Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.9", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed"], "name": "openai-agents", "requires_python": ">=3.9", "version": "0.1.0", "yanked": false}}

scripts/split_tox_gh_actions/split_tox_gh_actions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@
7272
"AI": [
7373
"anthropic",
7474
"cohere",
75+
"google_genai",
76+
"huggingface_hub",
7577
"langchain-base",
7678
"langchain-notiktoken",
79+
"langgraph",
7780
"litellm",
7881
"openai-base",
7982
"openai-notiktoken",
80-
"langgraph",
81-
"google_genai",
8283
"openai_agents",
83-
"huggingface_hub",
8484
"pydantic_ai",
8585
],
8686
"Cloud": [

tox.ini

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@ envlist =
5757
{py3.9,py3.11,py3.12}-cohere-v5.13.12
5858
{py3.9,py3.11,py3.12}-cohere-v5.18.0
5959

60+
{py3.9,py3.12,py3.13}-google_genai-v1.29.0
61+
{py3.9,py3.12,py3.13}-google_genai-v1.33.0
62+
{py3.9,py3.12,py3.13}-google_genai-v1.37.0
63+
{py3.9,py3.12,py3.13}-google_genai-v1.42.0
64+
65+
{py3.8,py3.10,py3.11}-huggingface_hub-v0.24.7
66+
{py3.8,py3.12,py3.13}-huggingface_hub-v0.28.1
67+
{py3.8,py3.12,py3.13}-huggingface_hub-v0.32.6
68+
{py3.8,py3.12,py3.13}-huggingface_hub-v0.35.3
69+
{py3.9,py3.12,py3.13}-huggingface_hub-v1.0.0rc5
70+
6071
{py3.9,py3.11,py3.12}-langchain-base-v0.1.20
6172
{py3.9,py3.11,py3.12}-langchain-base-v0.2.17
6273
{py3.9,py3.12,py3.13}-langchain-base-v0.3.27
@@ -65,35 +76,24 @@ envlist =
6576
{py3.9,py3.11,py3.12}-langchain-notiktoken-v0.2.17
6677
{py3.9,py3.12,py3.13}-langchain-notiktoken-v0.3.27
6778

79+
{py3.9,py3.12,py3.13}-langgraph-v0.6.10
80+
{py3.10,py3.12,py3.13}-langgraph-v1.0.0a4
81+
6882
{py3.9,py3.12,py3.13}-litellm-v1.77.7
6983

7084
{py3.8,py3.11,py3.12}-openai-base-v1.0.1
7185
{py3.8,py3.12,py3.13}-openai-base-v1.109.1
72-
{py3.8,py3.12,py3.13}-openai-base-v2.3.0
86+
{py3.9,py3.12,py3.13}-openai-base-v2.3.0
7387

7488
{py3.8,py3.11,py3.12}-openai-notiktoken-v1.0.1
7589
{py3.8,py3.12,py3.13}-openai-notiktoken-v1.109.1
76-
{py3.8,py3.12,py3.13}-openai-notiktoken-v2.3.0
77-
78-
{py3.9,py3.12,py3.13}-langgraph-v0.6.10
79-
{py3.10,py3.12,py3.13}-langgraph-v1.0.0a4
80-
81-
{py3.9,py3.12,py3.13}-google_genai-v1.29.0
82-
{py3.9,py3.12,py3.13}-google_genai-v1.33.0
83-
{py3.9,py3.12,py3.13}-google_genai-v1.37.0
84-
{py3.9,py3.12,py3.13}-google_genai-v1.42.0
90+
{py3.9,py3.12,py3.13}-openai-notiktoken-v2.3.0
8591

8692
{py3.10,py3.11,py3.12}-openai_agents-v0.0.19
8793
{py3.10,py3.12,py3.13}-openai_agents-v0.1.0
8894
{py3.10,py3.12,py3.13}-openai_agents-v0.2.11
8995
{py3.10,py3.12,py3.13}-openai_agents-v0.3.3
9096

91-
{py3.8,py3.10,py3.11}-huggingface_hub-v0.24.7
92-
{py3.8,py3.12,py3.13}-huggingface_hub-v0.28.1
93-
{py3.8,py3.12,py3.13}-huggingface_hub-v0.32.6
94-
{py3.8,py3.12,py3.13}-huggingface_hub-v0.35.3
95-
{py3.9,py3.12,py3.13}-huggingface_hub-v1.0.0rc5
96-
9797
{py3.10,py3.12,py3.13}-pydantic_ai-v1.0.17
9898

9999

@@ -355,6 +355,20 @@ deps =
355355
cohere-v5.13.12: cohere==5.13.12
356356
cohere-v5.18.0: cohere==5.18.0
357357

358+
google_genai-v1.29.0: google-genai==1.29.0
359+
google_genai-v1.33.0: google-genai==1.33.0
360+
google_genai-v1.37.0: google-genai==1.37.0
361+
google_genai-v1.42.0: google-genai==1.42.0
362+
google_genai: pytest-asyncio
363+
364+
huggingface_hub-v0.24.7: huggingface_hub==0.24.7
365+
huggingface_hub-v0.28.1: huggingface_hub==0.28.1
366+
huggingface_hub-v0.32.6: huggingface_hub==0.32.6
367+
huggingface_hub-v0.35.3: huggingface_hub==0.35.3
368+
huggingface_hub-v1.0.0rc5: huggingface_hub==1.0.0rc5
369+
huggingface_hub: responses
370+
huggingface_hub: pytest-httpx
371+
358372
langchain-base-v0.1.20: langchain==0.1.20
359373
langchain-base-v0.2.17: langchain==0.2.17
360374
langchain-base-v0.3.27: langchain==0.3.27
@@ -370,6 +384,9 @@ deps =
370384
langchain-notiktoken: langchain-openai
371385
langchain-notiktoken-v0.3.27: langchain-community
372386

387+
langgraph-v0.6.10: langgraph==0.6.10
388+
langgraph-v1.0.0a4: langgraph==1.0.0a4
389+
373390
litellm-v1.77.7: litellm==1.77.7
374391

375392
openai-base-v1.0.1: openai==1.0.1
@@ -385,30 +402,14 @@ deps =
385402
openai-notiktoken: pytest-asyncio
386403
openai-notiktoken-v1.0.1: httpx<0.28
387404

388-
langgraph-v0.6.10: langgraph==0.6.10
389-
langgraph-v1.0.0a4: langgraph==1.0.0a4
390-
391-
google_genai-v1.29.0: google-genai==1.29.0
392-
google_genai-v1.33.0: google-genai==1.33.0
393-
google_genai-v1.37.0: google-genai==1.37.0
394-
google_genai-v1.42.0: google-genai==1.42.0
395-
google_genai: pytest-asyncio
396-
397405
openai_agents-v0.0.19: openai-agents==0.0.19
398406
openai_agents-v0.1.0: openai-agents==0.1.0
399407
openai_agents-v0.2.11: openai-agents==0.2.11
400408
openai_agents-v0.3.3: openai-agents==0.3.3
401409
openai_agents: pytest-asyncio
402410

403-
huggingface_hub-v0.24.7: huggingface_hub==0.24.7
404-
huggingface_hub-v0.28.1: huggingface_hub==0.28.1
405-
huggingface_hub-v0.32.6: huggingface_hub==0.32.6
406-
huggingface_hub-v0.35.3: huggingface_hub==0.35.3
407-
huggingface_hub-v1.0.0rc5: huggingface_hub==1.0.0rc5
408-
huggingface_hub: responses
409-
huggingface_hub: pytest-httpx
410-
411411
pydantic_ai-v1.0.17: pydantic-ai==1.0.17
412+
pydantic_ai: pytest-asyncio
412413

413414

414415
# ~~~ Cloud ~~~

0 commit comments

Comments
 (0)