andrewmusselman opened a new pull request, #1363: URL: https://github.com/apache/mahout/pull/1363
Ready to go for next release, see new instructions in `dev/release.md` Section 3.2 ### 3.2 Publish Final Version to PyPI (Trusted Publishing) After the PMC vote passes, publish to PyPI by tagging the release: ```bash # Tag the voted release on the stable branch git checkout v0.6-stable git tag -a v0.6.0 -m "Release 0.6.0" git push upstream v0.6.0 ``` This triggers the `release.yml` GitHub Actions workflow which: 1. Builds `qumat` (pure Python wheel + sdist) 2. Builds `qumat-qdp` (Rust/maturin wheels for Python 3.10/3.11/3.12 + sdist) 3. Waits for reviewer approval (any one of the configured reviewers) 4. Publishes all artifacts to PyPI via Trusted Publishing (OIDC — no API tokens) **To approve the deploy:** 1. Go to **GitHub Actions** → the release workflow run 2. The publish job shows **"Waiting for review"** 3. Click **"Review deployments"** → check **`pypi`** → **"Approve and deploy"** **Verify the release:** ```bash pip install qumat==0.6.0 pip install qumat-qdp==0.2.0 python -c "import qumat; print(qumat.__version__)" ``` **Note:** The `release.yml` workflow uses [PyPI Trusted Publishing](https://docs.pypi.org/trusted-publishers/) — no API tokens or `.pypirc` files needed. Authentication is handled via OIDC between GitHub Actions and PyPI. The trusted publishers are configured at: - https://pypi.org/manage/project/qumat/settings/publishing/ - https://pypi.org/manage/project/qumat-qdp/settings/publishing/ - release.yml: builds qumat (pure Python) and qumat-qdp (Rust/CUDA) - qumat-qdp builds with CUDA 12.5 toolkit and gcc-13 for real GPU kernels - Publishes to PyPI via OIDC Trusted Publishing (no API tokens) - .asf.yaml: adds pypi environment with reviewer gates -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
