Skip to content

ci(windows): build volrover3 against the cvcpkg python311 (now published) - #42

Merged
transfix merged 2 commits into
masterfrom
ci/volrover3-windows-python
Aug 20, 2026
Merged

transfix merged 2 commits into
masterfrom
ci/volrover3-windows-python

Conversation

@transfix

Copy link
Copy Markdown
Owner

python311 + the full binding stack (pycvc/pycvc-gl/pyside6/shiboken6) are now published for windows. Remove the stale 'skip python311 on windows' guard and pin find_package(Python3) at the cvcpkg prefix's python.exe so volrover3's embedded-python hermeticity check passes on Windows.

python311 is now published for windows (the windows_pycvc binding stack landed),
so the stale 'skip python311 on windows' guard is obsolete — install it on every
platform. Also pin -DPython3_EXECUTABLE/-DPython3_ROOT_DIR at the cvcpkg prefix's
python.exe so find_package(Python3 Development.Embed) uses the hermetic cvcpkg
python311 instead of the runner's setup-python 3.12 (which set Python3_ROOT_DIR
in the env). Fixes 'volrover3: embedded Python escaped the dependency prefix'.
… [0]

The embedded-python guard did list(GET CMAKE_PREFIX_PATH 0) and required python
to live under that one entry. On Windows the vcpkg toolchain PREPENDS its own
prefix (C:/vcpkg/installed/x64-windows) at index 0, so the check false-failed
('embedded Python escaped the dependency prefix') even though the cvcpkg
python311 was correctly found under a LATER cvc-deps entry. Iterate all
CMAKE_PREFIX_PATH entries and accept if python resolves under any — a system/
registry python is under none, so hermeticity is still enforced.
@transfix
transfix merged commit 8e65987 into master Aug 20, 2026
6 checks passed
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