Repository navigation
build(ci): publish the wheels through PyPI Trusted Publishing - #45
Conversation
wheels.yml gains two publish jobs that upload the sdist and the three release wheels its build jobs smoke-tested, with no stored token (id-token: write only; the publishers are registered on pypi.org and test.pypi.org for this repository, wheels.yml and the environments pypi and testpypi): - publish-testpypi: a manual run with upload = testpypi; a version already on TestPyPI is skipped; - publish-pypi: a published GitHub release, behind the pypi environment, after checking that the distribution set is one sdist and three wheels of the release tag's version. pypa/gh-action-pypi-publish is pinned to v1.14.2 by commit. RELEASE.md adds the TestPyPI preflight with a clean-environment install and smoke test, the approval step, and the publisher setup of a new repository. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
DEVELOPMENT.md is part of the Sphinx manual, which does not include RELEASE.md, so the relative link was an unresolved cross-reference and failed the -W documentation build. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Third packaging step. #44 builds and smoke-tests the sdist and the three release wheels; this PR lets the same workflow upload them through PyPI Trusted Publishing, with no stored token. Nothing is uploaded by this PR itself.
What changes:
publish-testpypi(new job in.github/workflows/wheels.yml):testpypienvironment;publish-pypi(new job):pypienvironment (required reviewer);id-token: writeand nothing else;pypa/gh-action-pypi-publishpinned by commit to v1.14.2 (July 2026; v1.14.3 is two days old).wheels.yml, environmentspypi/testpypi) and both GitHub environments with a required reviewer.RELEASE.md:release/smoke_test_wheel.py;DEVELOPMENT.mdand CHANGELOG updated.Verification
pre-commit run --all-filespasses;python -m pytest tests57 passed.Checklist
pre-commit run --all-filespassesctest --test-dir build --output-on-failurepasses (no Fortran or CMake change)python -m pytest tests python/testspasses (if Python or validation records changed)[Unreleased](heading added if missing) for user-visible changesdoc/updated for changed inputs, options, or outputs (the install instructions change with the 0.3.0 release)feat:,fix:,docs:, ...)git commit -s) under theDeveloper Certificate of Origin