From 79a3ef011f0cb1bfe5091a625e02b0d92acdc279 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 26 Feb 2025 17:37:23 +0100 Subject: [PATCH] python312Packages.bokeh: cleanup --- pkgs/development/python-modules/bokeh/default.nix | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/bokeh/default.nix b/pkgs/development/python-modules/bokeh/default.nix index d08448401f15..6a914db34713 100644 --- a/pkgs/development/python-modules/bokeh/default.nix +++ b/pkgs/development/python-modules/bokeh/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchPypi, - fetchFromGitHub, pythonOlder, replaceVars, colorama, @@ -56,13 +55,6 @@ buildPythonPackage rec { hash = "sha256-m4HWqepi51oEoanZ+TGUIBaJC+7Jq10SmipEMs9ZXAo="; }; - src_test = fetchFromGitHub { - owner = "bokeh"; - repo = "bokeh"; - rev = "refs/tags/${version}"; - hash = "sha256-MAv+6bwc5f+jZasRDsYTJ/ir0i1pYCuwqPMumsYWvws="; - }; - patches = [ (replaceVars ./hardcode-nodejs-npmjs-paths.patch { node_bin = "${nodejs}/bin/node"; @@ -122,11 +114,8 @@ buildPythonPackage rec { ]; doCheck = false; # need more work - pytestFlagsArray = "tests/test_defaults.py"; + pythonImportsCheck = [ "bokeh" ]; - preCheck = '' - cp -rv ''${src_test}/tests/* ./tests/ - ''; meta = { description = "Statistical and novel interactive HTML plots for Python";