Skip to content

Commit

Permalink
tests: Update library, Python versions (#3202)
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Jun 25, 2024
1 parent bcc563c commit 6c7374e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-cloud-computing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7","3.10","3.11","3.12"]
python-version: ["3.8","3.11","3.12"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7","3.8","3.11"]
python-version: ["3.7","3.8","3.11","3.12"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
Expand Down
54 changes: 30 additions & 24 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ envlist =
{py3.6,py3.7,py3.8,py3.9,py3.10,py3.11,py3.12}-common

# === Gevent ===
{py3.6,py3.8,py3.10,py3.11}-gevent
{py3.6,py3.8,py3.10,py3.11,py3.12}-gevent

# === Integrations ===
# General format is {pythonversion}-{integrationname}-v{frameworkversion}
Expand All @@ -30,7 +30,7 @@ envlist =
# AIOHTTP
{py3.7}-aiohttp-v{3.4}
{py3.7,py3.9,py3.11}-aiohttp-v{3.8}
{py3.8,py3.11}-aiohttp-latest
{py3.8,py3.11,py3.12}-aiohttp-latest

# Anthropic
{py3.7,py3.11,py3.12}-anthropic-v{0.16,0.25}
Expand Down Expand Up @@ -63,9 +63,9 @@ envlist =

# Boto3
{py3.6,py3.7}-boto3-v{1.12}
{py3.7,py3.11,py3.12}-boto3-v{1.21}
{py3.7,py3.11,py3.12}-boto3-v{1.29}
{py3.7,py3.11,py3.12}-boto3-latest
{py3.7,py3.11,py3.12}-boto3-v{1.23}
{py3.11,py3.12}-boto3-v{1.34}
{py3.11,py3.12}-boto3-latest

# Bottle
{py3.6,py3.9}-bottle-v{0.12}
Expand All @@ -75,12 +75,12 @@ envlist =
{py3.6,py3.8}-celery-v{4}
{py3.6,py3.8}-celery-v{5.0}
{py3.7,py3.10}-celery-v{5.1,5.2}
{py3.8,py3.11}-celery-v{5.3}
{py3.8,py3.11}-celery-latest
{py3.8,py3.11,py3.12}-celery-v{5.3,5.4}
{py3.8,py3.11,py3.12}-celery-latest

# Chalice
{py3.6,py3.9}-chalice-v{1.16}
{py3.7,py3.10}-chalice-latest
{py3.8,py3.12}-chalice-latest

# Clickhouse Driver
{py3.8,py3.11}-clickhouse_driver-v{0.2.0}
Expand Down Expand Up @@ -128,7 +128,7 @@ envlist =

# GQL
{py3.7,py3.11}-gql-v{3.4}
{py3.7,py3.11}-gql-latest
{py3.7,py3.11,py3.12}-gql-latest

# Graphene
{py3.7,py3.11}-graphene-v{3.3}
Expand All @@ -144,7 +144,7 @@ envlist =
{py3.6,py3.9}-httpx-v{0.16,0.18}
{py3.6,py3.10}-httpx-v{0.20,0.22}
{py3.7,py3.11,py3.12}-httpx-v{0.23,0.24}
{py3.9,py3.11,py3.12}-httpx-v{0.25}
{py3.9,py3.11,py3.12}-httpx-v{0.25,0.27}
{py3.9,py3.11,py3.12}-httpx-latest

# Huey
Expand Down Expand Up @@ -178,7 +178,7 @@ envlist =
{py3.6}-pymongo-v{3.1}
{py3.6,py3.9}-pymongo-v{3.12}
{py3.6,py3.11}-pymongo-v{4.0}
{py3.7,py3.11,py3.12}-pymongo-v{4.3,4.6}
{py3.7,py3.11,py3.12}-pymongo-v{4.3,4.7}
{py3.7,py3.11,py3.12}-pymongo-latest

# Pyramid
Expand Down Expand Up @@ -209,7 +209,7 @@ envlist =
{py3.6}-rq-v{0.6}
{py3.6,py3.9}-rq-v{0.13,1.0}
{py3.6,py3.11}-rq-v{1.5,1.10}
{py3.7,py3.11,py3.12}-rq-v{1.15}
{py3.7,py3.11,py3.12}-rq-v{1.15,1.16}
{py3.7,py3.11,py3.12}-rq-latest

# Sanic
Expand All @@ -221,12 +221,12 @@ envlist =

# Spark
{py3.8,py3.10,py3.11}-spark-v{3.1,3.3,3.5}
{py3.8,py3.10,py3.11}-spark-latest
{py3.8,py3.10,py3.11,py3.12}-spark-latest

# Starlette
{py3.7,py3.10}-starlette-v{0.19}
{py3.7,py3.11}-starlette-v{0.20,0.24,0.28}
{py3.8,py3.11,py3.12}-starlette-v{0.32}
{py3.8,py3.11,py3.12}-starlette-v{0.32,0.36}
{py3.8,py3.11,py3.12}-starlette-latest

# Starlite
Expand All @@ -240,11 +240,12 @@ envlist =

# Strawberry
{py3.8,py3.11}-strawberry-v{0.209}
{py3.8,py3.11,py3.12}-strawberry-v{0.222}
{py3.8,py3.11,py3.12}-strawberry-latest

# Tornado
{py3.8,py3.11,py3.12}-tornado-v{6.0}
{py3.8,py3.11,py3.12}-tornado-v{6}
{py3.8,py3.11,py3.12}-tornado-v{6.2}
{py3.8,py3.11,py3.12}-tornado-latest

# Trytond
Expand Down Expand Up @@ -273,7 +274,8 @@ deps =
{py3.6,py3.7,py3.8,py3.9,py3.10,py3.11,py3.12}-common: pytest<7.0.0

# === Gevent ===
{py3.6,py3.7,py3.8,py3.9,py3.10,py3.11,py3.12}-gevent: gevent>=22.10.0, <22.11.0
{py3.6,py3.7,py3.8,py3.9,py3.10,py3.11}-gevent: gevent>=22.10.0, <22.11.0
{py3.12}-gevent: gevent
# See https://github.com/pytest-dev/pytest/issues/9621
# and https://github.com/pytest-dev/pytest-forked/issues/67
# for justification of the upper bound on pytest
Expand Down Expand Up @@ -327,8 +329,8 @@ deps =

# Boto3
boto3-v1.12: boto3~=1.12.0
boto3-v1.21: boto3~=1.21.0
boto3-v1.29: boto3~=1.29.0
boto3-v1.23: boto3~=1.23.0
boto3-v1.34: boto3~=1.34.0
boto3-latest: boto3

# Bottle
Expand All @@ -343,18 +345,18 @@ deps =
celery-v5.1: Celery~=5.1.0
celery-v5.2: Celery~=5.2.0
celery-v5.3: Celery~=5.3.0
celery-v5.4: Celery~=5.4.0
celery-latest: Celery

{py3.7}-celery: importlib-metadata<5.0
{py3.6,py3.7,py3.8,py3.9,py3.10,py3.11}-celery: newrelic
{py3.6,py3.7,py3.8,py3.9,py3.10,py3.11,py3.12}-celery: newrelic

# Chalice
chalice-v1.16: chalice~=1.16.0
chalice-latest: chalice
chalice: pytest-chalice==0.0.5

{py3.7}-chalice: botocore~=1.31
{py3.8}-chalice: botocore~=1.31
{py3.7,py3.8}-chalice: botocore~=1.31

# Clickhouse Driver
clickhouse_driver-v0.2.0: clickhouse_driver~=0.2.0
Expand Down Expand Up @@ -458,6 +460,7 @@ deps =
httpx-v0.23: httpx~=0.23.0
httpx-v0.24: httpx~=0.24.0
httpx-v0.25: httpx~=0.25.0
httpx-v0.27: httpx~=0.27.0
httpx-latest: httpx

# Huey
Expand Down Expand Up @@ -503,7 +506,7 @@ deps =
pymongo-v3.13: pymongo~=3.13.0
pymongo-v4.0: pymongo~=4.0.0
pymongo-v4.3: pymongo~=4.3.0
pymongo-v4.6: pymongo~=4.6.0
pymongo-v4.7: pymongo~=4.7.0
pymongo-latest: pymongo

# Pyramid
Expand Down Expand Up @@ -546,14 +549,15 @@ deps =
rq-v{0.6}: fakeredis<1.0
rq-v{0.6}: redis<3.2.2
rq-v{0.13,1.0,1.5,1.10}: fakeredis>=1.0,<1.7.4
rq-v{1.15}: fakeredis
rq-v{1.15,1.16}: fakeredis
rq-latest: fakeredis
rq-v0.6: rq~=0.6.0
rq-v0.13: rq~=0.13.0
rq-v1.0: rq~=1.0.0
rq-v1.5: rq~=1.5.0
rq-v1.10: rq~=1.10.0
rq-v1.15: rq~=1.15.0
rq-v1.16: rq~=1.16.0
rq-latest: rq

# Sanic
Expand Down Expand Up @@ -587,6 +591,7 @@ deps =
starlette-v0.24: starlette~=0.24.0
starlette-v0.28: starlette~=0.28.0
starlette-v0.32: starlette~=0.32.0
starlette-v0.36: starlette~=0.36.0
starlette-latest: starlette

# Starlite
Expand All @@ -609,12 +614,13 @@ deps =
strawberry: flask
strawberry: httpx
strawberry-v0.209: strawberry-graphql[fastapi,flask]~=0.209.0
strawberry-v0.222: strawberry-graphql[fastapi,flask]~=0.222.0
strawberry-latest: strawberry-graphql[fastapi,flask]

# Tornado
tornado: pytest<8.2
tornado-v6.0: tornado~=6.0.0
tornado-v6: tornado~=6.0
tornado-v6.2: tornado~=6.2.0
tornado-latest: tornado

# Trytond
Expand Down

0 comments on commit 6c7374e

Please sign in to comment.