99jobs :
1010 artifacts :
1111 docker :
12- - image : cimg/python:3.12.1
12+ - image : cimg/python:3.12.10
1313 auth :
1414 username : dashautomation
1515 password : $DASH_PAT_DOCKERHUB
3131 install-dependencies-312 : &install-dependencies
3232 working_directory : ~/dash
3333 docker :
34- - image : cimg/python:3.12.1 -node
34+ - image : cimg/python:3.12.10 -node
3535 auth :
3636 username : dashautomation
3737 password : $DASH_PAT_DOCKERHUB
4949 name : 🏁 Build Component Packages & Update Dependencies/Artifacts
5050 command : |
5151 python -m venv venv && . venv/bin/activate
52- pip install --upgrade pip wheel setuptools
52+ pip install "pip<25.0"
53+ pip install --upgrade wheel setuptools
5354 set -eo pipefail
5455 pip install -e .[ci,dev,testing,celery,diskcache] --progress-bar off
5556 pip list | grep dash
8990 lint-unit-312 : &lint-unit
9091 working_directory : ~/dash
9192 docker :
92- - image : cimg/python:3.12.1 -browsers
93+ - image : cimg/python:3.12.10 -browsers
9394 auth :
9495 username : dashautomation
9596 password : $DASH_PAT_DOCKERHUB
@@ -175,7 +176,7 @@ jobs:
175176 test-312 : &test
176177 working_directory : ~/dash
177178 docker :
178- - image : cimg/python:3.12.1 -browsers
179+ - image : cimg/python:3.12.10 -browsers
179180 auth :
180181 username : dashautomation
181182 password : $DASH_PAT_DOCKERHUB
@@ -184,11 +185,6 @@ jobs:
184185 PERCY_PARALLEL_TOTAL : -1
185186 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : True
186187 PYVERSION : python312
187- REDIS_URL : redis://localhost:6379
188- - image : cimg/redis:6.2.6
189- auth :
190- username : dashautomation
191- password : $DASH_PAT_DOCKERHUB
192188 parallelism : 3
193189 steps :
194190 - checkout :
@@ -200,6 +196,7 @@ jobs:
200196 sudo apt-get update
201197 - run : echo $PYVERSION > ver.txt
202198 - run : cat requirements/*.txt > requirements-all.txt
199+ - run : cat requirements-all.txt
203200 - restore_cache :
204201 key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
205202 - browser-tools/install-browser-tools :
@@ -212,9 +209,10 @@ jobs:
212209 name : ️️🏗️ Install package
213210 command : |
214211 . venv/bin/activate
212+ pip install "pip<25"
215213 npm ci
216214 pip install dash-package/dash-package.tar.gz[ci,dev,testing,celery,diskcache] --progress-bar off
217- pip list | grep dash
215+ pip list
218216 - run :
219217 name : 🧪 Run Integration Tests
220218 command : |
@@ -238,16 +236,11 @@ jobs:
238236 PERCY_ENABLE : 0
239237 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : True
240238 PYVERSION : python38
241- REDIS_URL : redis://localhost:6379
242- - image : cimg/redis:6.2.6
243- auth :
244- username : dashautomation
245- password : $DASH_PAT_DOCKERHUB
246239
247240 dcc-lint-unit-312 : &dcc-lint-unit
248241 working_directory : ~/dash
249242 docker :
250- - image : cimg/python:3.12.1 -node
243+ - image : cimg/python:3.12.10 -node
251244 auth :
252245 username : dashautomation
253246 password : $DASH_PAT_DOCKERHUB
@@ -284,7 +277,7 @@ jobs:
284277 dcc-312 : &dcc-test
285278 working_directory : ~/dash
286279 docker :
287- - image : cimg/python:3.12.1 -browsers
280+ - image : cimg/python:3.12.10 -browsers
288281 auth :
289282 username : dashautomation
290283 password : $DASH_PAT_DOCKERHUB
@@ -345,7 +338,7 @@ jobs:
345338 html-312 : &html-test
346339 working_directory : ~/dash
347340 docker :
348- - image : cimg/python:3.12.1 -browsers
341+ - image : cimg/python:3.12.10 -browsers
349342 auth :
350343 username : dashautomation
351344 password : $DASH_PAT_DOCKERHUB
@@ -411,105 +404,6 @@ jobs:
411404 PYVERSION : python38
412405 PERCY_ENABLE : 0
413406
414- table-server : &table-server
415- working_directory : ~/dash
416- docker :
417- - image : cimg/python:3.12.1-browsers
418- environment :
419- PYVERSION : python312
420- PERCY_ENABLE : 1
421- PERCY_PARALLEL_TOTAL : -1
422-
423- parallelism : 5
424-
425- steps :
426- - checkout :
427- path : ~/dash
428- - run :
429- name : Add chrome keys & update.
430- command : |
431- wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
432- sudo apt-get update
433- - run : echo $PYVERSION > ver.txt
434- - run : cat requirements/*.txt > requirements-all.txt
435- - restore_cache :
436- key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
437- - browser-tools/install-browser-tools :
438- chrome-version : 120.0.6099.71
439- install-firefox : false
440- install-geckodriver : false
441- - attach_workspace :
442- at : ~/dash
443- - run :
444- name : ️️🏗️ Install package
445- command : |
446- . venv/bin/activate
447- pip install dash-package/dash-package.tar.gz[ci,dev,testing,celery,diskcache] --progress-bar off
448- pip list | grep dash
449- - run :
450- name : Inject Percy Environment variables
451- command : |
452- echo 'export PERCY_TOKEN="$PERCY_TOKEN"' >> $BASH_ENV
453- - run :
454- name : Run tests
455- command : |
456- . venv/bin/activate
457- cd components/dash-table
458- TESTFILES=$(circleci tests glob "tests/selenium/**/test_*.py" | circleci tests split --split-by=timings)
459- pytest --nopercyfinalize --junitxml=test-reports/junit_intg.xml --junitprefix="components.dash-table" ${TESTFILES}
460- - store_artifacts :
461- path : ~/dash/components/dash-table/test-reports
462- - store_test_results :
463- path : ~/dash/components/dash-table/test-reports
464- - store_artifacts :
465- path : /tmp/dash_artifacts
466-
467- table-unit-test :
468- working_directory : ~/dash
469- docker :
470- - image : cimg/python:3.12.1-browsers
471- environment :
472- PYVERSION : python312
473- PERCY_ENABLE : 0
474- steps :
475- - checkout :
476- path : ~/dash
477- - run :
478- name : Add chrome keys & update.
479- command : |
480- wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
481- sudo apt-get update
482- - run : echo $PYVERSION > ver.txt
483- - run : cat requirements/*.txt > requirements-all.txt
484- - restore_cache :
485- key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
486- - restore_cache :
487- key : table-{{ checksum "components/dash-table/package.json" }}-{{ checksum "components/dash-table/package-lock.json" }}
488- - browser-tools/install-browser-tools :
489- chrome-version : 120.0.6099.71
490- install-firefox : false
491- install-geckodriver : false
492- - attach_workspace :
493- at : ~/dash
494- - run :
495- name : ️️🏗️ Install package and table deps
496- command : |
497- . venv/bin/activate
498- pip install dash-package/dash-package.tar.gz[ci,dev,testing,celery,diskcache] --progress-bar off
499- pip list | grep dash
500- cd components/dash-table
501- npm ci
502- - save_cache :
503- key : table-{{ checksum "components/dash-table/package.json" }}-{{ checksum "components/dash-table/package-lock.json" }}
504- paths :
505- - components/dash-table/node_modules
506- - run :
507- name : Run tests
508- command : |
509- . venv/bin/activate
510- cd components/dash-table
511- npm run test.unit
512-
513407 table-visual-test :
514408 working_directory : ~/dash/components/dash-table
515409 docker :
@@ -546,45 +440,6 @@ jobs:
546440 - store_artifacts :
547441 path : storybook-static
548442
549- table-node :
550- working_directory : ~/dash
551- docker :
552- - image : cimg/python:3.12.1-node
553- environment :
554- PYVERSION : python312
555- PERCY_ENABLE : 0
556- steps :
557- - checkout :
558- path : ~/dash
559- - run : echo $PYVERSION > ver.txt
560- - run : cat requirements/*.txt > requirements-all.txt
561- - restore_cache :
562- key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
563- - restore_cache :
564- key : dep-{{ .Branch }}-{{ checksum "components/dash-table/package-lock.json" }}-{{ checksum "components/dash-table/package.json" }}
565- - run :
566- name : Install package.json
567- command : cd components/dash-table && npm ci
568- - save_cache :
569- key : dep-{{ .Branch }}-{{ checksum "components/dash-table/package-lock.json" }}-{{ checksum "components/dash-table/package.json" }}
570- paths :
571- - components/dash-table/node_modules
572- - attach_workspace :
573- at : ~/dash
574- - run :
575- name : Install requirements
576- command : |
577- . venv/bin/activate
578- pip install dash-package/dash-package.tar.gz[ci,dev,testing]
579-
580- - run :
581- name : Run eslint
582- command : |
583- . venv/bin/activate
584- cd components/dash-table
585- npm run lint
586- when : always
587-
588443workflows :
589444 version : 2
590445 tests :
@@ -629,23 +484,13 @@ workflows:
629484 requires :
630485 - install-dependencies-38
631486
632- - table-node :
633- requires :
634- - install-dependencies-312
635- - table-unit-test :
636- requires :
637- - install-dependencies-312
638487 - table-visual-test
639- - table-server :
640- requires :
641- - install-dependencies-312
642488
643489 - percy/finalize_all :
644490 requires :
645491 - test-312
646492 - dcc-312
647493 - html-312
648- - table-server
649494 - artifacts :
650495 requires :
651496 - percy/finalize_all
0 commit comments