python3Packages.bokeh: 2.4.3 -> 3.0.3

This commit is contained in:
Martin Weinelt
2022-12-30 20:12:59 +01:00
parent eca61ccf9a
commit 1ac65c004e
2 changed files with 15 additions and 10 deletions

View File

@@ -1,9 +1,9 @@
diff --git a/bokeh/util/compiler.py b/bokeh/util/compiler.py
index a752aad7d..8af05ff63 100644
--- a/bokeh/util/compiler.py
+++ b/bokeh/util/compiler.py
@@ -442,8 +442,8 @@ def _detect_nodejs():
raise RuntimeError('node.js v%s or higher is needed to allow compilation of custom models ' % version +
diff --git a/src/bokeh/util/compiler.py b/src/bokeh/util/compiler.py
index 9af8691..4b93543 100644
--- a/src/bokeh/util/compiler.py
+++ b/src/bokeh/util/compiler.py
@@ -415,8 +415,8 @@ def _detect_nodejs() -> str:
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
@@ -11,5 +11,5 @@ index a752aad7d..8af05ff63 100644
+_nodejs = "@node_bin@"
+_npmjs = "@npm_bin@"
def _nodejs_path():
def _nodejs_path() -> str:
global _nodejs