Repository navigation
pycvc + pycvc-gl: bump to +cvc.3 (SWIG 4.4.1 / data5 runtime rebuild) - #145
Merged
Merged
Conversation
…uild) The +cvc.2 pycvc family was built with SWIG 4.2.0 (swig_runtime_data4), but the cvcpkg `swig` recipe is now 4.4.1 (swig_runtime_data5). Cross-module SWIG type sharing links per-process type tables keyed by a version-specific capsule name, so any consumer that `%import`s pycvc.i and is built with the 4.4.1 toolchain (pycvc-gl, and volrover3's new `vrhost` host-control module) silently fails to share pycvc's std::shared_ptr<cvc::app> type — `pycvc.state_set(host.app(), …)` raises `TypeError: argument 1 of type 'std::shared_ptr< cvc::app > const &'` even though the mangled type names are identical. Same source, no API change — a toolchain rebuild only. Bump both packages in lockstep so the family stays on one SWIG runtime. Verified locally: pycvc + pycvc-gl rebuilt with the 4.4.1 swig both emit swig_runtime_data5, import together, share the app type (pycvc_gl.Scene(pycvc.make_app()) accepted), and volrover3's vrhost round-trip (pycvc.state_set(vrhost.host.app(), …) reaching the C++ state tree) passes — all 12 volrover3 tests green.
transfix
added a commit
that referenced
this pull request
Jul 25, 2026
…c.3, pycvc-gl +cvc.4) (#148) * build(cvcpkg): hermetic family republish — drop apt X11/GL, cvcgl +cvc.3 / pycvc-gl +cvc.4 The X11/OpenGL that cvcgl/pycvc-gl's VTK build needs now comes hermetically from the cvcpkg vtk bundle (9.5.0+cvc.2, built against the X11/OpenGL recipes in libcvc-deps #365/#368) — so publish-cvcpkg.yml drops the `apt-get libx11-dev libxt-dev libgl1-mesa-dev libglu1-mesa-dev` step; `cvcpkg install vtk` already stages libx11/libxext/libxt/libglvnd/glu into the prefix. Rebuild the two VTK-linking members against the hermetic VTK: cvcgl 2 -> 3 pycvc-gl 3 -> 4 (was +cvc.3 from #145's SWIG 4.4.1 rebuild; keeps that runtime) libcvc and pycvc don't link VTK, so they stay +cvc.2 / +cvc.3. * fix(ci): install xorgproto for cvcgl's VTK FindX11 (X11/X.h not transitive via vtk)
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.
What
Bump
pycvcandpycvc-glfrom+cvc.2to+cvc.3. Same source, no API change — a toolchain rebuild only.Why
The published
+cvc.2pycvc family was built with SWIG 4.2.0 (swig_runtime_data4), but the cvcpkgswigrecipe is now 4.4.1 (swig_runtime_data5). SWIG cross-module type sharing links per-process type tables keyed by a version-specific capsule name, so any consumer that%importspycvc.iand is built with the 4.4.1 toolchain silently fails to share pycvc'sstd::shared_ptr<cvc::app>type:…even though the mangled type names are identical. This bit pycvc-gl and the new volrover3
vrhosthost-control module (which delivers the livecvc::appto embedded Python scripts).Bumping both packages in lockstep keeps the family on one SWIG runtime.
Verification (local, against
deps-vr3)swig_runtime_data5.import pycvc, pycvc_gltogether;pycvc_gl.Scene(pycvc.make_app())accepted (shared app type).vrhostround-trip green:pycvc.state_set(vrhost.host.app(), "volrover3.vrhost_demo", "99")reaches the same C++cvc::statetree. Full volrover3 suite 12/12.After merge
Publish
pycvc+pycvc-gl3.2.4+cvc.3(linux/x86_64) to cvcpkg.org, superseding the+cvc.2data4 bundles.