Switch from poetry to uv

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 355dfd993f
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -62,15 +62,15 @@ you can clone the project with [git](https://git-scm.com/)
and install the contained `velofy` package
and all its dependencies
in a [virtual environment](https://docs.python.org/3/tutorial/venv.html)
with [poetry](https://python-poetry.org/docs/):
with [uv](https://docs.astral.sh/uv/):
`git clone ssh://git@git.webartifex.de/alexander/velofy.git`
and
`poetry install --extras research`
`uv sync --extra research`
The `--extras` option is necessary as the non-develop dependencies
The `--extra` option is necessary as the non-develop dependencies
are structured in the [pyproject.toml](https://code.webartifex.de/alexander/velofy/src/branch/develop/pyproject.toml) file
into dependencies related to only the `velofy` source code package
and dependencies used to run the [Jupyter](https://jupyter.org/) environment