Publish nightly builds to halide/pypi instead of pypi.halide-lang.org - #9282
Merged
Conversation
…ng.org is GitHub-hosted The retry loops (5 attempts, 60s->300s backoff) and network diagnostics (egress IP, traceroute) were added specifically to work around MIT's border-security IP quarantines on the old pypiserver VM. pypi.halide-lang.org now serves halide/pypi (GitHub Releases + Pages), which CI already trusts implicitly for everything else, so that failure mode no longer applies.
2 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9282 +/- ##
==========================================
+ Coverage 70.14% 70.28% +0.14%
==========================================
Files 257 258 +1
Lines 79162 79162
Branches 18979 18997 +18
==========================================
+ Hits 55529 55642 +113
+ Misses 17881 17799 -82
+ Partials 5752 5721 -31 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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-publishtargetingpypi.halide-lang.org) withgh release create/uploadagainsthalide/pypi, taggedhalide@<version>, plus an explicit index-rebuild trigger. The tagged-release publish step below it (real releases -> pypi.org via OIDC trusted publishing) is untouched.uv sync/uv pip installintesting-linux.yml,testing-arm-linux.yml,testing-macos.yml, andtesting-windows.yml. Those existed specifically to work around MIT's border-security IP quarantines on the old pypiserver VM; now thatpypi.halide-lang.orgserveshalide/pypi(GitHub Releases + Pages), which CI already trusts implicitly for everything else, that failure mode no longer applies.halide-llvm(merged, Publish wheels to halide/pypi instead of pypi.halide-lang.org halide-llvm#1) andhalide-wheel-deps.Why
pypi.halide-lang.orgnow serveshalide/pypiinstead of the retired MIT-hosted pypiserver, for the same reason as thehalide-llvmmigration: that VM's network path was subject to intermittent border-security IP quarantines outside anyone's control. This was deliberately held back from the earlierhalide-llvmmigration to validate the consumption side first; that's now confirmed working end-to-end (realhalide-llvmwheels built, published, and merged), so this closes the loop forHalide's own nightly builds and removes the now-dead workaround code.Test plan
actionlintpasses on all five modified workflow files.halide's wheel filenames start withhalide-<version>-...(no normalization surprises, matchesdist/halide-*.whlcleanly).testing-linux.yml/testing-arm-linux.ymlare an unrelatedapt-get updateretry loop, correctly left alone.mainpush'spublishjob.