Switch from poetry to uv
All checks were successful
CI / Tests (Python 3.13) (push) Successful in 1m8s
All checks were successful
CI / Tests (Python 3.13) (push) Successful in 1m8s
Use the PEP 735 "[dependency-groups]" (here: "dev", "test", "docs") instead of Poetry's "dev" group, and `uv_build` as the build backend. Replace poetry.lock with uv.lock. Also, adapt CI and the README.
This commit is contained in:
parent
afb17b61da
commit
e2d117e303
1 changed files with 3809 additions and 5635 deletions
|
|
@ -47,18 +47,16 @@ jobs:
|
|||
r-cran-zoo \
|
||||
-y
|
||||
|
||||
- name: Install development tool chain (Python, uv, poetry)
|
||||
- name: Install development tool chain (Python, uv)
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
"$HOME/.local/bin/uv" python install 3.13
|
||||
"$HOME/.local/bin/uv" tool install --python 3.13 'poetry>=2'
|
||||
|
||||
- name: Install the project
|
||||
run: |
|
||||
uv venv --python 3.13 --seed .venv
|
||||
poetry sync --no-interaction
|
||||
uv sync --locked --python-preference only-managed
|
||||
|
||||
# `TESTING=true` comes from `pyproject.toml`
|
||||
- name: Run the test suite
|
||||
run: poetry run pytest -q
|
||||
run: uv run pytest -q
|
||||
|
|
|
|||
Loading…
Reference in a new issue