Skip to content

tests: Move Litestar under toxgen #4197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-web-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8","3.9","3.11","3.12","3.13"]
python-version: ["3.8","3.9","3.12","3.13"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
Expand Down
7 changes: 7 additions & 0 deletions scripts/populate_tox/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@
"launchdarkly": {
"package": "launchdarkly-server-sdk",
},
"litestar": {
"package": "litestar",
"deps": {
"*": ["pytest-asyncio", "python-multipart", "requests", "cryptography"],
"<2.7": ["httpx<0.28"],
},
},
"loguru": {
"package": "loguru",
},
Expand Down
1 change: 0 additions & 1 deletion scripts/populate_tox/populate_tox.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"huggingface_hub",
"langchain",
"langchain_notiktoken",
"litestar",
"openai",
"openai_notiktoken",
"pure_eval",
Expand Down
17 changes: 0 additions & 17 deletions scripts/populate_tox/tox.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,6 @@ envlist =
{py3.9,py3.11,py3.12}-langchain-latest
{py3.9,py3.11,py3.12}-langchain-notiktoken

# Litestar
{py3.8,py3.11}-litestar-v{2.0}
{py3.8,py3.11,py3.12}-litestar-v{2.6}
{py3.8,py3.11,py3.12}-litestar-v{2.12}
{py3.8,py3.11,py3.12}-litestar-latest

# OpenAI
{py3.9,py3.11,py3.12}-openai-v1.0
{py3.9,py3.11,py3.12}-openai-v1.22
Expand Down Expand Up @@ -347,17 +341,6 @@ deps =
langchain-{latest,notiktoken}: openai>=1.6.1
langchain-latest: tiktoken~=0.6.0

# Litestar
litestar: pytest-asyncio
litestar: python-multipart
litestar: requests
litestar: cryptography
litestar-v{2.0,2.6}: httpx<0.28
litestar-v2.0: litestar~=2.0.0
litestar-v2.6: litestar~=2.6.0
litestar-v2.12: litestar~=2.12.0
litestar-latest: litestar

# OpenAI
openai: pytest-asyncio
openai-v1.0: openai~=1.0.0
Expand Down
39 changes: 19 additions & 20 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# The file (and all resulting CI YAMLs) then need to be regenerated via
# "scripts/generate-test-files.sh".
#
# Last generated: 2025-03-18T10:29:17.585636+00:00
# Last generated: 2025-03-25T13:14:20.133361+00:00

[tox]
requires =
Expand Down Expand Up @@ -115,12 +115,6 @@ envlist =
{py3.9,py3.11,py3.12}-langchain-latest
{py3.9,py3.11,py3.12}-langchain-notiktoken

# Litestar
{py3.8,py3.11}-litestar-v{2.0}
{py3.8,py3.11,py3.12}-litestar-v{2.6}
{py3.8,py3.11,py3.12}-litestar-v{2.12}
{py3.8,py3.11,py3.12}-litestar-latest

# OpenAI
{py3.9,py3.11,py3.12}-openai-v1.0
{py3.9,py3.11,py3.12}-openai-v1.22
Expand Down Expand Up @@ -178,7 +172,7 @@ envlist =
{py3.6}-pymongo-v3.5.1
{py3.6,py3.10,py3.11}-pymongo-v3.13.0
{py3.6,py3.9,py3.10}-pymongo-v4.0.2
{py3.9,py3.12,py3.13}-pymongo-v4.11.2
{py3.9,py3.12,py3.13}-pymongo-v4.11.3

{py3.6}-redis_py_cluster_legacy-v1.3.6
{py3.6,py3.7}-redis_py_cluster_legacy-v2.0.0
Expand Down Expand Up @@ -271,6 +265,11 @@ envlist =
{py3.6,py3.11,py3.12}-falcon-v3.1.3
{py3.8,py3.11,py3.12}-falcon-v4.0.2

{py3.8,py3.10,py3.11}-litestar-v2.0.1
{py3.8,py3.11,py3.12}-litestar-v2.5.5
{py3.8,py3.11,py3.12}-litestar-v2.10.0
{py3.8,py3.12,py3.13}-litestar-v2.15.1

{py3.6}-pyramid-v1.8.6
{py3.6,py3.8,py3.9}-pyramid-v1.10.8
{py3.6,py3.10,py3.11}-pyramid-v2.0.2
Expand Down Expand Up @@ -464,17 +463,6 @@ deps =
langchain-{latest,notiktoken}: openai>=1.6.1
langchain-latest: tiktoken~=0.6.0

# Litestar
litestar: pytest-asyncio
litestar: python-multipart
litestar: requests
litestar: cryptography
litestar-v{2.0,2.6}: httpx<0.28
litestar-v2.0: litestar~=2.0.0
litestar-v2.6: litestar~=2.6.0
litestar-v2.12: litestar~=2.12.0
litestar-latest: litestar

# OpenAI
openai: pytest-asyncio
openai-v1.0: openai~=1.0.0
Expand Down Expand Up @@ -568,7 +556,7 @@ deps =
pymongo-v3.5.1: pymongo==3.5.1
pymongo-v3.13.0: pymongo==3.13.0
pymongo-v4.0.2: pymongo==4.0.2
pymongo-v4.11.2: pymongo==4.11.2
pymongo-v4.11.3: pymongo==4.11.3
pymongo: mockupdb

redis_py_cluster_legacy-v1.3.6: redis-py-cluster==1.3.6
Expand Down Expand Up @@ -694,6 +682,17 @@ deps =
falcon-v3.1.3: falcon==3.1.3
falcon-v4.0.2: falcon==4.0.2

litestar-v2.0.1: litestar==2.0.1
litestar-v2.5.5: litestar==2.5.5
litestar-v2.10.0: litestar==2.10.0
litestar-v2.15.1: litestar==2.15.1
litestar: pytest-asyncio
litestar: python-multipart
litestar: requests
litestar: cryptography
litestar-v2.0.1: httpx<0.28
litestar-v2.5.5: httpx<0.28

pyramid-v1.8.6: pyramid==1.8.6
pyramid-v1.10.8: pyramid==1.10.8
pyramid-v2.0.2: pyramid==2.0.2
Expand Down
Loading