Skip to content

Commit 36a5885

Browse files
committed
more uv run updates
1 parent a749ef8 commit 36a5885

File tree

4 files changed

+49
-8
lines changed

4 files changed

+49
-8
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,6 @@ jobs:
314314
steps:
315315
- uses: actions/checkout@v4
316316

317-
- name: set up python
318-
id: setup-python
319-
uses: actions/setup-python@v5
320-
with:
321-
python-version: '3.13'
322-
323317
- name: install rust nightly
324318
uses: dtolnay/rust-toolchain@nightly
325319
with:
@@ -337,7 +331,13 @@ jobs:
337331
version: '3.1.58'
338332
actions-cache-folder: emsdk-cache
339333

340-
- run: pip install 'maturin>=1,<2' 'ruff==0.5.0' typing_extensions
334+
- name: install uv
335+
uses: astral-sh/setup-uv@v3
336+
with:
337+
enable-cache: true
338+
339+
- name: install deps
340+
run: uv sync --python 3.12 --group wasm
341341

342342
- name: build wheels
343343
run: make build-wasm

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ lint: lint-python lint-rust
121121

122122
.PHONY: pyright
123123
pyright:
124-
pyright
124+
uv run pyright
125125

126126
.PHONY: test
127127
test:

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,16 @@ linting = [
7777
'ruff',
7878
'mypy',
7979
]
80+
wasm = [
81+
'typing_extensions',
82+
'maturin>=1,<2',
83+
'ruff',
84+
]
8085

8186
all = [
8287
{ include-group = 'testing' },
8388
{ include-group = 'linting' },
89+
{ include-group = 'wasm' },
8490
]
8591

8692
[tool.maturin]

uv.lock

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)