From 3a02cd4124c9a958c4634b6f5925fd18ec3d01ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 26 Apr 2026 11:25:48 -0700 Subject: [PATCH] python3Packages.executing: don't depend on rich It is only used in scripts that aren't executed during pytestCheckHook. --- pkgs/development/python-modules/executing/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/executing/default.nix b/pkgs/development/python-modules/executing/default.nix index b9e53f4471c5..761190abda5c 100644 --- a/pkgs/development/python-modules/executing/default.nix +++ b/pkgs/development/python-modules/executing/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonAtLeast, # build-system setuptools, @@ -11,7 +10,6 @@ # tests asttokens, littleutils, - rich, pytestCheckHook, }: @@ -36,8 +34,7 @@ buildPythonPackage rec { asttokens littleutils pytestCheckHook - ] - ++ lib.optionals (pythonAtLeast "3.11") [ rich ]; + ]; disabledTests = [ # requires ipython, which causes a circular dependency