From 71fa9158c78ca9348ec8f6bee7dbae7826ca4417 Mon Sep 17 00:00:00 2001 From: Harinn Date: Sat, 23 May 2026 20:27:53 +0700 Subject: [PATCH] python3Packages.pycyphal: disable doctests broken by asyncio task leaks on python 3.14 --- pkgs/development/python-modules/pycyphal/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/pycyphal/default.nix b/pkgs/development/python-modules/pycyphal/default.nix index 8fed197d2e4d..a53a14fde62c 100644 --- a/pkgs/development/python-modules/pycyphal/default.nix +++ b/pkgs/development/python-modules/pycyphal/default.nix @@ -95,6 +95,13 @@ buildPythonPackage rec { "pycyphal/application/register/_value.py" ]; + disabledTests = lib.optionals (pythonAtLeast "3.14") [ + # leaked tasks from prior doctest's event loop break doctest stdout capture, causing "Got nothing" on REPL-style assertions + "MonotonicClusteringSynchronizer" + "TransferIDSynchronizer" + "PythonCANMedia" + ]; + pythonImportsCheck = [ "pycyphal" ]; meta = {