Skip to content

Commit d4d44b1

Browse files
committed
try aiohttp
1 parent 153bae2 commit d4d44b1

File tree

3 files changed

+22
-49
lines changed

3 files changed

+22
-49
lines changed

scripts/populate_tox/populate_tox.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
# This set should be getting smaller over time as we migrate more test
4343
# suites over to this script. Some entries will probably stay forever
4444
# as they don't fit the mold (e.g. common, asgi).
45-
"aiohttp",
4645
"anthropic",
4746
"arq",
4847
"asgi",

scripts/populate_tox/tox.jinja

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,10 @@ envlist =
3131
# At a minimum, we should test against at least the lowest
3232
# and the latest supported version of a framework.
3333

34-
# AIOHTTP
35-
{py3.7}-aiohttp-v{3.4}
36-
{py3.7,py3.9,py3.11}-aiohttp-v{3.8}
37-
{py3.8,py3.12,py3.13}-aiohttp-latest
38-
3934
# Anthropic
4035
{py3.8,py3.11,py3.12}-anthropic-v{0.16,0.28,0.40}
4136
{py3.7,py3.11,py3.12}-anthropic-latest
4237

43-
# Ariadne
44-
#{py3.8,py3.11}-ariadne-v{0.20}
45-
#{py3.8,py3.12,py3.13}-ariadne-latest
46-
4738
# Arq
4839
{py3.7,py3.11}-arq-v{0.23}
4940
{py3.7,py3.12,py3.13}-arq-latest
@@ -301,12 +292,14 @@ envlist =
301292
# === Integrations - Auto-generated ===
302293
# These come from the populate_tox.py script. Eventually we should move all
303294
# integration tests there.
295+
304296
{% for group, integrations in groups.items() %}
305297
# ~~~ {{ group }} ~~~
306298
{% for integration in integrations %}
307299
{% for release in integration.releases %}
308300
{{ release.rendered_python_versions }}-{{ integration.name }}-v{{ release }}
309301
{% endfor %}
302+
310303
{% endfor %}
311304

312305
{% endfor %}
@@ -341,14 +334,6 @@ deps =
341334
342335
# === Integrations ===
343336
344-
# AIOHTTP
345-
aiohttp-v3.4: aiohttp~=3.4.0
346-
aiohttp-v3.8: aiohttp~=3.8.0
347-
aiohttp-latest: aiohttp
348-
aiohttp: pytest-aiohttp
349-
aiohttp-v3.8: pytest-asyncio
350-
aiohttp-latest: pytest-asyncio
351-
352337
# Anthropic
353338
anthropic: pytest-asyncio
354339
anthropic-v{0.16,0.28}: httpx<0.28.0
@@ -357,13 +342,6 @@ deps =
357342
anthropic-v0.40: anthropic~=0.40.0
358343
anthropic-latest: anthropic
359344
360-
# Ariadne
361-
ariadne-v0.20: ariadne~=0.20.0
362-
ariadne-latest: ariadne
363-
ariadne: fastapi
364-
ariadne: flask
365-
ariadne: httpx
366-
367345
# Arq
368346
arq-v0.23: arq~=0.23.0
369347
arq-v0.23: pydantic<2
@@ -773,6 +751,7 @@ deps =
773751
{% endfor %}
774752
775753
{% endfor %}
754+
776755
{% endfor %}
777756
778757
setenv =

tox.ini

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,10 @@ envlist =
3131
# At a minimum, we should test against at least the lowest
3232
# and the latest supported version of a framework.
3333

34-
# AIOHTTP
35-
{py3.7}-aiohttp-v{3.4}
36-
{py3.7,py3.9,py3.11}-aiohttp-v{3.8}
37-
{py3.8,py3.12,py3.13}-aiohttp-latest
38-
3934
# Anthropic
4035
{py3.8,py3.11,py3.12}-anthropic-v{0.16,0.28,0.40}
4136
{py3.7,py3.11,py3.12}-anthropic-latest
4237

43-
# Ariadne
44-
#{py3.8,py3.11}-ariadne-v{0.20}
45-
#{py3.8,py3.12,py3.13}-ariadne-latest
46-
4738
# Arq
4839
{py3.7,py3.11}-arq-v{0.23}
4940
{py3.7,py3.12,py3.13}-arq-latest
@@ -301,13 +292,22 @@ envlist =
301292
# === Integrations - Auto-generated ===
302293
# These come from the populate_tox.py script. Eventually we should move all
303294
# integration tests there.
295+
304296
# ~~~ GraphQL ~~~
305297
{py3.8,py3.10,py3.11}-ariadne-v0.20.1
306298
{py3.8,py3.11,py3.12}-ariadne-v0.21
307299
{py3.8,py3.11,py3.12}-ariadne-v0.22
308300
{py3.8,py3.11,py3.12}-ariadne-v0.24.0
309301

310302

303+
# ~~~ Web 2 ~~~
304+
{py3.6,py3.12,py3.13}-aiohttp-v3.6.3
305+
{py3.6,py3.12,py3.13}-aiohttp-v3.8.6
306+
{py3.8,py3.12,py3.13}-aiohttp-v3.10.9
307+
{py3.9,py3.12,py3.13}-aiohttp-v3.11.11
308+
309+
310+
311311
[testenv]
312312
deps =
313313
# if you change requirements-testing.txt and your change is not being reflected
@@ -338,14 +338,6 @@ deps =
338338

339339
# === Integrations ===
340340

341-
# AIOHTTP
342-
aiohttp-v3.4: aiohttp~=3.4.0
343-
aiohttp-v3.8: aiohttp~=3.8.0
344-
aiohttp-latest: aiohttp
345-
aiohttp: pytest-aiohttp
346-
aiohttp-v3.8: pytest-asyncio
347-
aiohttp-latest: pytest-asyncio
348-
349341
# Anthropic
350342
anthropic: pytest-asyncio
351343
anthropic-v{0.16,0.28}: httpx<0.28.0
@@ -354,13 +346,6 @@ deps =
354346
anthropic-v0.40: anthropic~=0.40.0
355347
anthropic-latest: anthropic
356348

357-
# Ariadne
358-
ariadne-v0.20: ariadne~=0.20.0
359-
ariadne-latest: ariadne
360-
ariadne: fastapi
361-
ariadne: flask
362-
ariadne: httpx
363-
364349
# Arq
365350
arq-v0.23: arq~=0.23.0
366351
arq-v0.23: pydantic<2
@@ -765,6 +750,16 @@ deps =
765750
ariadne: httpx
766751

767752

753+
# ~~~ Web 2 ~~~
754+
aiohttp-v3.6.3: aiohttp==3.6.3
755+
aiohttp-v3.8.6: aiohttp==3.8.6
756+
aiohttp-v3.10.9: aiohttp==3.10.9
757+
aiohttp-v3.11.11: aiohttp==3.11.11
758+
aiohttp: pytest-aiohttp
759+
aiohttp: pytest-asyncio
760+
761+
762+
768763
setenv =
769764
PYTHONDONTWRITEBYTECODE=1
770765
OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES

0 commit comments

Comments
 (0)