Skip to content

Commit f84bf0d

Browse files
committed
ci(sanic): Run sanic tests on python-3.13
Signed-off-by: Varsha GS <varsha.gs@ibm.com>
1 parent 1c2dae3 commit f84bf0d

3 files changed

Lines changed: 7 additions & 13 deletions

File tree

tests/conftest.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,13 @@
5050
collect_ignore_glob.append("*test_spyne*")
5151

5252

53-
if sys.version_info >= (3, 13):
54-
# Currently not installable dependencies because of 3.13 incompatibilities
55-
collect_ignore_glob.append("*test_sanic*")
56-
57-
5853
if sys.version_info >= (3, 14):
5954
# Currently not installable dependencies because of 3.14 incompatibilities
6055
collect_ignore_glob.append("*test_fastapi*")
6156
# aiohttp-server tests failing due to deprecated methods used
6257
collect_ignore_glob.append("*test_aiohttp_server*")
58+
# Currently Saniic does not support python >= 3.14
59+
collect_ignore_glob.append("*test_sanic*")
6360

6461

6562
@pytest.fixture(scope="session")

tests/requirements-pre314.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ pytz>=2024.1
3131
redis>=3.5.3
3232
requests-mock
3333
responses<=0.17.0
34-
# Sanic is not installable on 3.13 because `httptools, uvloop` dependencies fail to compile:
35-
# `too few arguments to function ‘_PyLong_AsByteArray’`
36-
sanic>=19.9.0; python_version < "3.13"
37-
sanic-testing>=24.6.0; python_version < "3.13"
34+
# Sanic doesn't support python-3.14 yet
35+
# sanic>=19.9.0
36+
# sanic-testing>=24.6.0
3837
starlette>=0.38.2
3938
sqlalchemy>=2.0.0
4039
tornado>=6.4.1

tests/requirements.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,9 @@ pytz>=2024.1
3131
redis>=3.5.3
3232
requests-mock
3333
responses<=0.17.0
34-
# Sanic is not installable on 3.13 because `httptools, uvloop` dependencies fail to compile:
35-
# `too few arguments to function ‘_PyLong_AsByteArray’`
3634
sanic<=24.6.0; python_version < "3.9"
37-
sanic>=19.9.0; python_version >= "3.9" and python_version < "3.13"
38-
sanic-testing>=24.6.0; python_version < "3.13"
35+
sanic>=19.9.0; python_version >= "3.9"
36+
sanic-testing>=24.6.0
3937
spyne>=2.14.0; python_version < "3.12"
4038
sqlalchemy>=2.0.0
4139
starlette>=0.38.2; python_version == "3.13"

0 commit comments

Comments
 (0)