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:
219219 with :
220220 path : pydantic-core
221221
222- - name : set up python
223- uses : actions/setup-python@v5
224- with :
225- python-version : ' 3.13'
226-
227222 - name : install rust stable
228223 uses : dtolnay/rust-toolchain@stable
229224
230225 - name : cache rust
231226 uses : Swatinem/rust-cache@v2
232227
228+ - name : install uv
229+ uses : astral-sh/setup-uv@v3
230+ with :
231+ enable-cache : true
232+
233233 - name : install deps
234234 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'
240238 working-directory : pydantic
241239
242- - run : pdm info && pdm list
240+ - run : uv --version && uv pip list
243241 working-directory : pydantic
244242 # Run pytest with lax xfail because we often add tests to pydantic
245243 # 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
247245 working-directory : pydantic
248246 env :
249247 PYDANTIC_PRIVATE_ALLOW_UNHANDLED_SCHEMA_TYPES : 1
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ node_modules/
2929/worktree /
3030
3131/.editorconfig
32- /.pdm-python
3332/* .lcov
3433/* .profdata
3534/* .profraw
You can’t perform that action at this time.
0 commit comments