Skip to content
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test-integrations-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6","3.7","3.8","3.10","3.11","3.12","3.13"]
python-version: ["3.7","3.8","3.10","3.11","3.12","3.13"]
# 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 Expand Up @@ -115,7 +115,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12"]
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13"]
# 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
17 changes: 17 additions & 0 deletions scripts/populate_tox/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
},
"python": ">=3.8",
},
"celery": {
"package": "celery",
"deps": {
"*": ["newrelic", "redis"],
"py3.7": ["importlib-metadata<5.0"],
},
},
"dramatiq": {
"package": "dramatiq",
},
"gql": {
"package": "gql[all]",
},
Expand All @@ -23,6 +33,13 @@
"py3.6": ["aiocontextvars"],
},
},
"huey": {
"package": "huey",
},
"spark": {
"package": "pyspark",
"python": ">=3.8",
},
"strawberry": {
"package": "strawberry-graphql[fastapi,flask]",
"deps": {
Expand Down
4 changes: 0 additions & 4 deletions scripts/populate_tox/populate_tox.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,18 @@
"beam",
"boto3",
"bottle",
"celery",
"chalice",
"clickhouse_driver",
"cohere",
"cloud_resource_context",
"cohere",
"django",
"dramatiq",
"falcon",
"fastapi",
"flask",
"gcp",
"grpc",
"httpx",
"huey",
"huggingface_hub",
"langchain",
"langchain_notiktoken",
Expand All @@ -97,7 +94,6 @@
"requests",
"rq",
"sanic",
"spark",
"starlette",
"starlite",
"sqlalchemy",
Expand Down
54 changes: 0 additions & 54 deletions scripts/populate_tox/tox.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,6 @@ envlist =
{py3.6,py3.9}-bottle-v{0.12}
{py3.6,py3.12,py3.13}-bottle-latest

# Celery
{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,py3.12}-celery-v{5.3,5.4,5.5}
{py3.8,py3.12,py3.13}-celery-latest

# Chalice
{py3.6,py3.9}-chalice-v{1.16}
{py3.8,py3.12,py3.13}-chalice-latest
Expand Down Expand Up @@ -111,12 +104,6 @@ envlist =
{py3.10,py3.11,py3.12}-django-v{5.0,5.1}
{py3.10,py3.12,py3.13}-django-latest

# dramatiq
{py3.6,py3.9}-dramatiq-v{1.13}
{py3.7,py3.10,py3.11}-dramatiq-v{1.15}
{py3.8,py3.11,py3.12}-dramatiq-v{1.17}
{py3.8,py3.11,py3.12}-dramatiq-latest

# Falcon
{py3.6,py3.7}-falcon-v{1,1.4,2}
{py3.6,py3.11,py3.12}-falcon-v{3}
Expand Down Expand Up @@ -149,10 +136,6 @@ envlist =
{py3.9,py3.11,py3.12}-httpx-v{0.25,0.27}
{py3.9,py3.12,py3.13}-httpx-latest

# Huey
{py3.6,py3.11,py3.12}-huey-v{2.0}
{py3.6,py3.12,py3.13}-huey-latest

# Huggingface Hub
{py3.9,py3.12,py3.13}-huggingface_hub-{v0.22}
{py3.9,py3.12,py3.13}-huggingface_hub-latest
Expand Down Expand Up @@ -245,10 +228,6 @@ envlist =
{py3.8,py3.11,py3.12}-sanic-v{24.6}
{py3.9,py3.12,py3.13}-sanic-latest

# Spark
{py3.8,py3.10,py3.11}-spark-v{3.1,3.3,3.5}
{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.24,0.28}
Expand Down Expand Up @@ -380,21 +359,6 @@ deps =
bottle-v0.12: bottle~=0.12.0
bottle-latest: bottle

# Celery
celery: redis
celery-v4: Celery~=4.0
celery-v5.0: Celery~=5.0.0
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
# TODO: update when stable is out
celery-v5.5: Celery==5.5.0rc4
celery-latest: Celery

celery: newrelic
{py3.7}-celery: importlib-metadata<5.0

# Chalice
chalice: pytest-chalice==0.0.5
chalice-v1.16: chalice~=1.16.0
Expand Down Expand Up @@ -437,12 +401,6 @@ deps =
django-v5.1: Django==5.1rc1
django-latest: Django

# dramatiq
dramatiq-v1.13: dramatiq>=1.13,<1.14
dramatiq-v1.15: dramatiq>=1.15,<1.16
dramatiq-v1.17: dramatiq>=1.17,<1.18
dramatiq-latest: dramatiq

# Falcon
falcon-v1.4: falcon~=1.4.0
falcon-v1: falcon~=1.0
Expand Down Expand Up @@ -502,10 +460,6 @@ deps =
httpx-v0.27: httpx~=0.27.0
httpx-latest: httpx

# Huey
huey-v2.0: huey~=2.0.0
huey-latest: huey

# Huggingface Hub
huggingface_hub-v0.22: huggingface_hub~=0.22.2
huggingface_hub-latest: huggingface_hub
Expand Down Expand Up @@ -653,14 +607,6 @@ deps =
sanic-v24.6: sanic~=24.6.0
sanic-latest: sanic

# Spark
spark-v3.1: pyspark~=3.1.0
spark-v3.3: pyspark~=3.3.0
spark-v3.5: pyspark~=3.5.0
# TODO: update to ~=4.0.0 once stable is out
spark-v4.0: pyspark==4.0.0.dev2
spark-latest: pyspark

# Starlette
starlette: pytest-asyncio
starlette: python-multipart
Expand Down
99 changes: 45 additions & 54 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,6 @@ envlist =
{py3.6,py3.9}-bottle-v{0.12}
{py3.6,py3.12,py3.13}-bottle-latest

# Celery
{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,py3.12}-celery-v{5.3,5.4,5.5}
{py3.8,py3.12,py3.13}-celery-latest

# Chalice
{py3.6,py3.9}-chalice-v{1.16}
{py3.8,py3.12,py3.13}-chalice-latest
Expand Down Expand Up @@ -111,12 +104,6 @@ envlist =
{py3.10,py3.11,py3.12}-django-v{5.0,5.1}
{py3.10,py3.12,py3.13}-django-latest

# dramatiq
{py3.6,py3.9}-dramatiq-v{1.13}
{py3.7,py3.10,py3.11}-dramatiq-v{1.15}
{py3.8,py3.11,py3.12}-dramatiq-v{1.17}
{py3.8,py3.11,py3.12}-dramatiq-latest

# Falcon
{py3.6,py3.7}-falcon-v{1,1.4,2}
{py3.6,py3.11,py3.12}-falcon-v{3}
Expand Down Expand Up @@ -149,10 +136,6 @@ envlist =
{py3.9,py3.11,py3.12}-httpx-v{0.25,0.27}
{py3.9,py3.12,py3.13}-httpx-latest

# Huey
{py3.6,py3.11,py3.12}-huey-v{2.0}
{py3.6,py3.12,py3.13}-huey-latest

# Huggingface Hub
{py3.9,py3.12,py3.13}-huggingface_hub-{v0.22}
{py3.9,py3.12,py3.13}-huggingface_hub-latest
Expand Down Expand Up @@ -245,10 +228,6 @@ envlist =
{py3.8,py3.11,py3.12}-sanic-v{24.6}
{py3.9,py3.12,py3.13}-sanic-latest

# Spark
{py3.8,py3.10,py3.11}-spark-v{3.1,3.3,3.5}
{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.24,0.28}
Expand Down Expand Up @@ -306,6 +285,27 @@ envlist =
{py3.9,py3.12,py3.13}-strawberry-v0.259.0


# ~~~ Tasks ~~~
{py3.6,py3.7,py3.8}-celery-v4.4.7
{py3.6,py3.7,py3.8}-celery-v5.0.5
{py3.8,py3.11,py3.12}-celery-v5.4.0

{py3.6,py3.7}-dramatiq-v1.9.0
{py3.6,py3.8,py3.9}-dramatiq-v1.12.3
{py3.7,py3.10,py3.11}-dramatiq-v1.15.0
{py3.8,py3.12,py3.13}-dramatiq-v1.17.1

{py3.6,py3.7}-huey-v2.2.0
{py3.6,py3.7}-huey-v2.3.2
{py3.6,py3.10,py3.11}-huey-v2.4.5
{py3.6,py3.11,py3.12}-huey-v2.5.2

{py3.8,py3.9}-spark-v3.0.3
{py3.8,py3.9}-spark-v3.2.4
{py3.8,py3.10,py3.11}-spark-v3.4.4
{py3.8,py3.10,py3.11}-spark-v3.5.4



[testenv]
deps =
Expand Down Expand Up @@ -388,21 +388,6 @@ deps =
bottle-v0.12: bottle~=0.12.0
bottle-latest: bottle

# Celery
celery: redis
celery-v4: Celery~=4.0
celery-v5.0: Celery~=5.0.0
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
# TODO: update when stable is out
celery-v5.5: Celery==5.5.0rc4
celery-latest: Celery

celery: newrelic
{py3.7}-celery: importlib-metadata<5.0

# Chalice
chalice: pytest-chalice==0.0.5
chalice-v1.16: chalice~=1.16.0
Expand Down Expand Up @@ -445,12 +430,6 @@ deps =
django-v5.1: Django==5.1rc1
django-latest: Django

# dramatiq
dramatiq-v1.13: dramatiq>=1.13,<1.14
dramatiq-v1.15: dramatiq>=1.15,<1.16
dramatiq-v1.17: dramatiq>=1.17,<1.18
dramatiq-latest: dramatiq

# Falcon
falcon-v1.4: falcon~=1.4.0
falcon-v1: falcon~=1.0
Expand Down Expand Up @@ -510,10 +489,6 @@ deps =
httpx-v0.27: httpx~=0.27.0
httpx-latest: httpx

# Huey
huey-v2.0: huey~=2.0.0
huey-latest: huey

# Huggingface Hub
huggingface_hub-v0.22: huggingface_hub~=0.22.2
huggingface_hub-latest: huggingface_hub
Expand Down Expand Up @@ -661,14 +636,6 @@ deps =
sanic-v24.6: sanic~=24.6.0
sanic-latest: sanic

# Spark
spark-v3.1: pyspark~=3.1.0
spark-v3.3: pyspark~=3.3.0
spark-v3.5: pyspark~=3.5.0
# TODO: update to ~=4.0.0 once stable is out
spark-v4.0: pyspark==4.0.0.dev2
spark-latest: pyspark

# Starlette
starlette: pytest-asyncio
starlette: python-multipart
Expand Down Expand Up @@ -755,6 +722,30 @@ deps =
strawberry: httpx


# ~~~ Tasks ~~~
celery-v4.4.7: celery==4.4.7
celery-v5.0.5: celery==5.0.5
celery-v5.4.0: celery==5.4.0
celery: newrelic
celery: redis
py3.7-celery: importlib-metadata<5.0

dramatiq-v1.9.0: dramatiq==1.9.0
dramatiq-v1.12.3: dramatiq==1.12.3
dramatiq-v1.15.0: dramatiq==1.15.0
dramatiq-v1.17.1: dramatiq==1.17.1

huey-v2.2.0: huey==2.2.0
huey-v2.3.2: huey==2.3.2
huey-v2.4.5: huey==2.4.5
huey-v2.5.2: huey==2.5.2

spark-v3.0.3: pyspark==3.0.3
spark-v3.2.4: pyspark==3.2.4
spark-v3.4.4: pyspark==3.4.4
spark-v3.5.4: pyspark==3.5.4



setenv =
PYTHONDONTWRITEBYTECODE=1
Expand Down
Loading