From 79a76be4a7ace04ac80c5d050da1e8f14b1cffd3 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 13 Jan 2025 10:24:33 +0100 Subject: Migrate python project to uv (#77) * Migrate to uv * Fix github build workflow * Fix CI * Another build attempt fix * Use python 3.13 for all environments --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 34d4406..697c53e 100644 --- a/README.md +++ b/README.md @@ -35,22 +35,22 @@ Candidates are links to users who have not yet explicitly added their `name` and ## Development -Local development requires a basic Python environment with [poetry](https://python-poetry.org/docs//) installed. +Local development requires a basic Python environment with [uv](https://docs.astral.sh/uv/) installed. ```bash -$ poetry install --with=dev -$ poetry run build -$ poetry run serve +$ uv sync --extra=dev +$ uv run build +$ uv run serve ``` Other commands are accessible via: ```bash -$ poetry run cli +$ uv run cli ``` Netlify build requires an updated `requirements.txt` file, if dependencies have changed, run: ```bash -$ poetry export --without-hashes --without dev -f requirements.txt -o requirements.txt +$ uv pip compile pyproject.toml -o requirements.txt ``` -- cgit v1.3.1