From 921d225f292b558d3313a14a91defed2a43d3be4 Mon Sep 17 00:00:00 2001 From: Varsha GS Date: Wed, 18 Jun 2025 12:18:28 +0530 Subject: [PATCH 1/2] fix(sanic): Downgrading `tracerite` to fix the bug introduced in version `1.1.2` Signed-off-by: Varsha GS --- tests/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/requirements.txt b/tests/requirements.txt index d1c6c1a8..0932a65a 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -40,6 +40,7 @@ spyne>=2.14.0; python_version < "3.12" sqlalchemy>=2.0.0 starlette>=0.38.2; python_version == "3.13" tornado>=6.4.1 +tracerite<=1.1.1 uvicorn>=0.13.4 urllib3>=1.26.5 httpx>=0.27.0 From b76f926269e99e2d1dffc3ac17a2a80f8a39a85d Mon Sep 17 00:00:00 2001 From: Varsha GS Date: Wed, 18 Jun 2025 15:19:28 +0530 Subject: [PATCH 2/2] ci(sanic): Run `sanic` tests on `python-3.13` Signed-off-by: Varsha GS --- tests/conftest.py | 7 ++----- tests/requirements-pre314.txt | 7 +++---- tests/requirements.txt | 6 ++---- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 130950e2..e86c4be3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -50,16 +50,13 @@ collect_ignore_glob.append("*test_spyne*") -if sys.version_info >= (3, 13): - # Currently not installable dependencies because of 3.13 incompatibilities - collect_ignore_glob.append("*test_sanic*") - - if sys.version_info >= (3, 14): # Currently not installable dependencies because of 3.14 incompatibilities collect_ignore_glob.append("*test_fastapi*") # aiohttp-server tests failing due to deprecated methods used collect_ignore_glob.append("*test_aiohttp_server*") + # Currently Saniic does not support python >= 3.14 + collect_ignore_glob.append("*test_sanic*") @pytest.fixture(scope="session") diff --git a/tests/requirements-pre314.txt b/tests/requirements-pre314.txt index 57a1cb23..0a025d53 100644 --- a/tests/requirements-pre314.txt +++ b/tests/requirements-pre314.txt @@ -31,10 +31,9 @@ pytz>=2024.1 redis>=3.5.3 requests-mock responses<=0.17.0 -# Sanic is not installable on 3.13 because `httptools, uvloop` dependencies fail to compile: -# `too few arguments to function ‘_PyLong_AsByteArray’` -sanic>=19.9.0; python_version < "3.13" -sanic-testing>=24.6.0; python_version < "3.13" +# Sanic doesn't support python-3.14 yet +# sanic>=19.9.0 +# sanic-testing>=24.6.0 starlette>=0.38.2 sqlalchemy>=2.0.0 tornado>=6.4.1 diff --git a/tests/requirements.txt b/tests/requirements.txt index 0932a65a..4c0c9303 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -31,11 +31,9 @@ pytz>=2024.1 redis>=3.5.3 requests-mock responses<=0.17.0 -# Sanic is not installable on 3.13 because `httptools, uvloop` dependencies fail to compile: -# `too few arguments to function ‘_PyLong_AsByteArray’` sanic<=24.6.0; python_version < "3.9" -sanic>=19.9.0; python_version >= "3.9" and python_version < "3.13" -sanic-testing>=24.6.0; python_version < "3.13" +sanic>=19.9.0; python_version >= "3.9" +sanic-testing>=24.6.0 spyne>=2.14.0; python_version < "3.12" sqlalchemy>=2.0.0 starlette>=0.38.2; python_version == "3.13"