Skip to content

Commit e8e0f52

Browse files
committed
tests: Migrate aiohttp under toxgen
1 parent b96e2b6 commit e8e0f52

File tree

4 files changed

+33
-34
lines changed

4 files changed

+33
-34
lines changed

scripts/populate_tox/config.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@
66
# See scripts/populate_tox/README.md for more info on the format and examples.
77

88
TEST_SUITE_CONFIG = {
9+
#
10+
# AIOHTTP
11+
# aiohttp-v3.4: aiohttp~=3.4.0
12+
# aiohttp-v3.8: aiohttp~=3.8.0
13+
# aiohttp-latest: aiohttp
14+
# aiohttp: pytest-aiohttp
15+
# aiohttp-v3.8: pytest-asyncio
16+
# aiohttp-latest: pytest-asyncio
17+
"aiohttp": {
18+
"package": "aiohttp",
19+
"deps": {
20+
"*": ["pytest-aiohttp", "pytest-asyncio"],
21+
},
22+
},
923
"ariadne": {
1024
"package": "ariadne",
1125
"deps": {

scripts/populate_tox/populate_tox.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
"potel",
6868
# Integrations that can be migrated -- we should eventually remove all
6969
# of these from the IGNORE list
70-
"aiohttp",
7170
"anthropic",
7271
"arq",
7372
"asyncpg",

scripts/populate_tox/tox.jinja

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ envlist =
3636
# At a minimum, we should test against at least the lowest
3737
# and the latest supported version of a framework.
3838

39-
# AIOHTTP
40-
{py3.7}-aiohttp-v{3.4}
41-
{py3.7,py3.9,py3.11}-aiohttp-v{3.8}
42-
{py3.8,py3.12,py3.13}-aiohttp-latest
43-
4439
# Anthropic
4540
{py3.8,py3.11,py3.12}-anthropic-v{0.16,0.28,0.40}
4641
{py3.7,py3.11,py3.12}-anthropic-latest
@@ -184,14 +179,6 @@ deps =
184179
185180
# === Integrations ===
186181
187-
# AIOHTTP
188-
aiohttp-v3.4: aiohttp~=3.4.0
189-
aiohttp-v3.8: aiohttp~=3.8.0
190-
aiohttp-latest: aiohttp
191-
aiohttp: pytest-aiohttp
192-
aiohttp-v3.8: pytest-asyncio
193-
aiohttp-latest: pytest-asyncio
194-
195182
# Anthropic
196183
anthropic: pytest-asyncio
197184
anthropic-v{0.16,0.28}: httpx<0.28.0

tox.ini

Lines changed: 19 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-04-17T11:01:25.976599+00:00
13+
# Last generated: 2025-04-22T14:02:00.594337+00:00
1414

1515
[tox]
1616
requires =
@@ -36,11 +36,6 @@ envlist =
3636
# At a minimum, we should test against at least the lowest
3737
# and the latest supported version of a framework.
3838

39-
# AIOHTTP
40-
{py3.7}-aiohttp-v{3.4}
41-
{py3.7,py3.9,py3.11}-aiohttp-v{3.8}
42-
{py3.8,py3.12,py3.13}-aiohttp-latest
43-
4439
# Anthropic
4540
{py3.8,py3.11,py3.12}-anthropic-v{0.16,0.28,0.40}
4641
{py3.7,py3.11,py3.12}-anthropic-latest
@@ -195,7 +190,7 @@ envlist =
195190
{py3.8,py3.10,py3.11}-ariadne-v0.20.1
196191
{py3.8,py3.11,py3.12}-ariadne-v0.22
197192
{py3.8,py3.11,py3.12}-ariadne-v0.24.0
198-
{py3.9,py3.12,py3.13}-ariadne-v0.26.1
193+
{py3.9,py3.12,py3.13}-ariadne-v0.26.2
199194

200195
{py3.6,py3.9,py3.10}-gql-v3.4.1
201196
{py3.7,py3.11,py3.12}-gql-v3.5.2
@@ -207,7 +202,7 @@ envlist =
207202
{py3.8,py3.10,py3.11}-strawberry-v0.209.8
208203
{py3.8,py3.11,py3.12}-strawberry-v0.228.0
209204
{py3.8,py3.12,py3.13}-strawberry-v0.247.2
210-
{py3.9,py3.12,py3.13}-strawberry-v0.265.1
205+
{py3.9,py3.12,py3.13}-strawberry-v0.266.0
211206

212207

213208
# ~~~ Network ~~~
@@ -265,8 +260,13 @@ envlist =
265260

266261

267262
# ~~~ Web 2 ~~~
263+
{py3.6,py3.7}-aiohttp-v3.4.4
264+
{py3.6,py3.8,py3.9}-aiohttp-v3.7.4
265+
{py3.8,py3.12,py3.13}-aiohttp-v3.10.9
266+
{py3.9,py3.12,py3.13}-aiohttp-v3.11.18
267+
268268
{py3.6,py3.7}-bottle-v0.12.25
269-
{py3.6,py3.8,py3.9}-bottle-v0.13.2
269+
{py3.8,py3.12,py3.13}-bottle-v0.13.3
270270

271271
{py3.6}-falcon-v1.4.1
272272
{py3.6,py3.7}-falcon-v2.0.0
@@ -337,14 +337,6 @@ deps =
337337

338338
# === Integrations ===
339339

340-
# AIOHTTP
341-
aiohttp-v3.4: aiohttp~=3.4.0
342-
aiohttp-v3.8: aiohttp~=3.8.0
343-
aiohttp-latest: aiohttp
344-
aiohttp: pytest-aiohttp
345-
aiohttp-v3.8: pytest-asyncio
346-
aiohttp-latest: pytest-asyncio
347-
348340
# Anthropic
349341
anthropic: pytest-asyncio
350342
anthropic-v{0.16,0.28}: httpx<0.28.0
@@ -569,7 +561,7 @@ deps =
569561
ariadne-v0.20.1: ariadne==0.20.1
570562
ariadne-v0.22: ariadne==0.22
571563
ariadne-v0.24.0: ariadne==0.24.0
572-
ariadne-v0.26.1: ariadne==0.26.1
564+
ariadne-v0.26.2: ariadne==0.26.2
573565
ariadne: fastapi
574566
ariadne: flask
575567
ariadne: httpx
@@ -589,7 +581,7 @@ deps =
589581
strawberry-v0.209.8: strawberry-graphql[fastapi,flask]==0.209.8
590582
strawberry-v0.228.0: strawberry-graphql[fastapi,flask]==0.228.0
591583
strawberry-v0.247.2: strawberry-graphql[fastapi,flask]==0.247.2
592-
strawberry-v0.265.1: strawberry-graphql[fastapi,flask]==0.265.1
584+
strawberry-v0.266.0: strawberry-graphql[fastapi,flask]==0.266.0
593585
strawberry: httpx
594586
strawberry-v0.209.8: pydantic<2.11
595587
strawberry-v0.228.0: pydantic<2.11
@@ -706,8 +698,15 @@ deps =
706698

707699

708700
# ~~~ Web 2 ~~~
701+
aiohttp-v3.4.4: aiohttp==3.4.4
702+
aiohttp-v3.7.4: aiohttp==3.7.4
703+
aiohttp-v3.10.9: aiohttp==3.10.9
704+
aiohttp-v3.11.18: aiohttp==3.11.18
705+
aiohttp: pytest-aiohttp
706+
aiohttp: pytest-asyncio
707+
709708
bottle-v0.12.25: bottle==0.12.25
710-
bottle-v0.13.2: bottle==0.13.2
709+
bottle-v0.13.3: bottle==0.13.3
711710
bottle: werkzeug<2.1.0
712711

713712
falcon-v1.4.1: falcon==1.4.1

0 commit comments

Comments
 (0)