Skip to content

Commit 0eede69

Browse files
authored
tests: Move quart under toxgen (#4775)
1 parent bdf3e6d commit 0eede69

File tree

5 files changed

+45
-42
lines changed

5 files changed

+45
-42
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.12","3.13"]
32+
python-version: ["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: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,20 @@
232232
"*": ["werkzeug<2.1.0"],
233233
},
234234
},
235+
"quart": {
236+
"package": "quart",
237+
"deps": {
238+
"*": ["quart-auth", "pytest-asyncio", "Werkzeug"],
239+
">=0.19": ["quart-flask-patch"],
240+
"<0.19": [
241+
"blinker<1.6",
242+
"jinja2<3.1.0",
243+
"Werkzeug<2.3.0",
244+
"hypercorn<0.15.0",
245+
],
246+
"py3.8": ["taskgroup==0.0.0a4"],
247+
},
248+
},
235249
"redis_py_cluster_legacy": {
236250
"package": "redis-py-cluster",
237251
},

scripts/populate_tox/populate_tox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
# pypi package to install in different versions).
5858
#
5959
# Test suites that will have to remain hardcoded since they don't fit the
60-
# toxgen usecase
60+
# toxgen usecase (there is no one package that should be tested in different
61+
# versions)
6162
"asgi",
6263
"aws_lambda",
6364
"cloud_resource_context",
@@ -70,7 +71,6 @@
7071
"gcp",
7172
"httpx",
7273
"pure_eval",
73-
"quart",
7474
"ray",
7575
"redis",
7676
"requests",

scripts/populate_tox/tox.jinja

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ envlist =
6464
# pure_eval
6565
{py3.6,py3.12,py3.13}-pure_eval
6666

67-
# Quart
68-
{py3.7,py3.11}-quart-v{0.16}
69-
{py3.8,py3.11,py3.12}-quart-v{0.19}
70-
{py3.8,py3.12,py3.13}-quart-latest
71-
7267
# Ray
7368
{py3.10,py3.11}-ray-v{2.34}
7469
{py3.10,py3.11}-ray-latest
@@ -184,20 +179,6 @@ deps =
184179
# pure_eval
185180
pure_eval: pure_eval
186181
187-
# Quart
188-
quart: quart-auth
189-
quart: pytest-asyncio
190-
quart-{v0.19,latest}: quart-flask-patch
191-
quart-v0.16: blinker<1.6
192-
quart-v0.16: jinja2<3.1.0
193-
quart-v0.16: Werkzeug<2.1.0
194-
quart-v0.16: hypercorn<0.15.0
195-
quart-v0.16: quart~=0.16.0
196-
quart-v0.19: Werkzeug>=3.0.0
197-
quart-v0.19: quart~=0.19.0
198-
{py3.8}-quart: taskgroup==0.0.0a4
199-
quart-latest: quart
200-
201182
# Ray
202183
ray-v2.34: ray~=2.34.0
203184
ray-latest: ray

tox.ini

Lines changed: 28 additions & 20 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-09-08T07:44:56.804943+00:00
13+
# Last generated: 2025-09-08T11:35:09.849536+00:00
1414

1515
[tox]
1616
requires =
@@ -64,11 +64,6 @@ envlist =
6464
# pure_eval
6565
{py3.6,py3.12,py3.13}-pure_eval
6666

67-
# Quart
68-
{py3.7,py3.11}-quart-v{0.16}
69-
{py3.8,py3.11,py3.12}-quart-v{0.19}
70-
{py3.8,py3.12,py3.13}-quart-latest
71-
7267
# Ray
7368
{py3.10,py3.11}-ray-v{2.34}
7469
{py3.10,py3.11}-ray-latest
@@ -302,6 +297,11 @@ envlist =
302297
{py3.6,py3.8,py3.9}-pyramid-v1.10.8
303298
{py3.6,py3.10,py3.11}-pyramid-v2.0.2
304299

300+
{py3.7,py3.9,py3.10}-quart-v0.16.3
301+
{py3.7,py3.9,py3.10}-quart-v0.17.0
302+
{py3.7,py3.10,py3.11}-quart-v0.18.4
303+
{py3.9,py3.12,py3.13}-quart-v0.20.0
304+
305305
{py3.8,py3.10,py3.11}-starlite-v1.48.1
306306
{py3.8,py3.10,py3.11}-starlite-v1.49.0
307307
{py3.8,py3.10,py3.11}-starlite-v1.50.2
@@ -403,20 +403,6 @@ deps =
403403
# pure_eval
404404
pure_eval: pure_eval
405405

406-
# Quart
407-
quart: quart-auth
408-
quart: pytest-asyncio
409-
quart-{v0.19,latest}: quart-flask-patch
410-
quart-v0.16: blinker<1.6
411-
quart-v0.16: jinja2<3.1.0
412-
quart-v0.16: Werkzeug<2.1.0
413-
quart-v0.16: hypercorn<0.15.0
414-
quart-v0.16: quart~=0.16.0
415-
quart-v0.19: Werkzeug>=3.0.0
416-
quart-v0.19: quart~=0.19.0
417-
{py3.8}-quart: taskgroup==0.0.0a4
418-
quart-latest: quart
419-
420406
# Ray
421407
ray-v2.34: ray~=2.34.0
422408
ray-latest: ray
@@ -774,6 +760,28 @@ deps =
774760
pyramid-v2.0.2: pyramid==2.0.2
775761
pyramid: werkzeug<2.1.0
776762

763+
quart-v0.16.3: quart==0.16.3
764+
quart-v0.17.0: quart==0.17.0
765+
quart-v0.18.4: quart==0.18.4
766+
quart-v0.20.0: quart==0.20.0
767+
quart: quart-auth
768+
quart: pytest-asyncio
769+
quart: Werkzeug
770+
quart-v0.20.0: quart-flask-patch
771+
quart-v0.16.3: blinker<1.6
772+
quart-v0.16.3: jinja2<3.1.0
773+
quart-v0.16.3: Werkzeug<2.3.0
774+
quart-v0.16.3: hypercorn<0.15.0
775+
quart-v0.17.0: blinker<1.6
776+
quart-v0.17.0: jinja2<3.1.0
777+
quart-v0.17.0: Werkzeug<2.3.0
778+
quart-v0.17.0: hypercorn<0.15.0
779+
quart-v0.18.4: blinker<1.6
780+
quart-v0.18.4: jinja2<3.1.0
781+
quart-v0.18.4: Werkzeug<2.3.0
782+
quart-v0.18.4: hypercorn<0.15.0
783+
{py3.8}-quart: taskgroup==0.0.0a4
784+
777785
starlite-v1.48.1: starlite==1.48.1
778786
starlite-v1.49.0: starlite==1.49.0
779787
starlite-v1.50.2: starlite==1.50.2

0 commit comments

Comments
 (0)