Skip to content

Release verification ​

CLAP release artifacts are ordinary PyPI source/wheel files mirrored as GitHub release assets. Users and downstream packagers should verify the exact artifact they install rather than trusting a filename or release page alone.

Verify a downloaded artifact ​

Download the desired wheel or source archive from either PyPI or the matching GitHub release, then compare SHA-256 hashes. For 0.44.0, the published hashes are:

text
df2838c4854c8536f2d8f9033d1eab42e6dcd9e0ed4f0dfb5ac7442c3b25aea0  clap_compiler-0.44.0-py3-none-any.whl
5eb42379a33f1b1ea2f979ae1850fb5cf586c1bae2f0a862c801bf3061ae6b02  clap_compiler-0.44.0.tar.gz

On Linux/macOS:

bash
sha256sum clap_compiler-0.44.0-py3-none-any.whl

On Windows PowerShell:

powershell
Get-FileHash .\clap_compiler-0.44.0-py3-none-any.whl -Algorithm SHA256

The GitHub release workflow downloads the exact PyPI artifacts and uploads those same files as release assets, so a valid GitHub asset hash must match the PyPI hash. For releases with GitHub artifact attestations, gh attestation verify <file> --repo BRATAN-CORP/clap can additionally verify provenance when the user trusts GitHub's attestation infrastructure.

Verify after installation ​

bash
python -m pip show clap-compiler
clap --version
python -c "import importlib.metadata; print(importlib.metadata.version('clap-compiler'))"

All three version reports should agree. A mismatch usually means multiple Python environments or stale console scripts are involved; use python -m clap_compiler --version in the intended environment to disambiguate.

Maintainer release checks ​

The tagged release workflow performs these checks automatically: exact artifact presence, GitHub/PyPI SHA-256 equality, PyPI installation smoke, CLI/module metadata consistency, and a hello-world compile/run. docs/PLATFORM_VALIDATION.md records additional native platform evidence when maintainers validate a milestone manually.