Skip to content

Commit 97a7ae7

Browse files
committed
chalice
1 parent c6f1c65 commit 97a7ae7

File tree

5 files changed

+59
-33
lines changed

5 files changed

+59
-33
lines changed

.github/workflows/test-integrations-cloud.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.8","3.11","3.12","3.13"]
32+
python-version: ["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
@@ -97,7 +97,7 @@ jobs:
9797
strategy:
9898
fail-fast: false
9999
matrix:
100-
python-version: ["3.6","3.7","3.9","3.11","3.12","3.13"]
100+
python-version: ["3.6","3.7","3.8","3.9","3.11","3.12","3.13"]
101101
# python3.6 reached EOL and is no longer being supported on
102102
# new versions of hosted runners on Github Actions
103103
# 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","3.13"]
118+
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12"]
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
@@ -51,7 +51,7 @@
5151
"aws_lambda",
5252
"beam",
5353
"boto3",
54-
"chalice",
54+
"celery",
5555
"clickhouse_driver",
5656
"cohere",
5757
"common",

scripts/populate_tox/tox.jinja

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,12 @@ envlist =
6767
{py3.11,py3.12}-boto3-v{1.34}
6868
{py3.11,py3.12,py3.13}-boto3-latest
6969

70-
# Chalice
71-
{py3.6,py3.9}-chalice-v{1.16}
72-
{py3.8,py3.12,py3.13}-chalice-latest
70+
# Celery
71+
{py3.6,py3.8}-celery-v{4}
72+
{py3.6,py3.8}-celery-v{5.0}
73+
{py3.7,py3.10}-celery-v{5.1,5.2}
74+
{py3.8,py3.11,py3.12}-celery-v{5.3,5.4,5.5}
75+
{py3.8,py3.12,py3.13}-celery-latest
7376

7477
# Clickhouse Driver
7578
{py3.8,py3.11}-clickhouse_driver-v{0.2.0}
@@ -373,10 +376,20 @@ deps =
373376
boto3-v1.34: boto3~=1.34.0
374377
boto3-latest: boto3
375378
376-
# Chalice
377-
chalice: pytest-chalice==0.0.5
378-
chalice-v1.16: chalice~=1.16.0
379-
chalice-latest: chalice
379+
# Celery
380+
celery: redis
381+
celery-v4: Celery~=4.0
382+
celery-v5.0: Celery~=5.0.0
383+
celery-v5.1: Celery~=5.1.0
384+
celery-v5.2: Celery~=5.2.0
385+
celery-v5.3: Celery~=5.3.0
386+
celery-v5.4: Celery~=5.4.0
387+
# TODO: update when stable is out
388+
celery-v5.5: Celery==5.5.0rc3
389+
celery-latest: Celery
390+
391+
celery: newrelic
392+
{py3.7}-celery: importlib-metadata<5.0
380393
381394
# Clickhouse Driver
382395
clickhouse_driver-v0.2.0: clickhouse_driver~=0.2.0

tox.ini

Lines changed: 35 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,12 @@ envlist =
6767
{py3.11,py3.12}-boto3-v{1.34}
6868
{py3.11,py3.12,py3.13}-boto3-latest
6969

70-
# Chalice
71-
{py3.6,py3.9}-chalice-v{1.16}
72-
{py3.8,py3.12,py3.13}-chalice-latest
70+
# Celery
71+
{py3.6,py3.8}-celery-v{4}
72+
{py3.6,py3.8}-celery-v{5.0}
73+
{py3.7,py3.10}-celery-v{5.1,5.2}
74+
{py3.8,py3.11,py3.12}-celery-v{5.3,5.4,5.5}
75+
{py3.8,py3.12,py3.13}-celery-latest
7376

7477
# Clickhouse Driver
7578
{py3.8,py3.11}-clickhouse_driver-v{0.2.0}
@@ -286,19 +289,20 @@ envlist =
286289
# === Integrations - Auto-generated ===
287290
# These come from the populate_tox.py script. Eventually we should move all
288291
# integration tests there.
292+
# ~~~ Cloud ~~~
293+
{py3.6,py3.7,py3.8}-chalice-v1.16.0
294+
{py3.6,py3.7,py3.8}-chalice-v1.21.9
295+
{py3.6,py3.8,py3.9}-chalice-v1.26.6
296+
{py3.8,py3.11,py3.12}-chalice-v1.31.3
297+
298+
289299
# ~~~ GraphQL ~~~
290300
{py3.8,py3.10,py3.11}-ariadne-v0.20.1
291301
{py3.8,py3.11,py3.12}-ariadne-v0.21
292302
{py3.8,py3.11,py3.12}-ariadne-v0.22
293303
{py3.8,py3.11,py3.12}-ariadne-v0.24.0
294304

295305

296-
# ~~~ Tasks ~~~
297-
{py3.6,py3.12,py3.13}-celery-v4.4.7
298-
{py3.6,py3.12,py3.13}-celery-v5.0.5
299-
{py3.8,py3.12,py3.13}-celery-v5.4.0
300-
301-
302306
# ~~~ Web 2 ~~~
303307
{py3.6,py3.7}-bottle-v0.12.25
304308
{py3.6,py3.8,py3.9}-bottle-v0.13.2
@@ -381,10 +385,20 @@ deps =
381385
boto3-v1.34: boto3~=1.34.0
382386
boto3-latest: boto3
383387

384-
# Chalice
385-
chalice: pytest-chalice==0.0.5
386-
chalice-v1.16: chalice~=1.16.0
387-
chalice-latest: chalice
388+
# Celery
389+
celery: redis
390+
celery-v4: Celery~=4.0
391+
celery-v5.0: Celery~=5.0.0
392+
celery-v5.1: Celery~=5.1.0
393+
celery-v5.2: Celery~=5.2.0
394+
celery-v5.3: Celery~=5.3.0
395+
celery-v5.4: Celery~=5.4.0
396+
# TODO: update when stable is out
397+
celery-v5.5: Celery==5.5.0rc3
398+
celery-latest: Celery
399+
400+
celery: newrelic
401+
{py3.7}-celery: importlib-metadata<5.0
388402

389403
# Clickhouse Driver
390404
clickhouse_driver-v0.2.0: clickhouse_driver~=0.2.0
@@ -725,6 +739,14 @@ deps =
725739
# === Integrations - Auto-generated ===
726740
# These come from the populate_tox.py script. Eventually we should move all
727741
# integration tests there.
742+
# ~~~ Cloud ~~~
743+
chalice-v1.16.0: chalice==1.16.0
744+
chalice-v1.21.9: chalice==1.21.9
745+
chalice-v1.26.6: chalice==1.26.6
746+
chalice-v1.31.3: chalice==1.31.3
747+
chalice: pytest-chalice==0.0.5
748+
749+
728750
# ~~~ GraphQL ~~~
729751
ariadne-v0.20.1: ariadne==0.20.1
730752
ariadne-v0.21: ariadne==0.21
@@ -735,15 +757,6 @@ deps =
735757
ariadne: httpx
736758

737759

738-
# ~~~ Tasks ~~~
739-
celery-v4.4.7: celery==4.4.7
740-
celery-v5.0.5: celery==5.0.5
741-
celery-v5.4.0: celery==5.4.0
742-
celery: newrelic
743-
celery: redis
744-
py3.7-celery: importlib-metata<5.0
745-
746-
747760
# ~~~ Web 2 ~~~
748761
bottle-v0.12.25: bottle==0.12.25
749762
bottle-v0.13.2: bottle==0.13.2

0 commit comments

Comments
 (0)