@@ -92,7 +92,7 @@ commands:
9292jobs :
9393 check-code-formatting :
9494 docker :
95- - image : cimg/python:3.7
95+ - image : cimg/python:3.11
9696
9797 steps :
9898 - checkout
@@ -101,7 +101,7 @@ jobs:
101101 command : |
102102 python -m venv venv
103103 . venv/bin/activate
104- pip install black==22.3.0
104+ pip install black
105105 - run :
106106 name : Check formatting with black
107107 command : |
@@ -150,24 +150,25 @@ jobs:
150150 - run :
151151 name : Install requirements
152152 command : |
153- python -m venv venv
154- . venv/bin/activate
155- pip install -e .
156- pip install -r test_requirements/requirements_optional.txt
153+ curl -LsSf https://astral.sh/uv/install.sh | sh
154+ uv venv
155+ source .venv/bin/activate
156+ uv pip install -e .
157+ uv pip install -r test_requirements/requirements_optional.txt
157158
158159 - run :
159160 name : Build html figures (Pandas 2)
160161 command : |
161- . venv/bin/activate
162+ source . venv/bin/activate
162163 python tests/percy/plotly-express.py
163164 - run :
164165 name : Build html figures (Pandas 1) and compare
165166 command : |
166- . venv/bin/activate
167+ source . venv/bin/activate
167168 mkdir tests/percy/pandas2
168169 mv tests/percy/*.html tests/percy/pandas2/
169170 # 1.1 is the earliest minor with Py3.9 wheels
170- pip install "pandas==1.1.5"
171+ uv pip install "pandas==1.1.5"
171172 python tests/percy/plotly-express.py
172173 python tests/percy/compare-pandas.py
173174 rm -rf tests/percy/pandas2
@@ -190,20 +191,20 @@ jobs:
190191 - run :
191192 name : Install dependencies
192193 command : |
193- python -m venv venv
194- . venv/bin/activate
195- pip install -e .
196- pip install -r ./test_requirements/requirements_core.txt black inflect
197- pip install jupyterlab
194+ curl -LsSf https://astral.sh/uv/install.sh | sh
195+ uv venv
196+ source .venv/bin/activate
197+ uv pip install -e .
198+ uv pip install -r ./test_requirements/requirements_core.txt black inflect jupyterlab
198199 - run :
199200 name : Update plotly.js to dev
200201 command : |
201- . venv/bin/activate
202+ source . venv/bin/activate
202203 python commands.py updateplotlyjsdev
203204 - run :
204205 name : Test core
205206 command : |
206- . venv/bin/activate
207+ source . venv/bin/activate
207208 locale
208209 pytest -k 'not nodev' tests/test_core
209210 no_output_timeout : 20m
@@ -218,8 +219,8 @@ jobs:
218219 - run :
219220 name : Build source distribution packages
220221 command : |
221- . venv/bin/activate
222- pip install build
222+ source . venv/bin/activate
223+ uv pip install build
223224 python -m build --sdist --wheel -o dist
224225 when : always
225226 - store_artifacts :
0 commit comments