File tree Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -219,31 +219,29 @@ jobs:
219
219
with :
220
220
path : pydantic-core
221
221
222
- - name : set up python
223
- uses : actions/setup-python@v5
224
- with :
225
- python-version : ' 3.13'
226
-
227
222
- name : install rust stable
228
223
uses : dtolnay/rust-toolchain@stable
229
224
230
225
- name : cache rust
231
226
uses : Swatinem/rust-cache@v2
232
227
228
+ - name : install uv
229
+ uses : astral-sh/setup-uv@v3
230
+ with :
231
+ enable-cache : true
232
+
233
233
- name : install deps
234
234
run : |
235
- pip install pdm maturin
236
- pdm venv create --with-pip
237
- pdm install -G testing -G email
238
- pdm run pip install maturin
239
- pdm run bash -c 'cd ../pydantic-core && make build-dev'
235
+ uv sync --python 3.13 --extra timezone
236
+ uv pip install maturin pip
237
+ uv run bash -c 'cd ../pydantic-core && make build-dev'
240
238
working-directory : pydantic
241
239
242
- - run : pdm info && pdm list
240
+ - run : uv --version && uv pip list
243
241
working-directory : pydantic
244
242
# Run pytest with lax xfail because we often add tests to pydantic
245
243
# which xfail on a pending release of pydantic-core
246
- - run : pdm run pytest --override-ini=xfail_strict=False
244
+ - run : uv run pytest --override-ini=xfail_strict=False
247
245
working-directory : pydantic
248
246
env :
249
247
PYDANTIC_PRIVATE_ALLOW_UNHANDLED_SCHEMA_TYPES : 1
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ node_modules/
29
29
/worktree /
30
30
31
31
/.editorconfig
32
- /.pdm-python
33
32
/* .lcov
34
33
/* .profdata
35
34
/* .profraw
You can’t perform that action at this time.
0 commit comments