Skip to content

Commit 43433b0

Browse files
authored
Merge pull request #202 from plotly/upgrade-python-version
Upgrade versions
2 parents cdfea33 + 59a2837 commit 43433b0

22 files changed

+1363
-2934
lines changed

.circleci/config.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ executors:
1111
password: $DASH_PAT_DOCKERHUB
1212
node-executor:
1313
docker:
14-
- image: cimg/node:20.5.1
14+
- image: cimg/python:3.11.7-node
1515
auth:
1616
username: dashautomation
1717
password: $DASH_PAT_DOCKERHUB
@@ -21,9 +21,9 @@ executors:
2121
auth:
2222
username: dashautomation
2323
password: $DASH_PAT_DOCKERHUB
24-
python-3-6-executor:
24+
python-3-8-executor:
2525
docker:
26-
- image: cimg/python:3.6.15-browsers
26+
- image: cimg/python:3.8.18-browsers
2727
auth:
2828
username: dashautomation
2929
password: $DASH_PAT_DOCKERHUB
@@ -41,6 +41,14 @@ jobs:
4141
name: Install package.json
4242
command: npm i
4343

44+
- run:
45+
name: Install tests/requirements.txt
46+
command: pip install -r tests/requirements.txt
47+
48+
- run:
49+
name: Run build
50+
command: npm run build:all
51+
4452
- save_cache:
4553
key: deps1-{{ .Branch }}-{{ checksum "package.json" }}
4654
paths:
@@ -119,9 +127,9 @@ jobs:
119127
pytest --headless tests/test_percy_snapshot.py
120128
when: always
121129

122-
python-3-6:
130+
python-3-8:
123131
<<: *test-template
124-
executor: python-3-6-executor
132+
executor: python-3-8-executor
125133

126134
environment:
127135
PERCY_ENABLE: False
@@ -139,7 +147,7 @@ workflows:
139147
build:
140148
jobs:
141149
- python-3-11
142-
- python-3-6
150+
- python-3-8
143151
- python-3-11-react-18
144152
- node
145153
- percy-finalize:

dash_cytoscape/dash_cytoscape.dev.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_cytoscape/dash_cytoscape.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_cytoscape/dash_cytoscape_extra.dev.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_cytoscape/dash_cytoscape_extra.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_cytoscape/package.json

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -48,35 +48,33 @@
4848
"cytoscape-spread": "^3.0.0",
4949
"cytoscape-svg": "0.4.0",
5050
"lodash": "^4.17.21",
51-
"ramda": "^0.29.0",
52-
"react": ">=16",
51+
"ramda": "^0.29.1",
5352
"react-cytoscapejs": "2.0.0",
54-
"react-dom": ">=16",
55-
"uuid": "^9.0.0"
53+
"uuid": "^9.0.1"
5654
},
5755
"devDependencies": {
58-
"@babel/core": "^7.23.0",
59-
"@babel/eslint-parser": "^7.22.15",
60-
"@babel/preset-env": "^7.22.20",
61-
"@babel/preset-react": "^7.22.15",
56+
"@babel/core": "^7.23.7",
57+
"@babel/eslint-parser": "^7.23.3",
58+
"@babel/preset-env": "^7.23.8",
59+
"@babel/preset-react": "^7.23.3",
6260
"babel-loader": "^9.1.3",
6361
"copyfiles": "^2.4.1",
64-
"css-loader": "^6.8.1",
65-
"eslint": "^8.50.0",
66-
"eslint-config-prettier": "^9.0.0",
67-
"eslint-plugin-import": "^2.28.1",
62+
"css-loader": "^6.9.1",
63+
"eslint": "^8.56.0",
64+
"eslint-config-prettier": "^9.1.0",
65+
"eslint-plugin-import": "^2.29.1",
6866
"eslint-plugin-react": "^7.33.2",
69-
"npm": "^10.1.0",
70-
"prettier": "^3.0.3",
67+
"npm": "^10.4.0",
68+
"prettier": "^3.2.4",
7169
"react-docgen": "^5.3.0",
72-
"style-loader": "^3.3.3",
73-
"webpack": "^5.88.2",
74-
"webpack-cli": "^5.1.4"
70+
"style-loader": "^3.3.4",
71+
"webpack": "^5.90.0",
72+
"webpack-cli": "^5.1.4",
73+
"react": "^18.2.0",
74+
"react-dom": "^18.2.0"
7575
},
7676
"peerDependencies": {
77-
"react": ">=16",
78-
"react-dom": ">=16",
79-
"webpack": "^5.88.2",
77+
"webpack": "^5.90.0",
8078
"webpack-cli": "^5.1.4"
8179
},
8280
"engines": {

demos/usage_cy_leaflet_aio.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
html.Div(
5757
cyto.CyLeaflet(
5858
id="my-cy-leaflet",
59-
cytoscape_props=dict(
60-
elements=[],
61-
stylesheet=cy_stylesheet,
62-
),
59+
cytoscape_props={
60+
"elements": [],
61+
"stylesheet": cy_stylesheet,
62+
},
6363
width=int(default_div_style["width"][:-2]),
6464
height=int(default_div_style["height"][:-2]),
6565
),
@@ -133,10 +133,10 @@ def update_location(location, width, height):
133133
return (
134134
cyto.CyLeaflet(
135135
id="my-cy-leaflet",
136-
cytoscape_props=dict(
137-
elements=new_elements,
138-
stylesheet=cy_stylesheet,
139-
),
136+
cytoscape_props={
137+
"elements": new_elements,
138+
"stylesheet": cy_stylesheet,
139+
},
140140
width=width,
141141
height=height,
142142
),

deps/dash_cytoscape.dev.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/dash_cytoscape.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/dash_cytoscape_extra.dev.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)