@@ -46,6 +46,7 @@ commands:
46
46
. venv/bin/activate
47
47
pip install --upgrade pip wheel
48
48
pip install -r ./test_requirements/requirements_<<parameters.py>>_optional.txt
49
+ python setup.py jsdeps
49
50
- run :
50
51
name : Install plotly-geo
51
52
command : |
@@ -339,9 +340,8 @@ jobs:
339
340
. venv/bin/activate
340
341
pip install --upgrade pip wheel
341
342
pip install -r ./test_requirements/requirements_38_core.txt black inflect
342
- pip install jupyterlab~=3.0
343
343
- run :
344
- name : Update jupyterlab- plotly version
344
+ name : Update widget plotly.js version
345
345
command : |
346
346
cd packages/python/plotly
347
347
. venv/bin/activate
@@ -395,20 +395,10 @@ jobs:
395
395
conda config --remove channels defaults
396
396
conda config --add channels conda-forge
397
397
conda create -n env --yes python=3.9 conda-build=3.28.4 conda-verify
398
- conda install -n env -c conda-forge jupyterlab=3 nodejs=16
398
+ conda install -n env -c conda-forge nodejs=16
399
399
conda init bash
400
400
mkdir output
401
401
402
- - run :
403
- name : initial NPM Build
404
- command : |
405
- eval "$(conda shell.bash hook)"
406
- conda activate env
407
- cd packages/javascript/jupyterlab-plotly
408
- npm ci
409
- npm run build:prod
410
- git status
411
-
412
402
- run :
413
403
name : PyPI Build
414
404
command : |
@@ -434,9 +424,9 @@ jobs:
434
424
command : |
435
425
eval "$(conda shell.bash hook)"
436
426
conda activate env
437
- cd packages/javascript/jupyterlab- plotly
438
- npm pack
439
- mv jupyterlab-plotly*.tgz ../../../output
427
+ cd packages/python/ plotly/js
428
+ npm run build
429
+ mv ../bundle.js ../ ../../../output
440
430
441
431
- run :
442
432
name : Zip output
0 commit comments