Skip to content

Python wheel package fails to build due to webpack dependency (jupyter) #2530

@elukey

Description

@elukey

Problem: Building the Python wheel fails due to a webpack dependency on jupyter.
catboost version: HEAD
Operating System: Debian Bookworm
CPU: Intel i7

UserWarning: ValueError: Extensions require a devDependency on @jupyterlab/builder@^4.0.7, you have a dependency on 3.0.6
  warnings.warn(msg[-1].strip())

The following diff fixes the problem:

--- a/catboost/python-package/catboost/widget/js/package.json
+++ b/catboost/python-package/catboost/widget/js/package.json
@@ -21,7 +21,7 @@
     "plotly.js-dist-min": "^1.58.4"
   },
   "devDependencies": {
-    "@jupyterlab/builder": "^3.0.6",
+    "@jupyterlab/builder": "^4.0.7",
     "css-loader": "^5.2.0",
     "rimraf": "^3.0.2",
     "style-loader": "^2.0.0",

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions