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.
This commit is contained in:
natsukium
2025-11-25 12:39:05 -08:00
committed by Robert Schütz
parent 5a8cbd2150
commit 89c216599a
@@ -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