Problem
The committed uv.lock no longer matches pyproject.toml:
- lock records
godot-ai at version 0.4.3; pyproject.toml is at 2.7.1
- lock has the old unbounded
fastmcp >=3.0.0 requirement; pyproject.toml now pins fastmcp >=3.0.0,!=3.3.*,<3.5.0
- lock is missing the
pillow >=10.0 dev-group dependency that pyproject.toml declares
Because of the drift, any uv run ... (e.g. running pytest or ruff the way CI and AGENTS.md describe) silently re-resolves and rewrites uv.lock, leaving an unrelated modified file in the worktree. Anyone running the test suite while preparing a PR risks accidentally committing a lockfile refresh as a drive-by change — or has to remember to revert it every time.
Fix
Run uv lock (or uv sync) on main and commit the refreshed uv.lock in its own small PR. Optionally add uv lock --check to CI so the lock can't drift from pyproject.toml again.
How this was noticed
Running the focused Python suite per AGENTS.md (uv run pytest tests/unit, uv run ruff check src tests) on a clean checkout left uv.lock modified with exactly the changes above (version bump to 2.7.1, narrowed fastmcp specifier, added pillow dev dep).
Problem
The committed
uv.lockno longer matchespyproject.toml:godot-aiat version0.4.3;pyproject.tomlis at2.7.1fastmcp >=3.0.0requirement;pyproject.tomlnow pinsfastmcp >=3.0.0,!=3.3.*,<3.5.0pillow >=10.0dev-group dependency thatpyproject.tomldeclaresBecause of the drift, any
uv run ...(e.g. running pytest or ruff the way CI and AGENTS.md describe) silently re-resolves and rewritesuv.lock, leaving an unrelated modified file in the worktree. Anyone running the test suite while preparing a PR risks accidentally committing a lockfile refresh as a drive-by change — or has to remember to revert it every time.Fix
Run
uv lock(oruv sync) onmainand commit the refresheduv.lockin its own small PR. Optionally adduv lock --checkto CI so the lock can't drift frompyproject.tomlagain.How this was noticed
Running the focused Python suite per AGENTS.md (
uv run pytest tests/unit,uv run ruff check src tests) on a clean checkout leftuv.lockmodified with exactly the changes above (version bump to 2.7.1, narrowed fastmcp specifier, added pillow dev dep).