Skip to content

fix(examples): pin band-sdk to a published PyPI release instead of git HEAD - #524

Open
nir-singher-band wants to merge 2 commits into
mainfrom
int-1178-examples-bind-band-sdk-to-unpublished-git-head-instead-of-a
Open

fix(examples): pin band-sdk to a published PyPI release instead of git HEAD#524
nir-singher-band wants to merge 2 commits into
mainfrom
int-1178-examples-bind-band-sdk-to-unpublished-git-head-instead-of-a

Conversation

@nir-singher-band

Copy link
Copy Markdown
Collaborator

Summary

  • Every example's PEP 723 script metadata resolved band-sdk via a [tool.uv.sources] git override pointing at main, so uv run always built the SDK fresh from whatever was on main at that moment -- including unreleased or actively-breaking code -- instead of a stable, reproducible release. Surfaced while validating the Claude/Codex Docker planner/reviewer stack (INT-500).
  • Repoints every example at the published PyPI band-sdk, pinned >=1.2.0,<2.0.0, and drops the git source override; documents the required pattern in AGENTS.md (symlinked as CLAUDE.md).
  • Also carries forward the coding_agents/create_agents.py + test_communication.py hardening found while doing this pass: shared .env loading so the script targets the same platform as the running Docker Compose stack, ledger-persistence timing (each agent id is recorded before the next create can fail), and a guard against the stale bind-mount directory Docker auto-creates.

Linear: INT-1178

Test plan

  • uv run ruff check .
  • uv run ruff format --check .
  • uv run pytest --markdown-docs AGENTS.md examples/coding_agents/README.md --no-cov
  • uv run pytest tests/ --ignore=tests/integration/ --ignore=tests/e2e/ -q (4541 passed)
  • Verified no remaining [tool.uv.sources] git override for band-sdk anywhere under examples/

…t HEAD

Every example's PEP 723 metadata resolved band-sdk via a [tool.uv.sources]
git override pointing at main, so uv run always built the SDK fresh from
whatever was on main at that moment -- including unreleased or
actively-breaking code -- rather than a stable, reproducible release. This
surfaced while validating the Claude/Codex Docker planner/reviewer stack.

Repoints every example (and the AGENTS.md/CLAUDE.md template) at the
published PyPI band-sdk, pinned >=1.2.0,<2.0.0, and drops the git source
override. Also hardens the coding_agents create_agents.py/test_communication.py
scripts (shared .env loading, ledger-persistence timing, a guard against the
stale bind-mount directory Docker auto-creates) uncovered along the way.

Fixes INT-1178
@linear-code

linear-code Bot commented Aug 5, 2026

Copy link
Copy Markdown

INT-1178

@nir-singher-band
nir-singher-band marked this pull request as ready for review August 5, 2026 14:39
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