Skip to content

Commit fc2aa1b

Browse files
committed
Move Web 1 to toxgen
1 parent 3ac285d commit fc2aa1b

File tree

4 files changed

+40
-83
lines changed

4 files changed

+40
-83
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
strategy:
116116
fail-fast: false
117117
matrix:
118-
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12"]
118+
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13"]
119119
# python3.6 reached EOL and is no longer being supported on
120120
# new versions of hosted runners on Github Actions
121121
# ubuntu-20.04 is the last version that supported python3.6

scripts/populate_tox/populate_tox.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
"dramatiq",
7373
"falcon",
7474
"fastapi",
75-
"flask",
7675
"gcp",
7776
"gql",
7877
"graphene",
@@ -99,7 +98,6 @@
9998
"rq",
10099
"sanic",
101100
"spark",
102-
"starlette",
103101
"starlite",
104102
"sqlalchemy",
105103
"strawberry",

scripts/populate_tox/tox.jinja

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,6 @@ envlist =
131131
{py3.7,py3.10}-fastapi-v{0.79}
132132
{py3.8,py3.12,py3.13}-fastapi-latest
133133

134-
# Flask
135-
{py3.6,py3.8}-flask-v{1}
136-
{py3.8,py3.11,py3.12}-flask-v{2}
137-
{py3.10,py3.11,py3.12}-flask-v{3}
138-
{py3.10,py3.12,py3.13}-flask-latest
139-
140134
# GCP
141135
{py3.7}-gcp
142136

@@ -261,12 +255,6 @@ envlist =
261255
{py3.8,py3.10,py3.11}-spark-v{3.1,3.3,3.5}
262256
{py3.8,py3.10,py3.11,py3.12}-spark-latest
263257

264-
# Starlette
265-
{py3.7,py3.10}-starlette-v{0.19}
266-
{py3.7,py3.11}-starlette-v{0.24,0.28}
267-
{py3.8,py3.11,py3.12}-starlette-v{0.32,0.36,0.40}
268-
{py3.8,py3.12,py3.13}-starlette-latest
269-
270258
# Starlite
271259
{py3.8,py3.11}-starlite-v{1.48,1.51}
272260
# 1.51.14 is the last starlite version; the project continues as litestar
@@ -485,16 +473,6 @@ deps =
485473
fastapi-v{0.79}: fastapi~=0.79.0
486474
fastapi-latest: fastapi
487475
488-
# Flask
489-
flask: flask-login
490-
flask-v{1,2.0}: Werkzeug<2.1.0
491-
flask-v{1,2.0}: markupsafe<2.1.0
492-
flask-v{3}: Werkzeug
493-
flask-v1: Flask~=1.0
494-
flask-v2: Flask~=2.0
495-
flask-v3: Flask~=3.0
496-
flask-latest: Flask
497-
498476
# GQL
499477
gql-v{3.4}: gql[all]~=3.4.0
500478
gql-latest: gql[all]
@@ -697,24 +675,6 @@ deps =
697675
spark-v4.0: pyspark==4.0.0.dev2
698676
spark-latest: pyspark
699677
700-
# Starlette
701-
starlette: pytest-asyncio
702-
starlette: python-multipart
703-
starlette: requests
704-
# (this is a dependency of httpx)
705-
starlette: anyio<4.0.0
706-
starlette: jinja2
707-
starlette-v{0.19,0.24,0.28,0.32,0.36}: httpx<0.28.0
708-
starlette-v0.40: httpx
709-
starlette-latest: httpx
710-
starlette-v0.19: starlette~=0.19.0
711-
starlette-v0.24: starlette~=0.24.0
712-
starlette-v0.28: starlette~=0.28.0
713-
starlette-v0.32: starlette~=0.32.0
714-
starlette-v0.36: starlette~=0.36.0
715-
starlette-v0.40: starlette~=0.40.0
716-
starlette-latest: starlette
717-
718678
# Starlite
719679
starlite: pytest-asyncio
720680
starlite: python-multipart

tox.ini

Lines changed: 39 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,6 @@ envlist =
131131
{py3.7,py3.10}-fastapi-v{0.79}
132132
{py3.8,py3.12,py3.13}-fastapi-latest
133133

134-
# Flask
135-
{py3.6,py3.8}-flask-v{1}
136-
{py3.8,py3.11,py3.12}-flask-v{2}
137-
{py3.10,py3.11,py3.12}-flask-v{3}
138-
{py3.10,py3.12,py3.13}-flask-latest
139-
140134
# GCP
141135
{py3.7}-gcp
142136

@@ -261,12 +255,6 @@ envlist =
261255
{py3.8,py3.10,py3.11}-spark-v{3.1,3.3,3.5}
262256
{py3.8,py3.10,py3.11,py3.12}-spark-latest
263257

