Skip to content

Commit 08c1d4e

Browse files
committed
pin kaleido v1 (prerelease) in test requirements
1 parent 350dd48 commit 08c1d4e

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.circleci/config.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ commands:
117117
source .venv/bin/activate
118118
python -m pytest -x test_init/test_lazy_imports.py
119119
120-
test_io_kaleido_v1:
120+
test_io_kaleido_v0:
121121
steps:
122122
- checkout
123123
- browser-tools/install-chrome
@@ -130,17 +130,17 @@ commands:
130130
source .venv/bin/activate
131131
uv pip install .
132132
uv pip install -r ./test_requirements/requirements_optional.txt
133-
# Install Kaleido v1 instead of the default version
133+
# Install Kaleido v0 instead of the v1 specified in requirements_optional.txt
134134
uv pip uninstall kaleido
135-
uv pip install 'git+https://github.com/plotly/[email protected]#subdirectory=src/py'
135+
uv pip install kaleido==0.2.1
136136
- run:
137137
name: List installed packages and python version
138138
command: |
139139
source .venv/bin/activate
140140
uv pip list
141141
python --version
142142
- run:
143-
name: Test plotly.io image output with Kaleido v1
143+
name: Test plotly.io image output with Kaleido v0
144144
command: |
145145
source .venv/bin/activate
146146
python -m pytest tests/test_optional/test_kaleido
@@ -195,7 +195,7 @@ jobs:
195195
pandas_version: <<parameters.pandas_version>>
196196
numpy_version: <<parameters.numpy_version>>
197197

198-
test_kaleido_v1:
198+
test_kaleido_v0:
199199
parameters:
200200
python_version:
201201
default: "3.12"
@@ -204,7 +204,7 @@ jobs:
204204
name: docker-container
205205
python_version: <<parameters.python_version>>
206206
steps:
207-
- test_io_kaleido_v1
207+
- test_io_kaleido_v0
208208

209209
# Percy
210210
python_311_percy:
@@ -488,7 +488,7 @@ workflows:
488488
python_version: "3.9"
489489
pandas_version: "1.2.4"
490490
numpy_version: "1.26.4"
491-
- test_kaleido_v1:
491+
- test_kaleido_v0:
492492
matrix:
493493
parameters:
494494
python_version:

test_requirements/requirements_optional.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ pyshp
1717
matplotlib
1818
scikit-image
1919
psutil
20-
kaleido
20+
# kaleido>=1.0.0 # Uncomment and delete line below once Kaleido v1 is released
21+
git+https://github.com/plotly/[email protected]#subdirectory=src/py
2122
orjson
2223
polars[timezone]
2324
pyarrow

0 commit comments

Comments
 (0)