From 89c216599afd8f47017e9bb3331efe993c44ce36 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sun, 9 Nov 2025 23:22:40 +0900 Subject: [PATCH] python314Packages.trio: fix build jedi has no compatibility with Python 3.14 yet, so conditionally include it only for older Python versions to allow trio to build successfully. --- pkgs/development/python-modules/trio/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/trio/default.nix b/pkgs/development/python-modules/trio/default.nix index 99a6a5e5d221..c6a6fd857fb0 100644 --- a/pkgs/development/python-modules/trio/default.nix +++ b/pkgs/development/python-modules/trio/default.nix @@ -63,13 +63,15 @@ buildPythonPackage rec { nativeCheckInputs = [ astor - jedi pyopenssl pytestCheckHook pytest-trio' pyyaml trustme - ]; + ] + # jedi has no compatibility with python 3.14 yet + # https://github.com/davidhalter/jedi/issues/2064 + ++ lib.optional (pythonOlder "3.14") jedi; preCheck = '' export HOME=$TMPDIR