66executors :
77 docker-container :
88 parameters :
9- version :
9+ python_version :
1010 description : " python version"
1111 default : " 3.10"
1212 type : string
1313 docker :
14- - image : cimg/python:<<parameters.version >>-browsers
14+ - image : cimg/python:<<parameters.python_version >>-browsers
1515
1616commands :
1717 test_core :
@@ -38,6 +38,8 @@ commands:
3838 numpy_installed :
3939 default : true
4040 type : boolean
41+ pandas_version :
42+ type : string
4143 steps :
4244 - checkout
4345 - browser-tools/install-chrome
@@ -53,6 +55,15 @@ commands:
5355 cd js
5456 npm ci
5557 npm run build
58+
59+ - when :
60+ condition : <<parameters.pandas_version>>
61+ steps :
62+ - run :
63+ name : Install pandas
64+ command : |
65+ source .venv/bin/activate
66+ uv pip install pandas==<<parameters.pandas_version>>
5667
5768 - run :
5869 name : Test core
@@ -110,25 +121,29 @@ jobs:
110121
111122 test_core_py :
112123 parameters :
113- version :
124+ python_version :
114125 default : " 3.10"
115126 type : string
116127 executor :
117128 name : docker-container
118- version : <<parameters.version >>
129+ python_version : <<parameters.python_version >>
119130 steps :
120131 - test_core
121132
122133 test_optional_py :
123134 parameters :
124- version :
135+ python_version :
125136 default : " 3.10"
126137 type : string
138+ pandas_version :
139+ default : " 2"
140+ type : string
127141 executor :
128142 name : docker-container
129- version : <<parameters.version >>
143+ python_version : <<parameters.python_version >>
130144 steps :
131- - test_optional
145+ - test_optional :
146+ pandas_version : <<parameters.pandas_version>>
132147
133148 # Percy
134149 python_39_percy :
@@ -208,14 +223,6 @@ jobs:
208223 locale
209224 pytest -k 'not nodev' tests/test_core
210225 no_output_timeout : 20m
211- - run :
212- name : Commit
213- command : |
214- git config --global user.email "you@example.com"
215- git config --global user.name "Your Name"
216- git add -A
217- git commit -m "Codegen"
218- when : always
219226 - run :
220227 name : Build source distribution packages
221228 command : |
@@ -280,7 +287,7 @@ jobs:
280287 - browser-tools/install-chromedriver
281288
282289 - run :
283- name : install dependencies
290+ name : Install dependencies
284291 command : |
285292 cd doc
286293 curl -LsSf https://astral.sh/uv/install.sh | sh
@@ -394,7 +401,7 @@ workflows:
394401 - test_core_py :
395402 matrix :
396403 parameters :
397- version :
404+ python_version :
398405 - " 3.8"
399406 - " 3.9"
400407 - " 3.10"
@@ -403,11 +410,14 @@ workflows:
403410 - test_optional_py :
404411 matrix :
405412 parameters :
406- version :
413+ python_version :
407414 - " 3.8"
408415 - " 3.9"
409416 - " 3.10"
410417 - " 3.11"
411418 - " 3.12"
419+ - test_optional_py :
420+ python_version : " 3.9"
421+ pandas_version : " 1.1"
412422 - python_39_percy
413423 - build-doc
0 commit comments