Skip to content

Commit dccd3cf

Browse files
committed
chore: fix tests on py3.8
Tests were failing because the sanic dependency dropped support for py3.8 in its current release. sanic is now pinned to the last compatible version for py3.8 only. Signed-off-by: Hal Blackburn <hwtb2@cam.ac.uk>
1 parent f611c29 commit dccd3cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

requirements/test.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ flake8-print
44
pytest
55
pytest-cov
66
# web app tests
7-
sanic
7+
8+
# sanic stopped supporting 3.8 in 24.12:
9+
# https://sanic.dev/en/release-notes/changelog.html#version-24120-
10+
sanic ; python_version >= '3.9'
11+
sanic<24.12.0 ; python_version < '3.9'
12+
813
sanic-testing
914
aiohttp
1015
Pillow

0 commit comments

Comments
 (0)