@@ -10,36 +10,36 @@ pygeoapi-prefect is a process/job manager for PyGeoAPI that uses Prefect for wor
1010
1111``` bash
1212# Install with dev dependencies
13- poetry install --with dev
13+ uv sync --group dev
1414
1515# Run pre-commit checks (ruff, black, mypy)
16- poetry run pre-commit run --all-files
16+ uv run pre-commit run --all-files
1717
1818# Run tests
19- poetry run pytest tests/
19+ uv run pytest tests/
2020
2121# Build documentation
22- poetry run mkdocs build
22+ uv run mkdocs build
2323```
2424
2525## Running Locally
2626
2727``` bash
2828# Start Prefect server (terminal 1)
29- poetry run prefect server start
29+ uv run prefect server start
3030
3131# Configure and start agent (terminal 2)
32- poetry run prefect config set PREFECT_API_URL=http://127.0.0.1:4200/api
33- poetry run prefect agent start --work-queue pygeoapi
32+ uv run prefect config set PREFECT_API_URL=http://127.0.0.1:4200/api
33+ uv run prefect agent start --work-queue pygeoapi
3434
3535# Start PyGeoAPI (terminal 3)
36- PYGEOAPI_CONFIG=example-config.yml PYGEOAPI_OPENAPI=example-openapi.yml poetry run pygeoapi serve
36+ PYGEOAPI_CONFIG=example-config.yml PYGEOAPI_OPENAPI=example-openapi.yml uv run pygeoapi serve
3737
3838# Deploy a process flow
39- poetry run pygeoapi-prefect deploy-process hi-prefect-world --pygeoapi-config example-config.yml
39+ uv run pygeoapi-prefect deploy-process hi-prefect-world --pygeoapi-config example-config.yml
4040
4141# Regenerate OpenAPI spec after config changes
42- poetry run pygeoapi openapi generate example-config.yml > example-openapi.yml
42+ uv run pygeoapi openapi generate example-config.yml > example-openapi.yml
4343```
4444
4545## Architecture
@@ -76,7 +76,7 @@ def process_flow(
7676
7777- Uses Pydantic v1.x (1.10.7)
7878- Click pinned to 8.0.0 for pygeoapi compatibility
79- - Requires local pygeoapi installation (path-based dependency in pyproject.toml )
79+ - Requires local pygeoapi installation (path dependency configured in ` [tool.uv.sources] ` )
8080- Uses anyio for async Prefect API communication
8181
8282## Configuration
0 commit comments