Skip to content

Commit 840b322

Browse files
authored
Merge branch 'dev' into update-dcc-loading
2 parents 872e8a7 + 6b31a8f commit 840b322

File tree

16 files changed

+3012
-855
lines changed

16 files changed

+3012
-855
lines changed

.circleci/config.yml

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ orbs:
55
percy: percy/[email protected]
66
browser-tools: circleci/[email protected]
77

8+
89
jobs:
910
artifacts:
1011
docker:
@@ -35,7 +36,6 @@ jobs:
3536
username: dashautomation
3637
password: $DASH_PAT_DOCKERHUB
3738
environment:
38-
PYLINTRC: .pylintrc312
3939
PYVERSION: python312
4040
PERCY_ENABLE: 0
4141

@@ -83,7 +83,6 @@ jobs:
8383
username: dashautomation
8484
password: $DASH_PAT_DOCKERHUB
8585
environment:
86-
PYLINTRC: .pylintrc
8786
PYVERSION: python38
8887
PERCY_ENABLE: 0
8988

@@ -95,7 +94,6 @@ jobs:
9594
username: dashautomation
9695
password: $DASH_PAT_DOCKERHUB
9796
environment:
98-
PYLINTRC: .pylintrc312
9997
PYVERSION: python312
10098
PERCY_ENABLE: 0
10199

@@ -107,7 +105,7 @@ jobs:
107105
- restore_cache:
108106
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
109107
- browser-tools/install-browser-tools:
110-
chrome-version: 116.0.5845.110
108+
chrome-version: 120.0.6099.71
111109
- run:
112110
name: ️️🏗️ pip dev requirements
113111
command: |
@@ -137,7 +135,6 @@ jobs:
137135
username: dashautomation
138136
password: $DASH_PAT_DOCKERHUB
139137
environment:
140-
PYLINTRC: .pylintrc
141138
PYVERSION: python38
142139
PERCY_ENABLE: 0
143140

@@ -150,16 +147,26 @@ jobs:
150147
PERCY_ENABLE: 0
151148
steps:
152149
- checkout
153-
154150
- run:
155-
name: "Install Python"
156-
command: choco install -y python --version=3.12.1
157-
151+
name: pip
152+
command: |
153+
python -m venv venv && . venv/Scripts/activate
154+
pip install --no-cache-dir --upgrade -e .[ci,dev] --progress-bar off
155+
- run:
156+
command: |
157+
nvm install 18 && nvm use 18
158158
- run:
159-
name: ️️🏗️ build core
159+
name: npm prereqs
160160
command: |
161-
py -3.12 -m pip install --no-cache-dir --upgrade -e .[dev,testing] --progress-bar off
162-
cd dash/dash-renderer && C:/Python312/Scripts/renderer.exe build && cd ../../
161+
npm ci
162+
cd dash/dash-renderer && npm i && cd ../../
163+
cd components/dash-html-components && npm i && npm run extract && cd ../../
164+
- run:
165+
name: ️️🏗️ build dash
166+
command: |
167+
. venv/Scripts/activate
168+
npm run private::build.jupyterlab && npm run private::build.renderer && python dash/development/update_components.py 'dash-html-components'
169+
no_output_timeout: 30m
163170

164171
test-312: &test
165172
working_directory: ~/dash
@@ -188,7 +195,7 @@ jobs:
188195
- restore_cache:
189196
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
190197
- browser-tools/install-browser-tools:
191-
chrome-version: 116.0.5845.110
198+
chrome-version: 120.0.6099.71
192199
install-firefox: false
193200
install-geckodriver: false
194201
- attach_workspace:
@@ -305,7 +312,7 @@ jobs:
305312
- restore_cache:
306313
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
307314
- browser-tools/install-browser-tools:
308-
chrome-version: 116.0.5845.110
315+
chrome-version: 120.0.6099.71
309316
install-firefox: false
310317
install-geckodriver: false
311318
- attach_workspace:
@@ -376,7 +383,7 @@ jobs:
376383
- restore_cache:
377384
key: html-{{ checksum "components/dash-html-components/package.json" }}-{{ checksum "components/dash-html-components/package-lock.json" }}
378385
- browser-tools/install-browser-tools:
379-
chrome-version: 116.0.5845.110
386+
chrome-version: 120.0.6099.71
380387
install-firefox: false
381388
install-geckodriver: false
382389
- attach_workspace:
@@ -450,7 +457,7 @@ jobs:
450457
- restore_cache:
451458
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
452459
- browser-tools/install-browser-tools:
453-
chrome-version: 116.0.5845.110
460+
chrome-version: 120.0.6099.71
454461
install-firefox: false
455462
install-geckodriver: false
456463
- attach_workspace:
@@ -506,7 +513,7 @@ jobs:
506513
- restore_cache:
507514
key: table-{{ checksum "components/dash-table/package.json" }}-{{ checksum "components/dash-table/package-lock.json" }}
508515
- browser-tools/install-browser-tools:
509-
chrome-version: 116.0.5845.110
516+
chrome-version: 120.0.6099.71
510517
install-firefox: false
511518
install-geckodriver: false
512519
- attach_workspace:
@@ -544,7 +551,7 @@ jobs:
544551
- restore_cache:
545552
key: dep-{{ .Branch }}-{{ checksum "package-lock.json" }}-{{ checksum "package.json" }}
546553
- browser-tools/install-browser-tools:
547-
chrome-version: 116.0.5845.110
554+
chrome-version: 120.0.6099.71
548555
install-firefox: false
549556
install-geckodriver: false
550557
- run:

0 commit comments

Comments
 (0)