Skip to content

Commit

Permalink
Support newest starlette versions (getsentry#2227)
Browse files Browse the repository at this point in the history
Update our test matrix to support current Starlette versions. (only testing every other version, because otherwise it would be too much versions to test)
  • Loading branch information
antonpirker committed Jul 4, 2023
1 parent 8d2f854 commit d0f8d98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/integrations/starlette/test_starlette.py
Expand Up @@ -62,7 +62,6 @@
starlette.datastructures.UploadFile(
filename="photo.jpg",
file=open(PICTURE, "rb"),
content_type="image/jpeg",
),
),
]
Expand Down
10 changes: 6 additions & 4 deletions tox.ini
Expand Up @@ -141,7 +141,7 @@ envlist =
{py3.7,py3.8,py3.9,py3.10,py3.11}-sanic-v{22}

# Starlette
{py3.7,py3.8,py3.9,py3.10,py3.11}-starlette-v{0.19.1,0.20,0.21}
{py3.7,py3.8,py3.9,py3.10,py3.11}-starlette-v{0.20,0.22,0.24,0.26,0.28}

# Starlite
{py3.8,py3.9,py3.10,py3.11}-starlite
Expand Down Expand Up @@ -411,10 +411,12 @@ deps =
starlette: pytest-asyncio
starlette: python-multipart
starlette: requests
starlette-v0.21: httpx
starlette-v0.19.1: starlette==0.19.1
starlette: httpx
starlette-v0.20: starlette>=0.20.0,<0.21.0
starlette-v0.21: starlette>=0.21.0,<0.22.0
starlette-v0.22: starlette>=0.22.0,<0.23.0
starlette-v0.24: starlette>=0.24.0,<0.25.0
starlette-v0.26: starlette>=0.26.0,<0.27.0
starlette-v0.28: starlette>=0.28.0,<0.29.0

# Starlite
starlite: pytest-asyncio
Expand Down

0 comments on commit d0f8d98

Please sign in to comment.