Skip to content

fix CI: remove stale 'caspian' workspace ref corrupting the lock (main is red) - #199

Merged
madmecodes merged 1 commit into
mainfrom
fix/ci-green
Aug 24, 2026
Merged

fix CI: remove stale 'caspian' workspace ref corrupting the lock (main is red)#199
madmecodes merged 1 commit into
mainfrom
fix/ci-green

Conversation

@madmecodes

@madmecodes madmecodes commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Main's Lint & Test has been failing on every commit. Root cause found and fixed.

The caspian -> caspian-sdk rename during the 1.0 publish left dead entries in the root pyproject.toml: a caspian dependency and a caspian = { workspace = true } source, both pointing at a workspace member that no longer exists under that name. That corrupted uv.lock into having two websockets blocks, and uv sync failed to parse it:

Dependency `websockets` has missing `source` field but has more than one matching package

Fix:

  • Remove the two stale caspian refs from the root pyproject.toml.
  • Regenerate uv.lock (now one websockets block).
  • Pin setup-uv to 0.12.5 in both jobs so an unpinned newer uv can't reintroduce a format drift.

Verified locally with the exact CI commands: uv sync and uv sync --locked pass, ruff check . clean, 455 tests green on 3.10 / 3.11 / 3.12.

Unblocks every PR, including the upcoming MCP server.

The caspian->caspian-sdk rename (during the 1.0 publish) left dead entries in
the root pyproject: a 'caspian' dependency and source pointing at a workspace
member that no longer exists under that name. That produced a uv.lock with two
websockets blocks, and 'uv sync' failed to parse it ('missing source field but
more than one matching package') - which is why main's Lint & Test was red.

Drop the stale refs, regenerate the lock (one websockets block now), and pin
setup-uv to 0.12.5 so a future uv version cannot reintroduce a format drift.
Verified locally: uv sync + uv sync --locked pass, ruff clean, 455 tests green
on 3.10/3.11/3.12.
@madmecodes
madmecodes merged commit 91c2896 into main Aug 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant