Skip to content

fix(ci): add Go to PATH in all manylinux container builds#371

Merged
DorianZheng merged 2 commits intomainfrom
fix/ci-go-path-all-workflows
Mar 12, 2026
Merged

fix(ci): add Go to PATH in all manylinux container builds#371
DorianZheng merged 2 commits intomainfrom
fix/ci-go-path-all-workflows

Conversation

@DorianZheng
Copy link
Copy Markdown
Member

Summary

  • Add /usr/local/go/bin to PATH in build-runtime.yml and build-node.yml manylinux container scripts, matching the existing fix in warm-caches.yml (commit 210e57b)
  • Add Go PATH export in pyproject.toml cibuildwheel before-all script and Linux environment config
  • Fix RootfsSpec import error in Python SDK __init__.py — it was listed as an export but never registered as a PyO3 class, causing all native types to be hidden from __all__

Root cause

setup-manylinux.sh installs Go to /usr/local/go/bin in a subshell, but the PATH export is lost when the subshell exits. The subsequent make runtime triggers libgvproxy-sys build.rs which calls go mod download and fails with "No such file or directory".

Test plan

  • All 223 Python SDK tests pass locally (114 passed, 21 skipped, 88 deselected)
  • CI build-runtime workflow passes on Linux manylinux containers
  • CI build-node workflow passes on Linux manylinux containers
  • CI build-wheels (cibuildwheel) workflow passes

Commit 210e57b fixed the Go PATH issue in warm-caches.yml but missed
build-runtime.yml, build-node.yml, and the Python cibuildwheel config.

setup-manylinux.sh installs Go to /usr/local/go/bin in a subshell, but
the PATH export is lost when the subshell exits. Pre-add the path so
libgvproxy-sys build.rs can find the go binary.
RootfsSpec is an internal Rust type used in options.rs but never
registered as a PyO3 class. Its presence in the import list caused
the entire native extension import to fail with ImportError, hiding
all native types (Boxlite, Box, etc.) from __all__.
@DorianZheng DorianZheng merged commit 8cdf390 into main Mar 12, 2026
22 checks passed
@DorianZheng DorianZheng deleted the fix/ci-go-path-all-workflows branch March 12, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant