Skip to content

Commit 04a2ab6

Browse files
committed
asyncpg
1 parent ec3d9cb commit 04a2ab6

File tree

6 files changed

+47
-47
lines changed

6 files changed

+47
-47
lines changed

.github/workflows/test-integrations-ai.yml

Lines changed: 2 additions & 2 deletions
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.9","3.11","3.12","3.13"]
32+
python-version: ["3.7","3.9","3.11","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
@@ -101,7 +101,7 @@ jobs:
101101
strategy:
102102
fail-fast: false
103103
matrix:
104-
python-version: ["3.7","3.8","3.9","3.11","3.12","3.13"]
104+
python-version: ["3.8","3.9","3.11","3.12","3.13"]
105105
# python3.6 reached EOL and is no longer being supported on
106106
# new versions of hosted runners on Github Actions
107107
# ubuntu-20.04 is the last version that supported python3.6

.github/workflows/test-integrations-dbs.yml

Lines changed: 2 additions & 2 deletions
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.7","3.8","3.11","3.12","3.13"]
32+
python-version: ["3.7","3.8","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
@@ -124,7 +124,7 @@ jobs:
124124
strategy:
125125
fail-fast: false
126126
matrix:
127-
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12"]
127+
python-version: ["3.6","3.7","3.8","3.9","3.11","3.12","3.13"]
128128
# python3.6 reached EOL and is no longer being supported on
129129
# new versions of hosted runners on Github Actions
130130
# ubuntu-20.04 is the last version that supported python3.6

.github/workflows/test-integrations-tasks.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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
# suites over to this script. Some entries will probably stay forever
4444
# as they don't fit the mold (e.g. common, asgi).
4545
"aiohttp",
46+
"anthropic",
4647
"asgi",
47-
"asyncpg",
4848
"aws_lambda",
4949
"beam",
5050
"boto3",

scripts/populate_tox/tox.jinja

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ envlist =
4343
# Asgi
4444
{py3.7,py3.12,py3.13}-asgi
4545

46-
# asyncpg
47-
{py3.7,py3.10}-asyncpg-v{0.23}
48-
{py3.8,py3.11,py3.12}-asyncpg-latest
49-
5046
# AWS Lambda
5147
# The aws_lambda tests deploy to the real AWS and have their own
5248
# matrix of Python versions to run the test lambda function in.
@@ -354,11 +350,6 @@ deps =
354350
asgi: pytest-asyncio
355351
asgi: async-asgi-testclient
356352
357-
# Asyncpg
358-
asyncpg-v0.23: asyncpg~=0.23.0
359-
asyncpg-latest: asyncpg
360-
asyncpg: pytest-asyncio
361-
362353
# AWS Lambda
363354
aws_lambda: boto3
364355

tox.ini

Lines changed: 41 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,13 @@ envlist =
3636
{py3.7,py3.9,py3.11}-aiohttp-v{3.8}
3737
{py3.8,py3.12,py3.13}-aiohttp-latest
3838

39-
# Arq
40-
{py3.7,py3.11}-arq-v{0.23}
41-
{py3.7,py3.12,py3.13}-arq-latest
39+
# Anthropic
40+
{py3.8,py3.11,py3.12}-anthropic-v{0.16,0.28,0.40}
41+
{py3.7,py3.11,py3.12}-anthropic-latest
4242

4343
# Asgi
4444
{py3.7,py3.12,py3.13}-asgi
4545

46-
# asyncpg
47-
{py3.7,py3.10}-asyncpg-v{0.23}
48-
{py3.8,py3.11,py3.12}-asyncpg-latest
49-
5046
# AWS Lambda
5147
# The aws_lambda tests deploy to the real AWS and have their own
5248
# matrix of Python versions to run the test lambda function in.
@@ -293,11 +289,11 @@ envlist =
293289
# === Integrations - Auto-generated ===
294290
# These come from the populate_tox.py script. Eventually we should move all
295291
# integration tests there.
296-
# ~~~ AI ~~~
297-
{py3.7,py3.12,py3.13}-anthropic-v0.16.0
298-
{py3.7,py3.12,py3.13}-anthropic-v0.25.9
299-
{py3.7,py3.12,py3.13}-anthropic-v0.34.2
300-
{py3.8,py3.12,py3.13}-anthropic-v0.42.0
292+
# ~~~ DBs ~~~
293+
{py3.6,py3.12,py3.13}-asyncpg-v0.23.0
294+
{py3.6,py3.12,py3.13}-asyncpg-v0.25.0
295+
{py3.7,py3.12,py3.13}-asyncpg-v0.27.0
296+
{py3.8,py3.12,py3.13}-asyncpg-v0.30.0
301297

302298

303299
# ~~~ GraphQL ~~~
@@ -307,6 +303,13 @@ envlist =
307303
{py3.8,py3.11,py3.12}-ariadne-v0.24.0
308304

309305

306+
# ~~~ Tasks ~~~
307+
{py3.6,py3.12,py3.13}-arq-v0.23
308+
{py3.7,py3.12,py3.13}-arq-v0.24.0
309+
{py3.7,py3.12,py3.13}-arq-v0.25.0
310+
{py3.8,py3.12,py3.13}-arq-v0.26.3
311+
312+
310313

311314
[testenv]
312315
deps =
@@ -346,23 +349,18 @@ deps =
346349
aiohttp-v3.8: pytest-asyncio
347350
aiohttp-latest: pytest-asyncio
348351

349-
# Arq
350-
arq-v0.23: arq~=0.23.0
351-
arq-v0.23: pydantic<2
352-
arq-latest: arq
353-
arq: fakeredis>=2.2.0,<2.8
354-
arq: pytest-asyncio
355-
arq: async-timeout
352+
# Anthropic
353+
anthropic: pytest-asyncio
354+
anthropic-v{0.16,0.28}: httpx<0.28.0
355+
anthropic-v0.16: anthropic~=0.16.0
356+
anthropic-v0.28: anthropic~=0.28.0
357+
anthropic-v0.40: anthropic~=0.40.0
358+
anthropic-latest: Anthropic
356359

357360
# Asgi
358361
asgi: pytest-asyncio
359362
asgi: async-asgi-testclient
360363

361-
# Asyncpg
362-
asyncpg-v0.23: asyncpg~=0.23.0
363-
asyncpg-latest: asyncpg
364-
asyncpg: pytest-asyncio
365-
366364
# AWS Lambda
367365
aws_lambda: boto3
368366

@@ -740,14 +738,12 @@ deps =
740738
# === Integrations - Auto-generated ===
741739
# These come from the populate_tox.py script. Eventually we should move all
742740
# integration tests there.
743-
# ~~~ AI ~~~
744-
anthropic-v0.16.0: anthropic==0.16.0
745-
anthropic-v0.25.9: anthropic==0.25.9
746-
anthropic-v0.34.2: anthropic==0.34.2
747-
anthropic-v0.42.0: anthropic==0.42.0
748-
anthropic: pytest-asyncio
749-
anthropic-v0.16.0: httpx<0.28.0
750-
anthropic-v0.25.9: httpx<0.28.0
741+
# ~~~ DBs ~~~
742+
asyncpg-v0.23.0: asyncpg==0.23.0
743+
asyncpg-v0.25.0: asyncpg==0.25.0
744+
asyncpg-v0.27.0: asyncpg==0.27.0
745+
asyncpg-v0.30.0: asyncpg==0.30.0
746+
asyncpg: pytest-asyncio
751747

752748

753749
# ~~~ GraphQL ~~~
@@ -760,6 +756,19 @@ deps =
760756
ariadne: httpx
761757

762758

759+
# ~~~ Tasks ~~~
760+
arq-v0.23: arq==0.23
761+
arq-v0.24.0: arq==0.24.0
762+
arq-v0.25.0: arq==0.25.0
763+
arq-v0.26.3: arq==0.26.3
764+
arq: fakeredis>=2.2.0,<2.8
765+
arq: pytest-asyncio
766+
arq: async-timeout
767+
arq-v0.23: pydantic<2
768+
arq-v0.24.0: pydantic<2
769+
arq-v0.25.0: pydantic<2
770+
771+
763772

764773
setenv =
765774
PYTHONDONTWRITEBYTECODE=1

0 commit comments

Comments
 (0)