From 06e62af5c4abc63292157ba37df2293d408a32b6 Mon Sep 17 00:00:00 2001 From: Ruben Vorderman Date: Wed, 24 Jan 2024 12:18:48 +0100 Subject: [PATCH 1/2] Test on latest python 3.13 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 338a177c..5193c14a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,6 +62,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13-dev" - "pypy-3.9" - "pypy-3.10" os: ["ubuntu-latest"] From 694059a189ff24d112f91ecb0b9fa279f828fa28 Mon Sep 17 00:00:00 2001 From: Ruben Vorderman Date: Wed, 24 Jan 2024 12:21:49 +0100 Subject: [PATCH 2/2] Do not use private _PyBytes_Join API call --- src/isal/isal_zlibmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/isal/isal_zlibmodule.c b/src/isal/isal_zlibmodule.c index 2c5c8a92..4ba540ec 100644 --- a/src/isal/isal_zlibmodule.c +++ b/src/isal/isal_zlibmodule.c @@ -2017,7 +2017,7 @@ GzipReader_readall(GzipReader *self, PyObject *Py_UNUSED(ignore)) Py_DECREF(chunk_list); return NULL; } - PyObject *ret = _PyBytes_Join(empty_bytes, chunk_list); + PyObject *ret = PyObject_CallMethod(empty_bytes, "join", "O", chunk_list); Py_DECREF(empty_bytes); Py_DECREF(chunk_list); return ret;