5151 with :
5252 python-version : ' 3.13'
5353
54+ - name : Install uv
55+ uses : astral-sh/setup-uv@v5
56+
5457 - name : Build wheels
5558 uses : PyO3/maturin-action@v1
5659 with :
@@ -60,15 +63,22 @@ jobs:
6063 sccache : ' true'
6164 # manylinux: ${{ matrix.platform.manylinux }} # https://github.com/PyO3/maturin-action/issues/245
6265
63- - name : mypy
66+ - name : setup
6467 shell : bash
6568 working-directory : icechunk-python
6669 run : |
6770 set -e
6871 python3 -m venv .venv
6972 source .venv/bin/activate
70- pip install --group upstream
71- pip install icechunk --find-links dist --force-reinstall
73+ uv pip install --group upstream
74+ uv pip install icechunk --no-deps --find-links dist --force-reinstall
75+ uv pip list
76+
77+ - name : mypy
78+ shell : bash
79+ working-directory : icechunk-python
80+ run : |
81+ set -e
7282 mypy python
7383
7484 - name : Restore cached hypothesis directory
@@ -158,13 +168,27 @@ jobs:
158168 with :
159169 python-version : ' 3.11'
160170
171+ - name : Install uv
172+ uses : astral-sh/setup-uv@v5
173+
161174 - name : Build wheels
162175 uses : PyO3/maturin-action@v1
163176 with :
164177 working-directory : icechunk/icechunk-python
165178 args : --release --out dist --find-interpreter
166179 sccache : ' true'
167180
181+ - name : setup
182+ shell : bash
183+ working-directory : icechunk/icechunk-python
184+ run : |
185+ set -e
186+ python3 -m venv .venv
187+ source .venv/bin/activate
188+ uv pip install icechunk['upstream'] --find-links dist --force-reinstall
189+ uv pip install pytest-mypy-plugins
190+ uv pip list
191+
168192 - name : pytest
169193 id : status
170194 shell : bash
@@ -173,10 +197,6 @@ jobs:
173197 ICECHUNK_XARRAY_BACKENDS_TESTS : 1
174198 run : |
175199 set -e
176- python3 -m venv .venv
177- source .venv/bin/activate
178- pip install icechunk['upstream'] --find-links dist --force-reinstall
179- pip install pytest-mypy-plugins
180200 # pass xarray's pyproject.toml so that pytest can find the `flaky` fixture
181201 pytest -c=../../xarray/pyproject.toml -W ignore tests/run_xarray_backends_tests.py
182202
0 commit comments