python3Packages.bokeh: 3.3.4 -> 3.4.1

This commit is contained in:
Martin Weinelt
2024-04-22 13:59:48 +02:00
parent e33c6b16c6
commit 3344f66b4f
2 changed files with 8 additions and 9 deletions
@@ -1,5 +1,4 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
@@ -8,7 +7,6 @@
, colorama
, contourpy
, jinja2
, mock
, numpy
, nodejs
, packaging
@@ -48,14 +46,14 @@
buildPythonPackage rec {
pname = "bokeh";
# update together with panel which is not straightforward
version = "3.3.4";
version = "3.4.1";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-c7eYLcK43xW/Zgzd3I04JegpGVxDgBWl0Jgk8acCg2g=";
hash = "sha256-2CSWHkJlNnsHUM5YsH5WStC4PKZLM1UhzTQh6bnxDYk=";
};
src_test = fetchFromGitHub {
@@ -1,14 +1,15 @@
diff -ru a/src/bokeh/util/compiler.py b/src/bokeh/util/compiler.py
diff --git a/src/bokeh/util/compiler.py b/src/bokeh/util/compiler.py
index 4f4314ac8..726610f4c 100644
--- a/src/bokeh/util/compiler.py
+++ b/src/bokeh/util/compiler.py
@@ -411,8 +411,8 @@
@@ -411,8 +411,8 @@ def _detect_nodejs() -> Path:
raise RuntimeError(f'node.js v{version_repr} or higher is needed to allow compilation of custom models ' +
'("conda install nodejs" or follow https://nodejs.org/en/download/)')
-_nodejs = None
-_npmjs = None
-_nodejs: Path | None = None
-_npmjs: Path | None = None
+_nodejs = "@node_bin@"
+_npmjs = "@npm_bin@"
def _nodejs_path() -> str:
def _nodejs_path() -> Path:
global _nodejs