Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
265 commits
Select commit Hold shift + click to select a range
e24e094
adding new `use_async` attribute to `Dash` and having callbacks and l…
BSd3v Nov 21, 2024
5d492dc
fixing issue with indentations of layouts
BSd3v Nov 21, 2024
69ee069
removing needing to classify the function as async, instead I am look…
BSd3v Nov 21, 2024
950888c
fixing for lint
BSd3v Nov 22, 2024
916efdc
adjustments for the test for the debugger, making test more robust fo…
BSd3v Nov 22, 2024
0dd778e
fixing lint issues
BSd3v Nov 22, 2024
2d9a930
Adjustments for `use_async` and determining whether the app can be us…
BSd3v Nov 22, 2024
b2f9cd6
disable lint for unused import on `asgiref`
BSd3v Nov 22, 2024
f1ac667
adjustments for formatting
BSd3v Nov 22, 2024
378099f
Merge remote-tracking branch 'dash/dev' into support-async-callbacks
BSd3v Nov 22, 2024
52de22e
adding additional ignore for `flake8`
BSd3v Nov 22, 2024
4189ed6
more adjustments for lint
BSd3v Nov 22, 2024
0ddf254
adding `dash[async]`
BSd3v Nov 22, 2024
ff244d3
Create Checklist and RadioItems labels with titles
giladmaya Nov 8, 2024
76a9a56
Merge branch 'plotly:dev' into support-async-callbacks
BSd3v Nov 25, 2024
337ec26
attempt no 1 for refactoring dash for `dispatch`
BSd3v Dec 4, 2024
a730b4b
fixing for lint
BSd3v Dec 4, 2024
538515d
fixing no outputs
BSd3v Dec 4, 2024
4f14a1a
attempt no 1 for refactoring callbacks
BSd3v Dec 4, 2024
96df44e
fixing for multi outputs
BSd3v Dec 5, 2024
91400a3
attempt no 1 refactoring background callbacks for async functions
BSd3v Dec 5, 2024
1856f5c
Merge remote-tracking branch 'dash/dev' into support-async-callbacks
BSd3v Dec 5, 2024
671cb2b
fixing for lint and progress outputs
BSd3v Dec 5, 2024
f19fe23
lint adjustments
BSd3v Dec 6, 2024
17c824d
adding async tests
Dec 6, 2024
fdfd058
bypassing `test_rdrh003_refresh_jwt` as this fails with 3 failed requ…
Dec 7, 2024
fb691c3
removing `__init__` from `async` directory
Dec 7, 2024
2473546
adjusting `jwt` test to adjust value in the MultiProcessing and remov…
Dec 9, 2024
b2e8884
removing flaky for lint
Dec 9, 2024
df29ee6
adjustments for formatting
Dec 9, 2024
5342573
simplifying `jwt` test by using `before_request` removing needs to ch…
Dec 9, 2024
c79debf
attempting to allow for failed tests to be rerun to see if the cache …
Dec 9, 2024
37d649c
moving retry to `integration-dash`
Dec 9, 2024
eaec04f
adjusting browser for percy snapshot to append `async` to the snapsho…
Dec 9, 2024
68320f4
fixing `browser` for lint
Dec 9, 2024
84536fe
changed typecheck for list value to use isinstance instead of type
kenshima4 Dec 17, 2024
3ecc548
Merge branch 'dev' into layout-accept-lists-as-component
kenshima4 Dec 17, 2024
629ad06
set layout to list if not list already, add to validation_list to pas…
kenshima4 Jan 8, 2025
78c8a72
removed app.py and launch.json from gitignore.
kenshima4 Jan 9, 2025
5b201a1
Merge branch 'dev' into support-async-callbacks
BSd3v Feb 3, 2025
35e742b
changed typecheck for list value to use isinstance instead of type
kenshima4 Dec 17, 2024
c86079a
set layout to list if not list already, add to validation_list to pas…
kenshima4 Jan 8, 2025
06bcbfb
removed app.py and launch.json from gitignore.
kenshima4 Jan 9, 2025
ad51501
Merge remote-tracking branch 'origin/layout-accept-lists-as-component…
kenshima4 Feb 5, 2025
0eebda4
Merge branch 'dev' into layout-accept-lists-as-component
kenshima4 Feb 17, 2025
01524d8
Trigger CI/CD pipeline after local testing.
kenshima4 Feb 17, 2025
146c0d6
feat: expose the closeMenuOnSelect option in dropdown component
12rambau Mar 9, 2025
2a5ff97
Update components/dash-core-components/src/fragments/Dropdown.react.js
12rambau Mar 10, 2025
a4caaf1
refactor: fix linting issues
12rambau Mar 10, 2025
09882dc
Merge branch 'close-on-select' of github.com:12rambau/dash into close…
12rambau Mar 10, 2025
b08724f
props is directly pass from constProps
12rambau Mar 10, 2025
44be920
Merge branch 'dev' into close-on-select
T4rk1n Mar 19, 2025
3ca8b4d
Merge pull request #3202 from 12rambau/close-on-select
T4rk1n Mar 20, 2025
7f79501
Merge branch 'dev' into add-title-to-checklist-and-radioitem
T4rk1n Mar 20, 2025
1aea686
Merge remote-tracking branch 'remote/dev' into support-async-callbacks
BSd3v Mar 25, 2025
fc6c6bc
updating missing `long` -> `background` adjustments and fixing issue …
BSd3v Mar 25, 2025
503f7c0
fixing for lint
BSd3v Mar 25, 2025
c26671e
adding tests for async background callbacks
BSd3v Mar 25, 2025
20dcd67
updating to bypass test if not async
BSd3v Mar 25, 2025
bb3d881
fixing for lint
BSd3v Mar 25, 2025
c6940c7
update for celery app process
BSd3v Mar 25, 2025
b7a8c4a
Merge branch 'dev' into support-async-callbacks
BSd3v Mar 26, 2025
51c1689
Merge branch 'dev' into support-async-callbacks
BSd3v Mar 27, 2025
eb96c5d
Merge branch 'dev' into support-async-callbacks
BSd3v Apr 9, 2025
cc6522c
Store callback Output value in persistence storage
petar-qb Apr 16, 2025
11f94f2
Linting minor change
petar-qb Apr 16, 2025
e1327a8
Removing unnecessary comment
petar-qb Apr 17, 2025
f5068f6
Merge branch 'dev' of github.com:petar-qb/dash into fix/store-output-…
petar-qb Apr 17, 2025
af9bbc7
Merge branch 'dev' of github.com:petar-qb/dash into fix/store-output-…
petar-qb Apr 29, 2025
72cdc37
Fix rdps011 failing test
petar-qb Apr 29, 2025
fc5eea6
Adding a changelog
petar-qb Apr 29, 2025
47efec5
adds `allow_optional` to State and Input to place no value as the pla…
BSd3v Apr 29, 2025
6445159
adding test for `allow_optional`
BSd3v Apr 29, 2025
1321683
fixing for lint
BSd3v Apr 29, 2025
fe2d514
fixing for lint
BSd3v Apr 29, 2025
d6cbee8
Merge pull request #3279 from petar-qb/fix/store-output-value-in-pers…
T4rk1n Apr 30, 2025
54d3aa7
Merge branch 'dev' into feat/3067
BSd3v Apr 30, 2025
873394c
adjustments for feedback
BSd3v May 1, 2025
533daf6
Fix unsafe access of 'external_url' field
marthacryan May 1, 2025
94710e2
fixing for lint
BSd3v May 1, 2025
4195561
Merge pull request #3296 from plotly/unsafe-resource-access
T4rk1n May 1, 2025
60f444c
Merge branch 'dev' into feat/3067
BSd3v May 1, 2025
900da07
adjustments specs to dict
BSd3v May 5, 2025
692298e
Merge pull request #3294 from BSd3v/feat/3067
T4rk1n May 5, 2025
fbde2b2
Fix dev only resource filtering
T4rk1n May 6, 2025
4269647
update changelog
T4rk1n May 6, 2025
bb13521
Merge pull request #3298 from plotly/fix/dev_only_resource
T4rk1n May 6, 2025
5ab414b
ignore selecteccontent html attributes & update extracted descriptions
T4rk1n May 12, 2025
1a63fa8
run test typing on github workflow
T4rk1n May 12, 2025
7cabf51
Do not change dir in typing test
T4rk1n May 12, 2025
d0a0487
Add dev_only to proptype.js message
T4rk1n May 13, 2025
b5584c9
Make build run-p
T4rk1n May 13, 2025
3683791
test typing from package
T4rk1n May 13, 2025
c3a30a3
lock celery version
T4rk1n May 13, 2025
2fb052b
show requirements
T4rk1n May 14, 2025
c6eb773
Merge branch 'dev' into layout-accept-lists-as-component
gvwilson May 16, 2025
aa43b57
show installed deps
T4rk1n May 20, 2025
5b57769
show installed deps
T4rk1n May 20, 2025
67ef820
print more info in bg cb
T4rk1n May 20, 2025
09253a1
⚡️ Speed up function `flatten_grouping` by 330%
codeflash-ai[bot] May 21, 2025
51aa50a
⚡️ Speed up function `_operation` by 80%
codeflash-ai[bot] May 21, 2025
b7651c9
Update cimg/redis version
T4rk1n May 21, 2025
a2ea445
lock kombu/celery 5.4
T4rk1n May 22, 2025
20dcc0a
lock setuptools<80.0.0
T4rk1n May 22, 2025
42dc320
update cimg/python:3.12.10
T4rk1n May 22, 2025
3fb5c3c
try pip < 25
T4rk1n May 22, 2025
904e29d
Add debug step
T4rk1n May 22, 2025
9a9246c
fix indent
T4rk1n May 22, 2025
664e0b3
move background tests to github workflow
T4rk1n May 22, 2025
644083c
fix pip install local
T4rk1n May 22, 2025
061d690
install chromedriver
T4rk1n May 22, 2025
08cbcb7
install newer selenium
T4rk1n May 23, 2025
1e9f276
Remove loggingPrefs
T4rk1n May 23, 2025
f102fb2
Try headless
T4rk1n May 23, 2025
9771990
add user-data-dir option
T4rk1n May 23, 2025
ae3d88e
python 3.9 lower bound for background tests.
T4rk1n May 23, 2025
5185f1f
lock plotly.py <6.1.0
T4rk1n May 23, 2025
05d7983
remove experimental chrome options
T4rk1n May 23, 2025
cad8137
headless by argument
T4rk1n May 23, 2025
149e3c0
fix app1
T4rk1n May 23, 2025
0e31163
fix redis url
T4rk1n May 23, 2025
346da10
Add back loggingPrefs
T4rk1n May 23, 2025
0d946ad
cleanup
T4rk1n May 23, 2025
e47cfd8
add back experimental download
T4rk1n May 23, 2025
0d8e66f
set cbcx005 flaky
T4rk1n May 23, 2025
2b0a223
set grrs002 flaky
T4rk1n May 23, 2025
9f50bd8
remove version lock
T4rk1n May 23, 2025
63fa5d1
lock setuptools<80 in typing tests
T4rk1n May 23, 2025
e5fbd99
Apply suggestions from code review
misrasaurabh1 May 23, 2025
c84a9b7
Update dash/_patch.py
misrasaurabh1 May 23, 2025
65245f2
Remove redis from circleci
T4rk1n May 26, 2025
d32b559
build
T4rk1n May 26, 2025
85f1d3f
remove on pull_request already covered by on push
T4rk1n May 26, 2025
7a22ab2
Move table tests to workflow
T4rk1n May 26, 2025
21f8bfc
remove table server from percy
T4rk1n May 26, 2025
6726953
npm ci before setup-python
T4rk1n May 26, 2025
3317e81
build from root
T4rk1n May 26, 2025
987971a
headless table tests.
T4rk1n May 26, 2025
92380b1
Skip cbcx005
T4rk1n May 26, 2025
3188680
fix skip
T4rk1n May 26, 2025
dd1084e
Split table tests
T4rk1n May 27, 2025
9e424dc
consolidate github tests
T4rk1n May 27, 2025
e0a8939
consolidate github tests
T4rk1n May 27, 2025
108f7d9
Fix background tests install celery,diskcache
T4rk1n May 27, 2025
e3f5e99
cd tests
T4rk1n May 27, 2025
fd0a815
install -e .
T4rk1n May 27, 2025
f83a1c3
Try something
T4rk1n May 27, 2025
c6476ef
setuptools 78 for bg
T4rk1n May 27, 2025
718d460
Try pythonpath
T4rk1n May 27, 2025
a9832dd
Try copy bg tests.
T4rk1n May 28, 2025
1cb0326
Only runs table tests if there is changes on dash-table or dash-renderer
T4rk1n May 28, 2025
4c81c35
use commit for change filter and flaky cbcx003
T4rk1n May 28, 2025
424be77
skip cbcx003
T4rk1n May 28, 2025
e04f4f9
Merge pull request #3305 from plotly/html-exp-attr
T4rk1n May 28, 2025
017cf62
Merge branch 'dev' into codeflash/optimize-flatten_grouping-max6hy2z
T4rk1n May 28, 2025
f893f55
Fix pages is_module_package check
T4rk1n May 29, 2025
95c7826
testing on pull_request and push to dev,master
T4rk1n May 29, 2025
31db4cc
update changelog
T4rk1n May 29, 2025
ad9c197
Merge pull request #3315 from plotly/fix-pages-modules
T4rk1n May 29, 2025
b8a6d51
Merge branch 'dev' into fix-proptypejs-msg
T4rk1n May 29, 2025
bd06cc8
Merge pull request #3300 from plotly/fix-proptypejs-msg
T4rk1n May 29, 2025
47174e9
Merge branch 'dev' into codeflash/optimize-flatten_grouping-max6hy2z
T4rk1n May 29, 2025
05f39bd
Merge branch 'dev' into make-graph-height-more-responsive
T4rk1n May 29, 2025
98d30e1
Merge pull request #1906 from nickmelnikov82/make-graph-height-more-r…
T4rk1n May 29, 2025
1354303
Merge branch 'dev' into layout-accept-lists-as-component
T4rk1n May 29, 2025
61ea742
Apply suggestions from code review
misrasaurabh1 May 29, 2025
cf72694
Merge pull request #3108 from kenshima4/layout-accept-lists-as-component
T4rk1n May 29, 2025
3d72de9
Merge branch 'dev' into add-title-to-checklist-and-radioitem
T4rk1n May 29, 2025
ed57bb0
Merge pull request #3068 from giladmaya/add-title-to-checklist-and-ra…
T4rk1n May 29, 2025
00b9b34
Merge branch 'dev' into codeflash/optimize-flatten_grouping-max6hy2z
T4rk1n May 29, 2025
3afd922
Add timeout-minutes: 30 to testing jobs
T4rk1n May 30, 2025
73a8063
Add nvmrc
T4rk1n May 30, 2025
a076cdd
Merge pull request #3318 from plotly/add-testing-timeout
T4rk1n May 30, 2025
b4ba001
Merge branch 'dev' into codeflash/optimize-flatten_grouping-max6hy2z
T4rk1n May 30, 2025
910a3cb
Merge pull request #3303 from misrasaurabh1/codeflash/optimize-flatte…
T4rk1n May 30, 2025
037887e
Merge branch 'dev' into codeflash/optimize-_operation-maxhjvph
T4rk1n May 30, 2025
d166c46
Merge branch 'dev' into new_bug_pic_fix
T4rk1n Jun 2, 2025
39b6654
format
T4rk1n Jun 2, 2025
4e04729
build
T4rk1n Jun 2, 2025
60dce78
Merge pull request #2927 from rodasarede/new_bug_pic_fix
T4rk1n Jun 2, 2025
3a0dda8
Merge branch 'dev' into codeflash/optimize-_operation-maxhjvph
T4rk1n Jun 2, 2025
1951d67
Merge pull request #3304 from misrasaurabh1/codeflash/optimize-_opera…
T4rk1n Jun 2, 2025
d91fe7c
adds flag to `ExternalWrapper` to identify if the component is a temp…
BSd3v Jun 2, 2025
249dfc4
fixing function and lint
BSd3v Jun 2, 2025
9dd243d
updating definition for temp
BSd3v Jun 2, 2025
0988888
adding test for temp component with `ExternalWrapper`
BSd3v Jun 2, 2025
7de127a
fixing for lint
BSd3v Jun 2, 2025
13042c8
updating changelog
BSd3v Jun 2, 2025
7d527b8
Merge branch 'dev' into dev
CNFeffery Jun 3, 2025
718ff69
Add endline
CNFeffery Jun 3, 2025
c470eb3
Add import for typing.List
CNFeffery Jun 3, 2025
0a2176b
Merge pull request #3319 from BSd3v/external-wrapper-temp-flag
T4rk1n Jun 3, 2025
ebb78b6
Add lint-staged to pre-commit
T4rk1n Jun 3, 2025
f4dda00
Merge pull request #3321 from plotly/staged-pre-commit
T4rk1n Jun 3, 2025
858e62f
Merge branch 'plotly:dev' into dev
CNFeffery Jun 3, 2025
eef8d24
Fix black lint
CNFeffery Jun 3, 2025
b6fd63c
Fix black lint(via npm run format)
CNFeffery Jun 4, 2025
a5ff987
Merge pull request #3077 from CNFeffery/dev
T4rk1n Jun 4, 2025
82d91c2
Merge branch 'dev' into release/dash-3.1.0
T4rk1n Jun 4, 2025
649d0b1
Update changelog
T4rk1n Jun 4, 2025
6192391
Make dash wsgi compliant
T4rk1n Jun 4, 2025
b0bb8de
Merge pull request #3322 from plotly/release/dash-3.1.0
T4rk1n Jun 4, 2025
86e6042
Merge branch 'dev' into wsgi-call
T4rk1n Jun 4, 2025
e8a235a
update changelog
T4rk1n Jun 4, 2025
a694e05
Merge pull request #3323 from plotly/wsgi-call
T4rk1n Jun 4, 2025
f9cf419
Fix pre-commit cd and no revert
T4rk1n Jun 6, 2025
9add5c1
Merge pull request #3328 from plotly/fix-pre-commit-cd
T4rk1n Jun 9, 2025
832ab4d
Merge remote-tracking branch 'remote/dev' into support-async-callbacks
BSd3v Jun 11, 2025
d0b2dd3
fixing tyop
BSd3v Jun 11, 2025
e88bc3c
fixing for issues with callback structure
BSd3v Jun 11, 2025
a1bd54f
Update dash/_callback.py
BSd3v Jun 11, 2025
7f35ecd
adjusting issue with try
BSd3v Jun 11, 2025
28b0693
Merge branch 'support-async-callbacks' of github.com:BSd3v/dash into …
BSd3v Jun 11, 2025
443f785
removing `test_async` from the utils to keep from confusing `pytest`
BSd3v Jun 11, 2025
07bcd38
fixing for lint
BSd3v Jun 11, 2025
e82f561
updates for new `background_callbacks` test path
BSd3v Jun 11, 2025
43fe153
adjustment for GHA to run the async test
BSd3v Jun 11, 2025
6fd556d
adding step for creating the test components
BSd3v Jun 11, 2025
abbfcd2
altering path for the get background callback manager
BSd3v Jun 11, 2025
13a33be
verifying redis is still running
BSd3v Jun 11, 2025
e3a1496
issue with celery
BSd3v Jun 11, 2025
e8bcb22
adjusting order
BSd3v Jun 11, 2025
43d10c4
attempt to fix failing test
BSd3v Jun 11, 2025
4b3c011
moving async install
BSd3v Jun 11, 2025
777a12b
adding test components
BSd3v Jun 11, 2025
769fc7e
remove async test from circleci
T4rk1n Jun 13, 2025
12574d1
move async tests
T4rk1n Jun 16, 2025
3c610b3
remove integrations tests from async_tests
T4rk1n Jun 16, 2025
d955ce1
fix async_tests
T4rk1n Jun 16, 2025
513408d
fix async tests
T4rk1n Jun 17, 2025
558ab0c
update flask
T4rk1n Jun 17, 2025
a76d715
remove werkzeug version check from tests
T4rk1n Jun 17, 2025
d28bf30
fix lint
T4rk1n Jun 18, 2025
75a3752
Merge pull request #3089 from BSd3v/support-async-callbacks
T4rk1n Jun 18, 2025
5eca8c4
fix closeOnSelect
T4rk1n Jun 18, 2025
6f6e16e
build
T4rk1n Jun 18, 2025
dd74965
Merge pull request #3334 from plotly/fix-close-on-select
T4rk1n Jun 18, 2025
2122fd3
Fix query string parsing regression introduced in 2.18.2 #3106
Jun 25, 2025
7aed2b8
Added changelog
Jun 25, 2025
b245768
Merge branch 'dev' into update-flask
T4rk1n Jun 25, 2025
dea0efa
fix async test werkzeug version check
T4rk1n Jun 25, 2025
e2fc683
Merge pull request #3333 from plotly/update-flask
T4rk1n Jun 25, 2025
52f3fbc
Merge branch 'dev' into dev
T4rk1n Jun 25, 2025
11fbbdf
Merge pull request #3341 from C0deBeez/dev
T4rk1n Jun 25, 2025
87470cd
Fix * target props dcc.Loading
T4rk1n Jun 25, 2025
d3e20b8
Merge pull request #3344 from plotly/fix-start-loading
T4rk1n Jun 26, 2025
df3810c
Upgrade js build deps
T4rk1n Jun 26, 2025
89a1ca5
version 3.1.0
T4rk1n Jun 26, 2025
0fa0a41
Merge pull request #3345 from plotly/version-3.1.0
T4rk1n Jun 26, 2025
606203c
Merge branch 'dev' into master-3.1.0
T4rk1n Jun 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
179 changes: 12 additions & 167 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ orbs:
jobs:
artifacts:
docker:
- image: cimg/python:3.12.1
- image: cimg/python:3.12.10
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
Expand All @@ -31,7 +31,7 @@ jobs:
install-dependencies-312: &install-dependencies
working_directory: ~/dash
docker:
- image: cimg/python:3.12.1-node
- image: cimg/python:3.12.10-node
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
Expand All @@ -49,7 +49,8 @@ jobs:
name: 🏁 Build Component Packages & Update Dependencies/Artifacts
command: |
python -m venv venv && . venv/bin/activate
pip install --upgrade pip wheel setuptools
pip install "pip<25.0"
pip install --upgrade wheel setuptools
set -eo pipefail
pip install -e .[ci,dev,testing,celery,diskcache] --progress-bar off
pip list | grep dash
Expand Down Expand Up @@ -89,7 +90,7 @@ jobs:
lint-unit-312: &lint-unit
working_directory: ~/dash
docker:
- image: cimg/python:3.12.1-browsers
- image: cimg/python:3.12.10-browsers
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
Expand Down Expand Up @@ -175,7 +176,7 @@ jobs:
test-312: &test
working_directory: ~/dash
docker:
- image: cimg/python:3.12.1-browsers
- image: cimg/python:3.12.10-browsers
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
Expand All @@ -184,11 +185,6 @@ jobs:
PERCY_PARALLEL_TOTAL: -1
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: True
PYVERSION: python312
REDIS_URL: redis://localhost:6379
- image: cimg/redis:6.2.6
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
parallelism: 3
steps:
- checkout:
Expand All @@ -200,6 +196,7 @@ jobs:
sudo apt-get update
- run: echo $PYVERSION > ver.txt
- run: cat requirements/*.txt > requirements-all.txt
- run: cat requirements-all.txt
- restore_cache:
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
- browser-tools/install-browser-tools:
Expand All @@ -212,9 +209,10 @@ jobs:
name: ️️🏗️ Install package
command: |
. venv/bin/activate
pip install "pip<25"
npm ci
pip install dash-package/dash-package.tar.gz[ci,dev,testing,celery,diskcache] --progress-bar off
pip list | grep dash
pip list
- run:
name: 🧪 Run Integration Tests
command: |
Expand All @@ -238,16 +236,11 @@ jobs:
PERCY_ENABLE: 0
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: True
PYVERSION: python38
REDIS_URL: redis://localhost:6379
- image: cimg/redis:6.2.6
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB

dcc-lint-unit-312: &dcc-lint-unit
working_directory: ~/dash
docker:
- image: cimg/python:3.12.1-node
- image: cimg/python:3.12.10-node
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
Expand Down Expand Up @@ -284,7 +277,7 @@ jobs:
dcc-312: &dcc-test
working_directory: ~/dash
docker:
- image: cimg/python:3.12.1-browsers
- image: cimg/python:3.12.10-browsers
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
Expand Down Expand Up @@ -345,7 +338,7 @@ jobs:
html-312: &html-test
working_directory: ~/dash
docker:
- image: cimg/python:3.12.1-browsers
- image: cimg/python:3.12.10-browsers
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
Expand Down Expand Up @@ -411,105 +404,6 @@ jobs:
PYVERSION: python38
PERCY_ENABLE: 0

table-server: &table-server
working_directory: ~/dash
docker:
- image: cimg/python:3.12.1-browsers
environment:
PYVERSION: python312
PERCY_ENABLE: 1
PERCY_PARALLEL_TOTAL: -1

parallelism: 5

steps:
- checkout:
path: ~/dash
- run:
name: Add chrome keys & update.
command: |
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
- run: echo $PYVERSION > ver.txt
- run: cat requirements/*.txt > requirements-all.txt
- restore_cache:
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
- browser-tools/install-browser-tools:
chrome-version: 120.0.6099.71
install-firefox: false
install-geckodriver: false
- attach_workspace:
at: ~/dash
- run:
name: ️️🏗️ Install package
command: |
. venv/bin/activate
pip install dash-package/dash-package.tar.gz[ci,dev,testing,celery,diskcache] --progress-bar off
pip list | grep dash
- run:
name: Inject Percy Environment variables
command: |
echo 'export PERCY_TOKEN="$PERCY_TOKEN"' >> $BASH_ENV
- run:
name: Run tests
command: |
. venv/bin/activate
cd components/dash-table
TESTFILES=$(circleci tests glob "tests/selenium/**/test_*.py" | circleci tests split --split-by=timings)
pytest --nopercyfinalize --junitxml=test-reports/junit_intg.xml --junitprefix="components.dash-table" ${TESTFILES}
- store_artifacts:
path: ~/dash/components/dash-table/test-reports
- store_test_results:
path: ~/dash/components/dash-table/test-reports
- store_artifacts:
path: /tmp/dash_artifacts

