Skip to content

fix(release): refresh the newly published package index - #91

Merged
stefan-jansen merged 1 commit into
mainfrom
fix/release-simple-index-cache
Sep 10, 2026
Merged

fix(release): refresh the newly published package index#91
stefan-jansen merged 1 commit into
mainfrom
fix/release-simple-index-cache

Conversation

@stefan-jansen

Copy link
Copy Markdown
Contributor

Summary

  • force uv to refresh the just-published ml4t-backtest index entry during post-release installation
  • prevent a restored pre-publication cache from turning PyPI propagation into a false verification failure
  • retain the immutable candidate, digest checks, clean installation, and documentation example gates

Evidence

  • release 0.1.6 attempt 1 published matching artifacts, then failed because uv could not see the version while PyPI JSON already reported its digests
  • rerunning only the failed verification job succeeded after propagation
  • a local install reproduced the stale-cache failure before the refresh option and succeeded with it
  • uv run pytest tests/contracts/test_release_workflow.py -q --no-cov: 8 passed
  • focused Ruff and pre-commit checks passed

Closes #90

Copilot AI lite review requested due to automatic review settings September 9, 2026 04:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@stefan-jansen
stefan-jansen merged commit 79ff1ba into main Sep 10, 2026
43 checks passed
@stefan-jansen
stefan-jansen deleted the fix/release-simple-index-cache branch September 10, 2026 00:51
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.

Recover incomplete v0.1.6 publication

2 participants