264-
# Starlette
265-
{py3.7,py3.10}-starlette-v{0.19}
266-
{py3.7,py3.11}-starlette-v{0.24,0.28}
267-
{py3.8,py3.11,py3.12}-starlette-v{0.32,0.36,0.40}
268-
{py3.8,py3.12,py3.13}-starlette-latest
269-
270258
# Starlite
271259
{py3.8,py3.11}-starlite-v{1.48,1.51}
272260
# 1.51.14 is the last starlite version; the project continues as litestar
@@ -305,6 +293,18 @@ envlist =
305293
# These come from the populate_tox.py script. Eventually we should move all
306294
# integration tests there.
307295

296+
# ~~~ Web 1 ~~~
297+
{py3.6,py3.7,py3.8}-flask-v1.1.4
298+
{py3.8,py3.12,py3.13}-flask-v2.3.3
299+
{py3.8,py3.12,py3.13}-flask-v3.0.3
300+
{py3.9,py3.12,py3.13}-flask-v3.1.0
301+
302+
{py3.6,py3.7}-starlette-v0.13.8
303+
{py3.7,py3.10,py3.11}-starlette-v0.24.0
304+
{py3.8,py3.11,py3.12}-starlette-v0.35.1
305+
{py3.9,py3.12,py3.13}-starlette-v0.45.2
306+
307+
308308

309309
[testenv]
310310
deps =
@@ -475,16 +475,6 @@ deps =
475475
fastapi-v{0.79}: fastapi~=0.79.0
476476
fastapi-latest: fastapi
477477

478-
# Flask
479-
flask: flask-login
480-
flask-v{1,2.0}: Werkzeug<2.1.0
481-
flask-v{1,2.0}: markupsafe<2.1.0
482-
flask-v{3}: Werkzeug
483-
flask-v1: Flask~=1.0
484-
flask-v2: Flask~=2.0
485-
flask-v3: Flask~=3.0
486-
flask-latest: Flask
487-
488478
# GQL
489479
gql-v{3.4}: gql[all]~=3.4.0
490480
gql-latest: gql[all]
@@ -687,24 +677,6 @@ deps =
687677
spark-v4.0: pyspark==4.0.0.dev2
688678
spark-latest: pyspark
689679

690-
# Starlette
691-
starlette: pytest-asyncio
692-
starlette: python-multipart
693-
starlette: requests
694-
# (this is a dependency of httpx)
695-
starlette: anyio<4.0.0
696-
starlette: jinja2
697-
starlette-v{0.19,0.24,0.28,0.32,0.36}: httpx<0.28.0
698-
starlette-v0.40: httpx
699-
starlette-latest: httpx
700-
starlette-v0.19: starlette~=0.19.0
701-
starlette-v0.24: starlette~=0.24.0
702-
starlette-v0.28: starlette~=0.28.0
703-
starlette-v0.32: starlette~=0.32.0
704-
starlette-v0.36: starlette~=0.36.0
705-
starlette-v0.40: starlette~=0.40.0
706-
starlette-latest: starlette
707-
708680
# Starlite
709681
starlite: pytest-asyncio
710682
starlite: python-multipart
@@ -754,6 +726,33 @@ deps =
754726
# These come from the populate_tox.py script. Eventually we should move all
755727
# integration tests there.
756728

729+
# ~~~ Web 1 ~~~
730+
flask-v1.1.4: flask==1.1.4
731+
flask-v2.3.3: flask==2.3.3
732+
flask-v3.0.3: flask==3.0.3
733+
flask-v3.1.0: flask==3.1.0
734+
flask: flask-login
735+
flask: werkzeug
736+
flask-v1.1.4: werkzeug<2.1.0
737+
flask-v1.1.4: markupsafe<2.1.0
738+
739+
starlette-v0.13.8: starlette==0.13.8
740+
starlette-v0.24.0: starlette==0.24.0
741+
starlette-v0.35.1: starlette==0.35.1
742+
starlette-v0.45.2: starlette==0.45.2
743+
starlette: pytest-asyncio
744+
starlette: python-multipart
745+
starlette: requests
746+
starlette: anyio<4.0.0
747+
starlette: jinja2
748+
starlette: httpx
749+
starlette-v0.13.8: httpx<0.28.0
750+
starlette-v0.24.0: httpx<0.28.0
751+
starlette-v0.35.1: httpx<0.28.0
752+
starlette-v0.13.8: jinja2<3.1
753+
py3.6-starlette: aiocontextvars
754+
755+
757756

758757
setenv =
759758
PYTHONDONTWRITEBYTECODE=1

0 commit comments

Comments
 (0)