Skip to content

Commit dc1b55b

Browse files
committed
Merge with master
2 parents 370efcd + 5813a8a commit dc1b55b

File tree

15,192 files changed

+697
-148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

15,192 files changed

+697
-148
lines changed

.circleci/config.yml

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ commands:
1616
- run:
1717
name: Install dependencies
1818
command: |
19-
cd packages/python/plotly
2019
python -m venv venv
2120
. venv/bin/activate
2221
pip install --upgrade pip wheel
@@ -25,7 +24,6 @@ commands:
2524
- run:
2625
name: Test core
2726
command: |
28-
cd packages/python/plotly
2927
. venv/bin/activate
3028
pytest plotly/tests/test_core
3129
no_output_timeout: 20m
@@ -42,7 +40,6 @@ commands:
4240
- run:
4341
name: Install dependencies
4442
command: |
45-
cd packages/python/plotly
4643
python -m venv venv
4744
. venv/bin/activate
4845
pip install --upgrade pip wheel
@@ -54,47 +51,40 @@ commands:
5451
- run:
5552
name: Install plotly-geo
5653
command: |
57-
cd packages/python/plotly
5854
. venv/bin/activate
5955
pip install plotly-geo
6056
- run:
6157
name: Test core
6258
command: |
63-
cd packages/python/plotly
6459
. venv/bin/activate
6560
pytest plotly/tests/test_core
6661
no_output_timeout: 20m
6762
- run:
6863
name: Test optional
6964
command: |
70-
cd packages/python/plotly
7165
. venv/bin/activate
7266
pytest plotly/tests/test_optional
7367
no_output_timeout: 40m
7468
- run:
7569
name: Test utils
7670
command: |
77-
cd packages/python/plotly
7871
. venv/bin/activate
7972
pytest _plotly_utils/tests/
8073
no_output_timeout: 20m
8174
- run:
8275
name: Test io
8376
command: |
84-
cd packages/python/plotly
8577
. venv/bin/activate
8678
pytest plotly/tests/test_io
8779
no_output_timeout: 20m
8880
- run:
8981
name: Test dependencdies not imported
9082
command: |
91-
cd packages/python/plotly
9283
. venv/bin/activate
9384
pytest -x test_init/test_dependencies_not_imported.py
9485
- run:
9586
name: Test lazy imports
9687
command: |
97-
cd packages/python/plotly
9888
. venv/bin/activate
9989
pytest -x test_init/test_lazy_imports.py
10090
test_orca:
@@ -109,15 +99,13 @@ commands:
10999
- run:
110100
name: Install dependencies
111101
command: |
112-
cd packages/python/plotly
113102
python -m venv venv
114103
. venv/bin/activate
115104
pip install --upgrade pip wheel
116105
pip install -r ./test_requirements/requirements_<<parameters.py>>_optional.txt
117106
- run:
118107
name: Install plotly-geo
119108
command: |
120-
cd packages/python/plotly
121109
. venv/bin/activate
122110
pip install plotly-geo
123111
- run:
@@ -131,12 +119,11 @@ commands:
131119
- run:
132120
name: Test orca
133121
command: |
134-
cd packages/python/plotly
135122
. venv/bin/activate
136123
pytest plotly/tests/test_orca
137124
no_output_timeout: 20m
138125
- store_artifacts:
139-
path: packages/python/plotly/plotly/tests/test_orca/images/linux/failed
126+
path: plotly/tests/test_orca/images/linux/failed
140127

141128
jobs:
142129
check-code-formatting:
@@ -285,9 +272,9 @@ jobs:
285272
python -m venv venv
286273
. venv/bin/activate
287274
pip install --upgrade pip wheel
288-
pip install -e ./packages/python/plotly
275+
pip install -e .
289276
pip install plotly-geo
290-
pip install -r ./packages/python/plotly/test_requirements/requirements_39_pandas_2_optional.txt
277+
pip install -r test_requirements/requirements_39_pandas_2_optional.txt
291278
292279
- run:
293280
name: Build html figures (Pandas 2)
@@ -324,7 +311,6 @@ jobs:
324311
- run:
325312
name: Install dependencies
326313
command: |
327-
cd packages/python/plotly
328314
python -m venv venv
329315
. venv/bin/activate
330316
pip install --upgrade pip wheel
@@ -334,21 +320,18 @@ jobs:
334320
- run:
335321
name: Update plotly.js to dev
336322
command: |
337-
cd packages/python/plotly
338323
. venv/bin/activate
339324
python commands.py updateplotlyjsdev
340325
- run:
341326
name: Test core
342327
command: |
343-
cd packages/python/plotly
344328
. venv/bin/activate
345329
locale
346330
pytest -k 'not nodev' plotly/tests/test_core
347331
no_output_timeout: 20m
348332
- run:
349333
name: Commit
350334
command: |
351-
cd packages/python/plotly
352335
git config --global user.email "you@example.com"
353336
git config --global user.name "Your Name"
354337
git add -A
@@ -357,13 +340,12 @@ jobs:
357340
- run:
358341
name: Build source distribution packages
359342
command: |
360-
cd packages/python/plotly
361343
. venv/bin/activate
362344
pip install build
363345
python -m build --sdist --wheel -o dist
364346
when: always
365347
- store_artifacts:
366-
path: packages/python/plotly/dist
348+
path: dist/
367349

