Skip to content

Commit 6ef7a6d

Browse files
Update toolchain (#1576)
1 parent edce374 commit 6ef7a6d

Some content is hidden

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

49 files changed

+10367
-14305
lines changed

.circleci/config.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313

1414
artifacts:
1515
docker:
16-
- image: circleci/python:3.7.9-stretch-node-browsers
16+
- image: circleci/python:3.9.2-buster-node-browsers
1717
auth:
1818
username: dashautomation
1919
password: $DASH_PAT_DOCKERHUB
2020
environment:
21-
PYVERSION: python37
21+
PYVERSION: python39
2222
steps:
2323
- checkout
2424
- run: echo $PYVERSION > ver.txt
@@ -30,16 +30,16 @@ jobs:
3030
path: ~/dash/packages
3131
destination: /tmp/packages
3232

33-
lint-unit-37: &lint-unit
33+
lint-unit-39: &lint-unit
3434
working_directory: ~/dash
3535
docker:
36-
- image: circleci/python:3.7.9-stretch-node-browsers
36+
- image: circleci/python:3.9.2-buster-node-browsers
3737
auth:
3838
username: dashautomation
3939
password: $DASH_PAT_DOCKERHUB
4040
environment:
41-
PYLINTRC: .pylintrc37
42-
PYVERSION: python37
41+
PYLINTRC: .pylintrc39
42+
PYVERSION: python39
4343

4444
steps:
4545
- checkout
@@ -73,7 +73,7 @@ jobs:
7373
lint-unit-36:
7474
<<: *lint-unit
7575
docker:
76-
- image: circleci/python:3.6.12-stretch-node-browsers
76+
- image: circleci/python:3.6.13-stretch-node-browsers
7777
auth:
7878
username: dashautomation
7979
password: $DASH_PAT_DOCKERHUB
@@ -92,15 +92,15 @@ jobs:
9292
PYLINTRC: .pylintrc
9393
PYVERSION: python27
9494

95-
build-core-37: &build-core
95+
build-core-39: &build-core
9696
working_directory: ~/dash
9797
docker:
98-
- image: circleci/python:3.7.9-stretch-node-browsers
98+
- image: circleci/python:3.9.2-buster-node-browsers
9999
auth:
100100
username: dashautomation
101101
password: $DASH_PAT_DOCKERHUB
102102
environment:
103-
PYVERSION: python37
103+
PYVERSION: python39
104104
steps:
105105
- checkout
106106
- run: echo $PYVERSION > ver.txt
@@ -133,7 +133,7 @@ jobs:
133133
build-core-36:
134134
<<: *build-core
135135
docker:
136-
- image: circleci/python:3.6.12-stretch-node-browsers
136+
- image: circleci/python:3.6.13-stretch-node-browsers
137137
auth:
138138
username: dashautomation
139139
password: $DASH_PAT_DOCKERHUB
@@ -150,15 +150,15 @@ jobs:
150150
environment:
151151
PYVERSION: python27
152152

153-
build-misc-37: &build-misc
153+
build-misc-39: &build-misc
154154
working_directory: ~/dash
155155
docker:
156-
- image: circleci/python:3.7.9-stretch-node-browsers
156+
- image: circleci/python:3.9.2-buster-node-browsers
157157
auth:
158158
username: dashautomation
159159
password: $DASH_PAT_DOCKERHUB
160160
environment:
161-
PYVERSION: python37
161+
PYVERSION: python39
162162

163163
steps:
164164
- checkout
@@ -192,7 +192,7 @@ jobs:
192192
build-misc-36:
193193
<<: *build-misc
194194
docker:
195-
- image: circleci/python:3.6.12-stretch-node-browsers
195+
- image: circleci/python:3.6.13-stretch-node-browsers
196196
auth:
197197
username: dashautomation
198198
password: $DASH_PAT_DOCKERHUB
@@ -209,13 +209,13 @@ jobs:
209209
environment:
210210
PYVERSION: python27
211211

212-
build-windows-37:
212+
build-windows-39:
213213
working_directory: ~/dash
214214
executor:
215215
name: win/default
216216
shell: bash.exe
217217
environment:
218-
PYVERSION: python37
218+
PYVERSION: python39
219219
steps:
220220
- checkout
221221
- run: echo $PYVERSION > ver.txt
@@ -236,7 +236,7 @@ jobs:
236236
password: $DASH_PAT_DOCKERHUB
237237
environment:
238238
PERCY_PARALLEL_TOTAL: -1
239-
PYVERSION: python37
239+
PYVERSION: python39
240240
_R_CHECK_FORCE_SUGGESTS_: FALSE
241241

242242
steps:
@@ -336,17 +336,17 @@ jobs:
336336
when: on_fail
337337

338338

339-
test-37: &test
339+
test-39: &test
340340
working_directory: ~/dash
341341
docker:
342-
- image: circleci/python:3.7.9-stretch-node-browsers
342+
- image: circleci/python:3.9.2-buster-node-browsers
343343
auth:
344344
username: dashautomation
345345
password: $DASH_PAT_DOCKERHUB
346346
environment:
347347
PERCY_PARALLEL_TOTAL: -1
348348
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: True
349-
PYVERSION: python37
349+
PYVERSION: python39
350350
parallelism: 3
351351
steps:
352352
- checkout
@@ -384,7 +384,7 @@ jobs:
384384
test-36:
385385
<<: *test
386386
docker:
387-
- image: circleci/python:3.6.12-stretch-node-browsers
387+
- image: circleci/python:3.6.13-stretch-node-browsers
388388
auth:
389389
username: dashautomation
390390
password: $DASH_PAT_DOCKERHUB
@@ -405,21 +405,21 @@ jobs:
405405

406406
workflows:
407407
version: 2
408-
python3.7:
408+
python3.9:
409409
jobs:
410-
- lint-unit-37
411-
- build-core-37
412-
- build-windows-37
413-
- build-misc-37
410+
- lint-unit-39
411+
- build-core-39
412+
- build-windows-39
413+
- build-misc-39
414414
- build-dashr
415-
- test-37:
415+
- test-39:
416416
requires:
417-
- build-core-37
418-
- build-misc-37
417+
- build-core-39
418+
- build-misc-39
419419
- percy-finalize:
420420
requires:
421421
- build-dashr
422-
- test-37
422+
- test-39
423423
- artifacts:
424424
requires:
425425
- percy-finalize

.pylintrc37 renamed to .pylintrc39

File renamed without changes.

@plotly/eslint-config-dash/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.tgz

@plotly/eslint-config-dash/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# @plotly/eslint-config-dash
2+
3+
Shareable linting configurations for Dash projects.

@plotly/eslint-config-dash/index.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
module.exports = {
2+
extends: [
3+
'eslint:recommended',
4+
'prettier'
5+
],
6+
plugins: [
7+
'react',
8+
'import'
9+
],
10+
env: {
11+
browser: true
12+
},
13+
parser: 'babel-eslint',
14+
parserOptions: {
15+
sourceType: 'module',
16+
},
17+
rules: {
18+
'arrow-parens': [2, 'as-needed'],
19+
'comma-dangle': [2, 'never'],
20+
'no-unused-expressions': 2,
21+
'no-unused-vars': 2,
22+
'prefer-arrow-callback': 2,
23+
'quote-props': [2, 'as-needed'],
24+
'quotes': [2, 'single', { 'avoidEscape': true }]
25+
}
26+
};

0 commit comments

Comments
 (0)