Fix stable PyPI publication retries#2944
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🛡️ AI Review — Skeptic (security review)VERDICT: SAFE VERY HIGH account-age tier (15-day-old account, 0 public repos), mitigated by repository admin permission, substantive merged contributions, matching author/committer, and no Gittensor association; branch targets main. Static review covered all seven changed files, focusing on artifact provenance, tag/commit binding, workflow permissions, PyPI retry state, and SDK version stamping. No protected AI-review instructions, runtime code, dependencies, or lockfiles are modified. FindingsNo findings. ConclusionNo malicious behavior or security vulnerability was found. Publication remains bound to provenance-gated release artifacts, and completion markers are validated against the released commit and spec version. 🔍 AI Review — Auditor (domain review)VERDICT: 👍 Gittensor association UNKNOWN; repository administrator with substantial subtensor contributions despite a recently created account. Maintainer-level scrutiny applied. The implementation cleanly separates GitHub release completion from stable Python publication, validates the release artifact against the on-chain runtime, and makes partial PyPI publication retryable with a commit- and spec-bound marker. The focused tests and release-process documentation cover the changed behavior. PR #2926 overlaps only in shared CI files and addresses unrelated runner caching; it is not duplicate work. No auto-fixes were needed. FindingsNo findings. ConclusionThe change matches its substantive description and introduces no runtime or migration implications. It is ready to merge. |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
Problem
The release train publishes release candidates after testnet, but stable Python publication was coupled to creating the final GitHub release. The SDK also remained at its committed
X.Y.Z.dev0version during the stable build. If PyPI publication failed or only partially completed after the GitHub release was created, later watcher runs treated the release as finished and never retried it.Fix
mainhas advanced while the multisig waits.X.Y.Z.dev0toX.Y.Zand remove monorepo-only uv inputs before building the stable distribution.The existing devnet/testnet release train and reusable core wheel workflow are unchanged.
Validation
bittensor-11.0.0wheel and source distribution.git diff --check.