368350
full_build:
369351
docker:
@@ -390,7 +372,7 @@ jobs:
390372
command: |
391373
eval "$(conda shell.bash hook)"
392374
conda activate env
393-
cd packages/python/plotly/js
375+
cd js
394376
npm ci
395377
npm run build
396378
git status
@@ -400,7 +382,6 @@ jobs:
400382
command: |
401383
eval "$(conda shell.bash hook)"
402384
conda activate env
403-
cd packages/python/plotly
404385
pip install build
405386
python -m build --sdist --wheel -o dist
406387
cp -R dist ../../../output
@@ -411,17 +392,16 @@ jobs:
411392
command: |
412393
eval "$(conda shell.bash hook)"
413394
conda activate env
414-
cd packages/python/plotly
415395
conda build recipe/
416-
mv /opt/conda/envs/env/conda-bld/noarch/plotly*.tar.bz2 ../../../output
396+
mv /opt/conda/envs/env/conda-bld/noarch/plotly*.tar.bz2 output/
417397
git status
418398
419399
- run:
420400
name: Build Widget javascript bundle
421401
command: |
422402
eval "$(conda shell.bash hook)"
423403
conda activate env
424-
cd packages/python/plotly/js
404+
cd js
425405
npm ci
426406
npm run build
427407
@@ -464,12 +444,12 @@ jobs:
464444
pip install -r requirements.txt
465445
if [ "${CIRCLE_BRANCH}" != "doc-prod" ]; then
466446
pip uninstall -y plotly
467-
cd ../packages/python/plotly
447+
cd ..
468448
pip install -e .
469449
cd js
470450
npm ci
471451
npm run build
472-
cd ../../../../doc
452+
cd ../doc
473453
fi
474454
cd ..
475455
- run:
@@ -546,9 +526,9 @@ jobs:
546526
# graph_objs/graph_objects
547527
if [ "${CIRCLE_BRANCH}" == "doc-prod" ]; then
548528
pip uninstall -y plotly
549-
cd ../packages/python/plotly
529+
cd ..
550530
pip install -e .
551-
cd ../../../doc
531+
cd doc
552532
cd apidoc
553533
make html
554534
cd _build/html

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
packages/python/plotly/plotly/_version.py export-subst
1+
plotly/_version.py export-subst

.gitignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
0
22
0.html
33
iframe_figures/
4-
packages/python/plotly/plotly/tests/test_orca/images/linux/failed/
4+
plotly/tests/test_orca/images/linux/failed/
55

66
*.egg-info
77

@@ -15,6 +15,7 @@ doc/python/raw.githubusercontent.com/
1515

1616
# Don't ignore dataset files
1717
!*.csv.gz
18+
!*.geojson.gz
1819

1920
*.ipynb
2021

@@ -59,10 +60,9 @@ doc/.ipynb_checkpoints
5960
tags
6061
doc/check-or-enforce-order.py
6162

62-
packages/javascript/jupyterlab-plotly/lib/
63-
packages/python/plotly/jupyterlab_plotly/labextension/
64-
packages/python/plotly/jupyterlab_plotly/nbextension/index.js*
65-
packages/python/plotly/plotly/package_data/widgetbundle.js
63+
jupyterlab_plotly/labextension/
64+
jupyterlab_plotly/nbextension/index.js*
65+
plotly/package_data/widgetbundle.js
6666

6767
test/percy/*.html
6868
test/percy/pandas2/*.html
File renamed without changes.

README.md

Lines changed: 2 additions & 0 deletions
File renamed without changes.

0 commit comments

Comments
 (0)