Helps generate uv's lockfiles by running uv sync on all necessary packages and services.
It also detects transitive dependency changes — if a local path dependency's pyproject.toml changed (e.g. unstract/sdk1), all services that depend on it (e.g. backend, workers) will have their lockfiles regenerated too.
- project root
backendrunnerunstract/coreunstract/flagsplatform-servicex2text-serviceunstract/connectorsunstract/tool-sandbox
Can be run without any arguments to check for lockfile generation on all necessary packages and services
./uv-lock.sh
Accepts a list of directories to generate for as command line arguments
./uv-lock.sh backend platform-service