Skip to content

Commit 424faa6

Browse files
committed
Merge branch 'master' into ivana/update-tox-2
2 parents 1c8d5da + 6f49bfb commit 424faa6

File tree

5 files changed

+33
-41
lines changed

5 files changed

+33
-41
lines changed

.github/workflows/test-integrations-web-2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["3.8","3.9","3.11","3.12","3.13"]
32+
python-version: ["3.8","3.9","3.12","3.13"]
3333
# python3.6 reached EOL and is no longer being supported on
3434
# new versions of hosted runners on Github Actions
3535
# ubuntu-20.04 is the last version that supported python3.6

scripts/populate_tox/config.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,13 @@
6969
"launchdarkly": {
7070
"package": "launchdarkly-server-sdk",
7171
},
72+
"litestar": {
73+
"package": "litestar",
74+
"deps": {
75+
"*": ["pytest-asyncio", "python-multipart", "requests", "cryptography"],
76+
"<2.7": ["httpx<0.28"],
77+
},
78+
},
7279
"loguru": {
7380
"package": "loguru",
7481
},

scripts/populate_tox/populate_tox.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,26 @@
4949
# suites over to this script. Some entries will probably stay forever
5050
# as they don't fit the mold (e.g. common, asgi, which don't have a 3rd party
5151
# pypi package to install in different versions).
52+
#
53+
# Test suites that will have to remain hardcoded since they don't fit the
54+
# toxgen usecase
55+
"asgi",
56+
"aws_lambda",
57+
"cloud_resource_context",
5258
"common",
5359
"gevent",
5460
"opentelemetry",
5561
"potel",
62+
# Integrations that can be migrated -- we should eventually remove all
63+
# of these from the IGNORE list
5664
"aiohttp",
5765
"anthropic",
5866
"arq",
59-
"asgi",
6067
"asyncpg",
61-
"aws_lambda",
6268
"beam",
6369
"boto3",
6470
"chalice",
6571
"cohere",
66-
"cloud_resource_context",
67-
"cohere",
6872
"django",
6973
"fastapi",
7074
"gcp",
@@ -73,7 +77,6 @@
7377
"huggingface_hub",
7478
"langchain",
7579
"langchain_notiktoken",
76-
"litestar",
7780
"openai",
7881
"openai_notiktoken",
7982
"pure_eval",

scripts/populate_tox/tox.jinja

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,6 @@ envlist =
115115
{py3.9,py3.11,py3.12}-langchain-latest
116116
{py3.9,py3.11,py3.12}-langchain-notiktoken
117117

118-
# Litestar
119-
{py3.8,py3.11}-litestar-v{2.0}
120-
{py3.8,py3.11,py3.12}-litestar-v{2.6}
121-
{py3.8,py3.11,py3.12}-litestar-v{2.12}
122-
{py3.8,py3.11,py3.12}-litestar-latest
123-
124118
# OpenAI
125119
{py3.9,py3.11,py3.12}-openai-v1.0
126120
{py3.9,py3.11,py3.12}-openai-v1.22
@@ -347,17 +341,6 @@ deps =
347341
langchain-{latest,notiktoken}: openai>=1.6.1
348342
langchain-latest: tiktoken~=0.6.0
349343
350-
# Litestar
351-
litestar: pytest-asyncio
352-
litestar: python-multipart
353-
litestar: requests
354-
litestar: cryptography
355-
litestar-v{2.0,2.6}: httpx<0.28
356-
litestar-v2.0: litestar~=2.0.0
357-
litestar-v2.6: litestar~=2.6.0
358-
litestar-v2.12: litestar~=2.12.0
359-
litestar-latest: litestar
360-
361344
# OpenAI
362345
openai: pytest-asyncio
363346
openai-v1.0: openai~=1.0.0

tox.ini

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# The file (and all resulting CI YAMLs) then need to be regenerated via
1111
# "scripts/generate-test-files.sh".
1212
#
13-
# Last generated: 2025-03-25T11:52:40.779490+00:00
13+
# Last generated: 2025-03-26T11:39:37.106362+00:00
1414

1515
[tox]
1616
requires =
@@ -115,12 +115,6 @@ envlist =
115115
{py3.9,py3.11,py3.12}-langchain-latest
116116
{py3.9,py3.11,py3.12}-langchain-notiktoken
117117

118-
# Litestar
119-
{py3.8,py3.11}-litestar-v{2.0}
120-
{py3.8,py3.11,py3.12}-litestar-v{2.6}
121-
{py3.8,py3.11,py3.12}-litestar-v{2.12}
122-
{py3.8,py3.11,py3.12}-litestar-latest
123-
124118
# OpenAI
125119
{py3.9,py3.11,py3.12}-openai-v1.0
126120
{py3.9,py3.11,py3.12}-openai-v1.22
@@ -271,6 +265,11 @@ envlist =
271265
{py3.6,py3.11,py3.12}-falcon-v3.1.3
272266
{py3.8,py3.11,py3.12}-falcon-v4.0.2
273267

268+
{py3.8,py3.10,py3.11}-litestar-v2.0.1
269+
{py3.8,py3.11,py3.12}-litestar-v2.5.5
270+
{py3.8,py3.11,py3.12}-litestar-v2.10.0
271+
{py3.8,py3.12,py3.13}-litestar-v2.15.1
272+
274273
{py3.6}-pyramid-v1.8.6
275274
{py3.6,py3.8,py3.9}-pyramid-v1.10.8
276275
{py3.6,py3.10,py3.11}-pyramid-v2.0.2
@@ -464,17 +463,6 @@ deps =
464463
langchain-{latest,notiktoken}: openai>=1.6.1
465464
langchain-latest: tiktoken~=0.6.0
466465

467-
# Litestar
468-
litestar: pytest-asyncio
469-
litestar: python-multipart
470-
litestar: requests
471-
litestar: cryptography
472-
litestar-v{2.0,2.6}: httpx<0.28
473-
litestar-v2.0: litestar~=2.0.0
474-
litestar-v2.6: litestar~=2.6.0
475-
litestar-v2.12: litestar~=2.12.0
476-
litestar-latest: litestar
477-
478466
# OpenAI
479467
openai: pytest-asyncio
480468
openai-v1.0: openai~=1.0.0
@@ -694,6 +682,17 @@ deps =
694682
falcon-v3.1.3: falcon==3.1.3
695683
falcon-v4.0.2: falcon==4.0.2
696684

685+
litestar-v2.0.1: litestar==2.0.1
686+
litestar-v2.5.5: litestar==2.5.5
687+
litestar-v2.10.0: litestar==2.10.0
688+
litestar-v2.15.1: litestar==2.15.1
689+
litestar: pytest-asyncio
690+
litestar: python-multipart
691+
litestar: requests
692+
litestar: cryptography
693+
litestar-v2.0.1: httpx<0.28
694+
litestar-v2.5.5: httpx<0.28
695+
697696
pyramid-v1.8.6: pyramid==1.8.6
698697
pyramid-v1.10.8: pyramid==1.10.8
699698
pyramid-v2.0.2: pyramid==2.0.2

0 commit comments

Comments
 (0)