On a machine with uv < 0.12, lc init fails partway through and leaves a half-built project. The install docs don't mention the minimum uv version.
Repro (lightcone-cli 0.5.0rc2, Homebrew uv 0.11.7, macOS):
Error: `uv lock --project .../line-fit-demo` failed:
error: Required uv version `>=0.12` does not match the running version `0.11.7`
The directory is left with .git, .datalad, astra.yaml, pyproject.toml, data/, results/ and universes/, but no uv.lock or .venv. After that, lc materialize says:
Error: ... is a Lightcone project that has not been built yet — missing uv.lock, .venv. Run `lc init` here first.
Re-running lc init fails the same way, so this message doesn't point at the real fix. With uv 0.12.15 on PATH, lc init . completes the project.
The requirement comes from required-version = ">=0.12" in templates/files/pyproject.toml.tmpl. docs/user/install.md says only to install uv.
Suggestion: check uv --version before scaffolding and refuse with the fix (uv self update / brew upgrade uv), in line with "refusals carry their remedy". Also state the minimum uv version in install.md.
On a machine with uv < 0.12,
lc initfails partway through and leaves a half-built project. The install docs don't mention the minimum uv version.Repro (lightcone-cli 0.5.0rc2, Homebrew uv 0.11.7, macOS):
The directory is left with
.git,.datalad,astra.yaml,pyproject.toml,data/,results/anduniverses/, but nouv.lockor.venv. After that,lc materializesays:Re-running
lc initfails the same way, so this message doesn't point at the real fix. With uv 0.12.15 on PATH,lc init .completes the project.The requirement comes from
required-version = ">=0.12"intemplates/files/pyproject.toml.tmpl.docs/user/install.mdsays only to install uv.Suggestion: check
uv --versionbefore scaffolding and refuse with the fix (uv self update/brew upgrade uv), in line with "refusals carry their remedy". Also state the minimum uv version in install.md.