Python 3.14.0 has been released, and “Free-threaded Python is officially supported”. However using Python 3.14.0t
and running the functional tests results in a failure in interface_ipc.py
:
0./build/test/functional/test_runner.py interface_ipc.py
1Temporary test directory at /var/folders/sq/z88fhjzj0b19ftsd2_bjrmjm0000gn/T/test_runner_₿_🏃_20251009_094704
2Remaining jobs: [interface_ipc.py]
31/1 - interface_ipc.py failed, Duration: 7 s
4
5stdout:
62025-10-09T08:47:05.067786Z TestFramework (INFO): PRNG seed is: 8793929945784019901
72025-10-09T08:47:05.069073Z TestFramework (INFO): Initializing test directory /var/folders/sq/z88fhjzj0b19ftsd2_bjrmjm0000gn/T/test_runner_₿_🏃_20251009_094704/interface_ipc_0
82025-10-09T08:47:05.880408Z TestFramework (INFO): Running echo test
92025-10-09T08:47:05.883429Z TestFramework (INFO): Running mining test
102025-10-09T08:47:12.059233Z TestFramework (INFO): Stopping nodes
112025-10-09T08:47:12.173668Z TestFramework (INFO): Cleaning up /var/folders/sq/z88fhjzj0b19ftsd2_bjrmjm0000gn/T/test_runner_₿_🏃_20251009_094704/interface_ipc_0 on exit
122025-10-09T08:47:12.173842Z TestFramework (INFO): Tests successful
13[node 0] Cleaning up ipc directory '/var/folders/sq/z88fhjzj0b19ftsd2_bjrmjm0000gn/T/test-ipc-s5k_0gog'
14
15
16stderr:
17<frozen importlib._bootstrap>:491: RuntimeWarning: The global interpreter lock (GIL) has been enabled to load module 'capnp.lib.capnp', which has not declared that it can run safely without the GIL. To override this behavior and keep the GIL disabled (at your own risk), run with PYTHON_GIL=0 or -Xgil=0.
18
19
20
21TEST | STATUS | DURATION
22
23interface_ipc.py | ✖ Failed | 7 s
24
25ALL | ✖ Failed | 7 s (accumulated)
26Runtime: 7 s
This is using the latest available version of pycapnp
, installed from git. i.e https://github.com/capnproto/pycapnp/commit/c14fd7036aaef45cadef8ce4673dc6612ffc3198.