Skip to content

Commit c10f8d6

Browse files
mitchh456claude
andcommitted
Add explicit Starlette 1.0 test matrix and update classifiers
Add dedicated tox environments to test against both Starlette 0.36.x and 1.0.x, verifying compatibility of Scout's ASGI middleware with the Starlette 1.0 stable release. Also update setup.py classifiers to reflect tested Django 5.x and Python 3.13/3.14 support. Closes #836 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 58a6eed commit c10f8d6

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
7373
"Framework :: Django :: 4.0",
7474
"Framework :: Django :: 4.1",
7575
"Framework :: Django :: 4.2",
76+
"Framework :: Django :: 5.0",
77+
"Framework :: Django :: 5.1",
78+
"Framework :: Django :: 5.2",
7679
"Framework :: Flask",
7780
"Intended Audience :: Developers",
7881
"Topic :: System :: Monitoring",
@@ -85,5 +88,7 @@
8588
"Programming Language :: Python :: 3.10",
8689
"Programming Language :: Python :: 3.11",
8790
"Programming Language :: Python :: 3.12",
91+
"Programming Language :: Python :: 3.13",
92+
"Programming Language :: Python :: 3.14",
8893
],
8994
)

tox.ini

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ envlist =
44
{py310,py311,py312,py313}-django{40,41,42},
55
{py310,py311,py312,py313}-django{50a,51,52},
66
py314-django52,
7+
{py310,py311,py312,py313}-starlette{036,10},
8+
py314-starlette10,
79
[testenv]
810
passenv =
911
ELASTICSEARCH_URL
@@ -51,7 +53,9 @@ deps =
5153
rq
5254
six
5355
sqlalchemy
54-
starlette
56+
!starlette036-!starlette10: starlette
57+
starlette036: starlette>=0.36,<0.37
58+
starlette10: starlette>=1.0,<1.1
5559
webtest
5660
commands =
5761
pytest {posargs}
@@ -60,3 +64,7 @@ commands =
6064
[testenv:py{38,310,311,312,313,314}-django{40,41,42,50a,51,52}]
6165
commands =
6266
pytest {posargs} --asyncio-mode=auto
67+
68+
[testenv:py{310,311,312,313,314}-starlette{036,10}]
69+
commands =
70+
pytest {posargs} --asyncio-mode=auto

0 commit comments

Comments
 (0)