Skip to content

publish-cvcpkg: arix, ariglx and arisrvx on Windows and macOS (N1 part 2), arigl on macOS - #1554

Merged
transfix merged 5 commits into
masterfrom
feat/fleet-x-hosts-win-mac
Nov 26, 2026
Merged

transfix merged 5 commits into
masterfrom
feat/fleet-x-hosts-win-mac

Conversation

@transfix

@transfix transfix commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

The scripting hosts (arix, ariglx, arisrvx) and the pycvc-cp312 they import had linux x86_64 bundles only. cy-pca/cypkg is about to depend on arix/ariglx's embedded Python everywhere, so this adds their publish lanes on Windows and macOS. This is N1 part 2 (docs/roadmap/ARIADNE_SCRIPTING_HOSTS.md); #1196 was part 1. arigl's missing macOS bundle comes along with it.

What it adds to publish-cvcpkg.yml

New cp312 matrix rows build the same packages the linux x86_64 cp312 job builds, on these runners:

Row Builds and publishes
windows-2022 pycvc-cp312, pycvc-gl-cp312, arix, arisrvx, ariglx
macos-15 (arm64) pycvc-cp312, arix, arisrvx
macos-15-intel (experimental, like its base row) pycvc-cp312, arix, arisrvx
ubuntu-22.04-arm (experimental, like its base row) the linux cp312 set: pycvc-cp312, pycvc-gl-cp312, arix, arisrvx, ariglx

Each row rebuilds libcvc to link against, and on Windows the shared cvcGL as well. The existing matrix.pyver == '311' guards keep libcvc, cvcgl, ari and the other base packages publishing once.

  • Windows. Each package is built by its recipe's own build.ps1 from cvcpkg: Windows columns for pycvc, pycvc-gl, arix and ariglx recipes #1196, run in a child pwsh, so this job and the fleet's Windows builders can't drift. pycvc's swig is the cvcpkg one, and the step checks that in CMakeCache. The checks run from prefix-xhost, a prefix laid out the way installing the bundles lays it down. Each host runs there with no PYTHONHOME, no PYTHONPATH, and only the Windows system dirs on PATH. So every host has to find its Python, its DLLs and its packages where an install puts them, and a missing DLL fails as 0xC0000135. The helpers are in .github/scripts/windows-xhost.ps1. The hosted image has no OpenGL 3.2 driver, so ariglx's checks run with --terminal, as arigl's already do. The asserts:
    • arix boots its Python with numpy and pycvc, and runs python_block.ari and wasm_block.ari.
    • arisrvx runs program.py beside a loopback relay.
    • ariglx reports python, wasm, yaml, ftxui and the media player in info, loads both test documents, and imports pycvc_gl with vtkmodules.
  • macOS. The linux checks run under dyld. arix must link libpython3.12 and @rpath/libwasmtime.dylib, and a row with a floor has to say that minos. The 311 job also builds arigl against its own cvcGL, with arigl [Linux]'s terminal snapshots (no window snapshot). A missing VTK on the Intel row now skips only cvcgl and arigl, not pycvc, so pycvc-cp311 also gains a macos/x86_64 bundle.
  • cvcgl [Windows] builds only the shared cvcGL in the cp312 job and packs nothing.
  • Recipes. arix, arisrvx, arigl and cvcgl get macos rows. ariglx's recipe now names its macOS blocker.

