File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -340,8 +340,9 @@ jobs:
340
340
. venv/bin/activate
341
341
pip install --upgrade pip wheel
342
342
pip install -r ./test_requirements/requirements_38_core.txt black inflect
343
+ pip install jupyterlab~=3.0
343
344
- run :
344
- name : Update widget plotly.js version
345
+ name : Update jupyterlab-plotly and jupyter widget plotly.js version
345
346
command : |
346
347
cd packages/python/plotly
347
348
. venv/bin/activate
@@ -395,16 +396,29 @@ jobs:
395
396
conda config --remove channels defaults
396
397
conda config --add channels conda-forge
397
398
conda create -n env --yes python=3.9 conda-build=3.28.4 conda-verify
398
- conda install -n env -c conda-forge nodejs=16
399
+ conda install -n env -c conda-forge jupyterlab=3 nodejs=16
399
400
conda init bash
400
401
mkdir output
401
402
403
+ - run :
404
+ name : initial NPM Build
405
+ command : |
406
+ eval "$(conda shell.bash hook)"
407
+ conda activate env
408
+ cd packages/javascript/jupyterlab-plotly
409
+ npm ci
410
+ npm run build:prod
411
+ git status
412
+
402
413
- run :
403
414
name : PyPI Build
404
415
command : |
405
416
eval "$(conda shell.bash hook)"
406
417
conda activate env
407
- cd packages/python/plotly
418
+ cd packages/javascript/jupyterlab-plotly
419
+ npm pack
420
+ mv jupyterlab-plotly*.tgz ../../../output
421
+ cd ../../python/plotly
408
422
python setup.py sdist bdist_wheel
409
423
cp -R dist ../../../output/dist
410
424
git status
You can’t perform that action at this time.
0 commit comments