fix(ci): pin pypa/gh-action-pypi-publish to SHA for Apache allowlist#518
Merged
tqchen merged 2 commits intoapache:mainfrom Mar 31, 2026
Merged
Conversation
Pin `pypa/gh-action-pypi-publish` from `@release/v1` (branch ref) to `@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e` (v1.13.0 SHA) in all three publish workflows: `publish_wheel.yml`, `publish_orcjit_wheel.yml`, and `torch_c_dlpack.yml`. This fixes the `startup_failure` in the "Publish wheel" GitHub Actions workflow (https://github.com/apache/tvm-ffi/actions/runs/23773754182) caused by Apache's org-level action allowlist policy requiring SHA-pinned third-party actions. The same class of fix was previously applied in d8bd189 (apache#507) for `astral-sh/setup-uv` and `pypa/cibuildwheel`.
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
…ake 4.3.1 - Pin pypa/gh-action-pypi-publish from @release/v1 (branch ref) to @ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e (v1.13.0) in all three publish workflows, fixing startup_failure caused by Apache's org-level action allowlist. - Exclude cmake==4.3.1 in dev dependency group: that release has incomplete wheels on PyPI (missing manylinux x86_64), breaking `uv sync --group dev` in CI lint jobs. Refs: https://github.com/apache/tvm-ffi/actions/runs/23773754182
junrushao
commented
Mar 31, 2026
| "ipython", | ||
| "cython>=3.0", | ||
| "cmake", | ||
| "cmake!=4.3.1", |
Member
Author
There was a problem hiding this comment.
looks like cmake 4.3.1 is incomplete on pypi. Ref:
Kathryn-cat
approved these changes
Mar 31, 2026
tqchen
approved these changes
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pypa/gh-action-pypi-publishfrom@release/v1(branch ref) to@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e(v1.13.0 SHA) in all three publish workflowsstartup_failurein the "Publish wheel" workflow (failed run) caused by Apache's org-level action allowlist requiring SHA-pinned third-party actionspy_classandfield#507), which pinnedastral-sh/setup-uvandpypa/cibuildwheelFiles changed
.github/workflows/publish_wheel.yml.github/workflows/publish_orcjit_wheel.yml.github/workflows/torch_c_dlpack.ymlTest plan
startup_failure