What stays out, and why

  • ariglx on macOS. It needs pycvc-gl-cp312, which needs vtk-python-cp312. The cy-pca/cvcpkg recipe for that has no macos row, and its comment still says there is no macOS VTK, though vtk macos/arm64 now exists. That needs a cy-pca/cvcpkg change and a publish.
  • cvcgl, arigl and ariglx on macOS x86_64. vtk has no macos/x86_64 bundle. Its recipe has a macos row, but that row was never built.
  • wasmtime.dll. arix and ariglx both still ship bin/wasmtime.dll (cvcpkg: Windows columns for pycvc, pycvc-gl, arix and ariglx recipes #1196 explains why).

How it was tested

  • YAML. It parses, and every pwsh run: block parses with no errors (PowerShell's parser, with ${{ }} stubbed out).

  • Helpers. I ran windows-xhost.ps1 on sandipaws against the N1 part-1 install-shaped prefix (3.7.13 builds):

    • Merge-XTree merges, and with -NoClobber leaves existing files alone and creates no nested dirs.
    • The arix asserts pass.
    • A negative pattern throws.
    • arisrvx's relay program prints program: the relay applied.
    • PATH is restored afterwards.
  • ariglx check --terminal / info --terminal --json. With a clean PATH, both test documents load and info reports "python": true and "wasm": true.

  • Dry run 1. publish-cvcpkg.yml dispatched on this branch with dry_run=true (build and pack only, no publish or upload). Run 45789310012, on 18e0176, before the macOS pycvc-gl/ariglx and swig commits. Every build job was green except windows cp312.

    Row Packed (4.0.9+cvc.2, dry run) Checks
    macos-15 arm64, cp312 pycvc-cp312 (3.1 MB), arix (283 KB), arisrvx (288 KB) arix 3.12.10 2.4.6; python_block 5 tests ok; wasm_block 6 tests ok; program: the relay applied; minos 14.0
    macos-15-intel x86_64, cp312 pycvc-cp312 (3.4 MB), arix (298 KB), arisrvx (296 KB) the same
    ubuntu-22.04-arm, cp312 pycvc-cp312, pycvc-gl-cp312, arix, arisrvx, ariglx (492 KB) the linux checks, ariglx under Xvfb included
    macos-15 arm64, 311 arigl (259 KB), pycvc-cp311 info and terminal snapshots; minos 14.0
    macos-15-intel, 311 pycvc-cp311 (3.4 MB), its first macos/x86_64 bundle import
    windows-2022, cp312 arisrvx (273 KB) run from prefix-xhost with a clean PATH: arisrvx 3.12.10, program: the relay applied

    The windows cp312 job failed at "Install swig (cvcpkg)". The Windows swig bundle keeps its library in bin/Lib/ (SWIG's Windows layout), not share/swig/<version>/, and the action had never run on Windows: the only Windows pycvc lane was behind the dispatch input. Fixed in 5354df6, which I checked against the installed bundle (finds bin/Lib, reports 4.4.1, generates a Python wrapper). That failure skipped pycvc-cp312, pycvc-gl-cp312, arix and ariglx on Windows.

  • Dry run 2. Run 45831046327 on 5354df6: every build job green.

    • windows-2022, cp312: packed pycvc-cp312 (2.6 MB), pycvc-gl-cp312 (583 KB), arix (8.2 MB), arisrvx (273 KB) and ariglx (8.3 MB). arix and ariglx each carry bin/wasmtime.dll, about 8 MB, which is the known overlap. Every check ran from prefix-xhost with no PYTHONHOME, no PYTHONPATH and the system dirs alone on PATH, and exited 0:
      • arix 3.12.10 2.4.6;
      • python_block (5 tests) and wasm_block (6 tests) ok;
      • arisrvx 3.12.10, and program: the relay applied;
      • ariglx info --terminal --json with python, wasm, yaml, ftxui and media_player;
      • both check --terminal documents;
      • import pycvc_gl, vtkmodules.vtkCommonCore -> ok.
    • macOS cp312 rows: the same as dry run 1. With 817fbd6, the family step warns vtk + vtk-python-cp312 not on the catalog for macos/arm64: no cvcgl link build, pycvc-gl-cp312 or ariglx in this job, and those three steps skip as intended.

Merging and the release that publishes these need Joe's OK.

cp312 matrix rows for windows-2022, macos-15 and macos-15-intel build what the
scripting hosts need there, as the linux cp312 job does:
- Windows: pycvc-cp312, pycvc-gl-cp312, arix, arisrvx and ariglx, each by its
  recipe's build.ps1 (#1196), checked from an install-shaped prefix with no
  PYTHONHOME, no PYTHONPATH and the system dirs alone on PATH
  (.github/scripts/windows-xhost.ps1).
- macOS: pycvc-cp312, arix and arisrvx, with the linux checks under dyld.
The 311 macOS job also builds arigl against its cvcGL. A missing VTK on an
experimental row now skips only cvcgl and arigl, not pycvc.

cvcgl's Windows step builds the shared cvcGL alone in the cp312 job and packs
nothing, so cvcgl still publishes once.

Recipes: macos rows for arix, arisrvx, arigl and cvcgl; ariglx names its
macOS blocker (vtk-python-cp312 has no macos row in cy-pca/cvcpkg).
…base row is

pycvc-cp312, arix, arisrvx and ariglx had linux x86_64 bundles only, though
python312, numpy-cp312, vtk-python-cp312 and wasmtime all have linux arm64
ones. The Linux cp312 steps are platform-generic, so the row only has to exist.
…p312 is

The macOS cp312 jobs install vtk and vtk-python-cp312 when the catalog has them
for macOS (cy-pca/cvcpkg#638 adds the recipe row), and then build the shared
cvcGL for linking (packing nothing, as on Linux), pycvc-gl-cp312 (which must
import with VTK's Python) and ariglx (the Windows lane's --terminal checks,
under dyld). Without them the three skip with a warning on every row, so the
lanes come on by themselves once the bundle is published.

pycvc-gl-cp312's recipe gets a macos row and its libcvc, cvcgl and pycvc deps
scoped to macos too; ariglx's gets a macos row.
The Windows swig bundle (4.4.1+cvc.6) has SWIG's own Windows layout, its
library in bin\Lib\ beside swig.exe, not share/swig/<version>/. The action
only knew the second, so the first Windows job to run it (the cp312 row's)
failed with "found 0". It now falls back to bin/Lib/swig.swg when there is no
share/swig/*/swig.swg, and exports that as SWIG_LIB.

Checked against the installed Windows bundle: it finds bin/Lib, swig.exe
reports 4.4.1 with that SWIG_LIB, and generates a Python wrapper.
@transfix
transfix marked this pull request as ready for review November 26, 2026 15:19
@transfix
transfix enabled auto-merge (squash) November 26, 2026 19:23
@transfix
transfix merged commit 28602e3 into master Nov 26, 2026
30 checks passed
@transfix
transfix deleted the feat/fleet-x-hosts-win-mac branch November 26, 2026 21:36
@transfix

Copy link
Copy Markdown
Owner Author

The libcvc fleet on cvcpkg.org after v4.0.10

Each cell is the release that package first published for that platform (release builds), read from the live cvcpkg.org catalog on 2026-11-27. Bold cells are new in 4.0.10. Every filled cell has a 4.0.10 bundle, except the ones marked "last". Letters are blockers, explained below the table; "n/a" means the package has no such form, and "—" means there's no lane for it.

package Linux x86_64 Linux arm64 macOS arm64 macOS x86_64 Windows x86_64 wasm wasm-mt wasi FreeBSD OpenBSD NetBSD Haiku
libcvc 3.2.4 3.6.0 3.2.4 3.7.0 3.2.4 4.0.10 3.4.0 W B B B H
cvcgl 3.2.4 3.6.0 3.7.13 4.0.10 3.2.4 4.0.10 3.4.0 — B B B H
ari 3.7.0 3.7.0 3.7.0 3.7.0 3.7.0 n/a n/a W B B B H
ari-media 3.7.10 3.7.10 3.7.11 3.7.11 3.7.10 n/a n/a — B B B H
arisrv 3.7.10 3.7.10 3.7.10 3.7.10 3.7.10 n/a n/a — B B B H
arigl 3.7.8 3.7.8 4.0.10 4.0.10 3.7.8 n/a n/a — B B B H
arix 3.7.11 4.0.10 4.0.10 4.0.10 4.0.10 n/a n/a — B X B X B X H X
arisrvx 3.7.13 4.0.10 4.0.10 4.0.10 4.0.10 n/a n/a — B B B H
ariglx 3.7.11 4.0.10 4.0.10 4.0.10 4.0.10 n/a n/a — B X B X B X H X
pycvc-cp311 3.2.4 3.6.0 3.7.13 4.0.10 3.2.4, last 3.4.0 (P) — — — — — — —
pycvc-cp312 3.2.4 4.0.10 4.0.10 4.0.10 4.0.10 — — — B B B H
pycvc-cp313 3.2.4 — — — — — — — — — — —
pycvc-gl-cp311 3.2.4 3.6.0 — — 3.2.4, last 3.4.0 (P) — — — — — — —
pycvc-gl-cp312 3.2.4 4.0.10 4.0.10 4.0.10 4.0.10 3.5.1 — — B B B H
pycvc-gl-cp313 3.2.4 — — — — — — — — — — —
arigl-web n/a n/a n/a n/a n/a 3.7.8 3.7.8, last 4.0.9 (M) — n/a n/a n/a n/a
ariglx-web n/a n/a n/a n/a n/a 4.0.10 4.0.10 — n/a n/a n/a n/a
libcvc-cuda 3.2.4 — — — 3.2.4 n/a n/a n/a — — — —
pycvc-cp311-cuda 3.4.0 — — — — n/a n/a n/a — — — —
pycvc-gl-cp311-cuda 3.5.1, last 4.0.7 (C) — — — — n/a n/a n/a — — — —

Debug builds: libcvc has debug bundles on Linux x86_64 and arm64 and on macOS arm64 and x86_64. ari, ari-media and arisrv get debug bundles on those same four platforms starting with the next tag: #1580 merged (74a5aba) after v4.0.10 was tagged. cvcpkg install --config debug needs cy-pca/cvcpkg#645 (open) before it can install them. Windows has no debug row, because its C++ deps have no debug builds.

Blockers

v4.0.10 runs: publish-cvcpkg 45959624120 (every build row green; build-cuda hit blocker C), publish-cvcgl-wasm 45959623936 (5 of 6 published; M), publish-pycvc-gl-wasm 45959623754 and Release 45959623770 both green.

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