Switch from poetry to uv
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:
Alexander Hess 2026-11-25 15:54:16 +01:00
commit e2d117e303
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -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