[AAASM-3722] 🐛 (ci): Fix + pin cyclonedx SBOM flag in release-python.yml#180
Conversation
The SBOM step used --outfile, which the latest cyclonedx-bom CLI no longer accepts (renamed to -o/--output-file), failing the release with exit 2. Unpinned uvx --from cyclonedx-bom pulled the drifting latest. Use the correct --output-file flag and pin cyclonedx-bom==7.3.0 so the CLI surface stays stable across releases. Closes AAASM-3722 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
✅ Claude Code review — AAASM-3722 (python SBOM)CI: all green — Scope vs ticket: fixes the Really fixes the release error? Yes — verified on the actual release workflow: re-ran the b5 dry-run on this branch (run 28152618977) and the Verdict: ✅ Ready to approve & merge. |
Description
Fixes the python b5 release dry-run failure (run 28152201157) at Generate CycloneDX SBOM:
Root cause:
release-python.ymlranuvx --from cyclonedx-bomunpinned, so uvx pulled the latest cyclonedx-bom whose CLI dropped--outfile.Fix: pin
cyclonedx-bom==7.3.0and use the current flag--output-file:uvx --from cyclonedx-bom==7.3.0 cyclonedx-py environment .venv --output-format JSON --output-file sbom.cdx.jsonPinning prevents future CLI drift (the actual root cause).
Verified: re-ran the release dry-run on this branch — the Generate CycloneDX SBOM job is
completed:success(run 28152618977). Nothing published (dry-run).Type of Change
Related Issues
🤖 Generated with Claude Code