table-unit-test:
working_directory: ~/dash
docker:
- image: cimg/python:3.12.1-browsers
environment:
PYVERSION: python312
PERCY_ENABLE: 0
steps:
- checkout:
path: ~/dash
- run:
name: Add chrome keys & update.
command: |
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
- run: echo $PYVERSION > ver.txt
- run: cat requirements/*.txt > requirements-all.txt
- restore_cache:
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
- restore_cache:
key: table-{{ checksum "components/dash-table/package.json" }}-{{ checksum "components/dash-table/package-lock.json" }}
- browser-tools/install-browser-tools:
chrome-version: 120.0.6099.71
install-firefox: false
install-geckodriver: false
- attach_workspace:
at: ~/dash
- run:
name: ️️🏗️ Install package and table deps
command: |
. venv/bin/activate
pip install dash-package/dash-package.tar.gz[ci,dev,testing,celery,diskcache] --progress-bar off
pip list | grep dash
cd components/dash-table
npm ci
- save_cache:
key: table-{{ checksum "components/dash-table/package.json" }}-{{ checksum "components/dash-table/package-lock.json" }}
paths:
- components/dash-table/node_modules
- run:
name: Run tests
command: |
. venv/bin/activate
cd components/dash-table
npm run test.unit

table-visual-test:
working_directory: ~/dash/components/dash-table
docker:
Expand Down Expand Up @@ -546,45 +440,6 @@ jobs:
- store_artifacts:
path: storybook-static

table-node:
working_directory: ~/dash
docker:
- image: cimg/python:3.12.1-node
environment:
PYVERSION: python312
PERCY_ENABLE: 0
steps:
- checkout:
path: ~/dash
- run: echo $PYVERSION > ver.txt
- run: cat requirements/*.txt > requirements-all.txt
- restore_cache:
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
- restore_cache:
key: dep-{{ .Branch }}-{{ checksum "components/dash-table/package-lock.json" }}-{{ checksum "components/dash-table/package.json" }}
- run:
name: Install package.json
command: cd components/dash-table && npm ci
- save_cache:
key: dep-{{ .Branch }}-{{ checksum "components/dash-table/package-lock.json" }}-{{ checksum "components/dash-table/package.json" }}
paths:
- components/dash-table/node_modules
- attach_workspace:
at: ~/dash
- run:
name: Install requirements
command: |
. venv/bin/activate
pip install dash-package/dash-package.tar.gz[ci,dev,testing]

- run:
name: Run eslint
command: |
. venv/bin/activate
cd components/dash-table
npm run lint
when: always

workflows:
version: 2
tests:
Expand Down Expand Up @@ -629,23 +484,13 @@ workflows:
requires:
- install-dependencies-38

- table-node:
requires:
- install-dependencies-312
- table-unit-test:
requires:
- install-dependencies-312
- table-visual-test
- table-server:
requires:
- install-dependencies-312

- percy/finalize_all:
requires:
- test-312
- dcc-312
- html-312
- table-server
- artifacts:
requires:
- percy/finalize_all
Expand Down
Loading