For developers
Setup
Install the full dependency tree:
uv sync --all-extras --all-groups
Tests
Assuming you synced the whole dependency tree:
uv run pytest
Smoke tests require internet access. Use --smoke to enable them.
uv run pytest --smoke tests/test_smoke.py
Versioning
The parser and package versions are decoupled. A dedicated test checks if the current prompts and schemas match a reference for the installed package and parser versions.
When shipping remember to:
- bump the software version in
pyproject.toml - if a change in the parser requires migrating or reprocessing existing data,
bump the parser version in
_version.py. - generate and review a new parser reference in the dedicated directory with
uv run reference tests/parser_reference - commit and tag with the new package version.