Skip to content

Commit f108db7

Browse files
committed
add 3.10 tests, remove 3.6 + 3.7
1 parent 95cc3d0 commit f108db7

File tree

3 files changed

+50
-40
lines changed

3 files changed

+50
-40
lines changed

.circleci/config.yml

Lines changed: 25 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ commands:
77
test_core:
88
parameters:
99
py:
10-
default: "36"
10+
default: "310"
1111
type: string
1212
steps:
1313
- checkout
@@ -32,7 +32,7 @@ commands:
3232
test_optional:
3333
parameters:
3434
py:
35-
default: "36"
35+
default: "310"
3636
type: string
3737
steps:
3838
- checkout
@@ -95,7 +95,7 @@ commands:
9595
test_orca:
9696
parameters:
9797
py:
98-
default: "36"
98+
default: "310"
9999
type: string
100100
steps:
101101
- checkout
@@ -153,20 +153,6 @@ jobs:
153153
black --check . --exclude venv
154154
155155
# Core
156-
python_36_core:
157-
docker:
158-
- image: cimg/python:3.6-browsers
159-
steps:
160-
- test_core:
161-
py: "36"
162-
163-
python_37_core:
164-
docker:
165-
- image: cimg/python:3.7-browsers
166-
steps:
167-
- test_core:
168-
py: "37"
169-
170156
python_38_core:
171157
docker:
172158
- image: cimg/python:3.8-browsers
@@ -181,20 +167,14 @@ jobs:
181167
- test_core:
182168
py: "39"
183169

184-
# Optional
185-
python_36_optional:
170+
python_310_core:
186171
docker:
187-
- image: cimg/python:3.6-browsers
172+
- image: cimg/python:3.10-browsers
188173
steps:
189-
- test_optional:
190-
py: "36"
174+
- test_core:
175+
py: "310"
191176

192-
python_37_optional:
193-
docker:
194-
- image: cimg/python:3.7-browsers
195-
steps:
196-
- test_optional:
197-
py: "37"
177+
# Optional
198178

199179
python_38_optional:
200180
docker:
@@ -210,6 +190,13 @@ jobs:
210190
- test_optional:
211191
py: "39"
212192

193+
python_310_optional:
194+
docker:
195+
- image: cimg/python:3.10-browsers
196+
steps:
197+
- test_optional:
198+
py: "310"
199+
213200
# Pandas
214201

215202
python_39_pandas_2_optional:
@@ -228,7 +215,7 @@ jobs:
228215
py: "38"
229216

230217
# Percy
231-
python_37_percy:
218+
python_39_percy:
232219
docker:
233220
- image: cimg/python:3.9-browsers
234221
environment:
@@ -277,9 +264,9 @@ jobs:
277264
rm test/percy/*.html
278265
279266
# Chart studio
280-
python_37_chart_studio:
267+
python_38_chart_studio:
281268
docker:
282-
- image: cimg/python:3.7
269+
- image: cimg/python:3.8
283270
resource_class: large
284271

285272
steps:
@@ -291,7 +278,7 @@ jobs:
291278
python -m venv venv
292279
. venv/bin/activate
293280
pip install --upgrade pip wheel
294-
pip install -r ./test_requirements/requirements_37.txt
281+
pip install -r ./test_requirements/requirements_38.txt
295282
- run:
296283
name: Tests
297284
command: |
@@ -302,7 +289,7 @@ jobs:
302289

303290
plotlyjs_dev_build:
304291
docker:
305-
- image: cimg/python:3.7-node
292+
- image: cimg/python:3.8-node
306293
environment:
307294
LANG: en_US.UTF-8
308295
resource_class: large
@@ -316,7 +303,7 @@ jobs:
316303
python -m venv venv
317304
. venv/bin/activate
318305
pip install --upgrade pip wheel
319-
pip install -r ./test_requirements/requirements_37_core.txt black inflect
306+
pip install -r ./test_requirements/requirements_38_core.txt black inflect
320307
pip install jupyterlab~=3.0
321308
- run:
322309
name: Update jupyterlab-plotly version
@@ -433,7 +420,7 @@ jobs:
433420
docker:
434421
# specify the version you desire here
435422
# use `-browsers` prefix for selenium tests, for example, `3.6.1-browsers`
436-
- image: cimg/python:3.7-browsers
423+
- image: cimg/python:3.10-browsers
437424

438425
steps:
439426
- add_ssh_keys:
@@ -570,15 +557,13 @@ workflows:
570557

571558
build:
572559
jobs:
573-
- python_36_core
574-
- python_37_core
575560
- python_38_core
576561
- python_39_core
577-
- python_36_optional
578-
- python_37_optional
562+
- python_310_core
579563
- python_38_optional
580564
- python_39_optional
565+
- python_310_optional
581566
- python_39_pandas_2_optional
582567
- python_38_orca
583-
- python_37_percy
568+
- python_39_percy
584569
- build-doc
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
requests==2.25.1
2+
tenacity==6.2.0
3+
pytest==7.4.4
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
requests==2.25.1
2+
tenacity==6.2.0
3+
pandas==1.5.3
4+
numpy==1.23.0
5+
xarray==0.17.0
6+
statsmodels
7+
Pillow==10.2.0
8+
pytest==7.4.4
9+
pytz==2023.3.post1
10+
ipython[all]==7.22.0
11+
ipywidgets==8.0.2
12+
ipykernel==5.5.3
13+
jupyter==1.0.0
14+
scipy==1.11.4
15+
Shapely==1.8.5
16+
geopandas==0.9.0
17+
pyshp==2.1.3
18+
matplotlib==3.8.0
19+
scikit-image==0.22.0
20+
psutil==5.7.0
21+
kaleido
22+
orjson==3.8.12

0 commit comments

Comments
 (0)