Skip to content

Publish the tested astral-html sdist before tagging its release - #62

Merged
konsti-openai merged 2 commits into
mainfrom
codex/trusted-publisher
Oct 30, 2026
Merged

konsti-openai merged 2 commits into
mainfrom
codex/trusted-publisher

Conversation

@konsti-openai

Copy link
Copy Markdown
Collaborator

A maintainer starts a release from main with the version already in the package metadata and changelog. After CI passes, publish the tested source archive for astral-html through PyPI trusted publishing, push a lightweight version tag at the tested commit, and publish the matching changelog entry as GitHub Release notes.

The publisher accepts only the successful manual workflow in this repository, checks the commit against main, and downloads the artifact from the exact run attempt. PyPI OIDC and GitHub contents-write permissions are assigned to separate jobs.

Record the CI hash-pinning rule in AGENTS.md and apply it to the build toolchain. Verify uv, both Rust toolchains, managed CPython, and the isolated maturin backend before use. The existing zizmor check uses its locked wheel with online audits enabled.

Local validation built the renamed sdist and stable ABI wheel, rejected a bad maturin hash, and exercised changelog selection, prerelease classification, and Git tagging against a local remote.

@konsti-openai
konsti-openai merged commit 7cba779 into main Oct 30, 2026
12 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