From 1b8129e32aaca87defe7d07b510a2d897acc6a7a Mon Sep 17 00:00:00 2001 From: Igor Date: Tue, 14 Oct 2025 09:36:29 +0200 Subject: [PATCH 1/3] add python 3.14 support to cicd script --- docker/set-python-version.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/set-python-version.sh b/docker/set-python-version.sh index a349c719..6331e982 100644 --- a/docker/set-python-version.sh +++ b/docker/set-python-version.sh @@ -6,7 +6,10 @@ PYTHON_VERSION=${1} function parse_version { local version=${1} - if [[ ${version} == 3.13* ]] + if [[ ${version} == 3.14* ]] + then + echo "cp314-cp314" + elif [[ ${version} == 3.13* ]] then echo "cp313-cp313" elif [[ ${version} == 3.12* ]] From 4b0f71b799123c2761c62c95134815fd2d8f9d77 Mon Sep 17 00:00:00 2001 From: Igor Date: Tue, 14 Oct 2025 11:28:44 +0200 Subject: [PATCH 2/3] go back to old multiprocessing behavior --- tests/test_firehose.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_firehose.py b/tests/test_firehose.py index dd8d00d2..fff49233 100644 --- a/tests/test_firehose.py +++ b/tests/test_firehose.py @@ -24,7 +24,8 @@ def _ensure_timeout(f, timeout=3): # This test is useful, so if you know how to fix this under e.g. Windows, let's # fix it! if platform == "linux" or platform == "linux2": - p = multiprocessing.Process(target=f) + ctx = multiprocessing.get_context("fork") + p = ctx.Process(target=f) p.start() p.join(timeout) From 696832777b13894b7b91d5c6903c10caf00a3653 Mon Sep 17 00:00:00 2001 From: Igor Date: Wed, 15 Oct 2025 10:37:36 +0200 Subject: [PATCH 3/3] add comment --- tests/test_firehose.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_firehose.py b/tests/test_firehose.py index fff49233..cce974e4 100644 --- a/tests/test_firehose.py +++ b/tests/test_firehose.py @@ -24,6 +24,8 @@ def _ensure_timeout(f, timeout=3): # This test is useful, so if you know how to fix this under e.g. Windows, let's # fix it! if platform == "linux" or platform == "linux2": + # way of starting process on Linux changed in python 3.14 from fork to forkserver: https://github.com/python/cpython/issues/84559 + # to keep this test working on newer python versions we specify the "fork" method explicitly ctx = multiprocessing.get_context("fork") p = ctx.Process(target=f) p.start()