build: Test - Ignore me - #1386
Draft
cedrik-fuoco-adsk wants to merge 4 commits into
Draft
Conversation
…ilds
Add RV_DEPS_PYTHON_USE_PBS (default OFF) to source RV's embedded Python from
a python-build-standalone prebuilt distribution and install PySide6 and the
native Python packages from wheels instead of compiling CPython/PySide6 from
source. This cuts build time significantly (PySide6 is the slowest component
on every platform). The default from-source path is unchanged.
Wheels are ABI-safe here: RV's C++<->PySide bridge passes Qt objects as
pointer-sized integers (rv/qtutils.py wrapInstance), so there is no C++ ABI
boundary between RV and the wheels; only Qt's ABI matters, which is satisfied
by repointing the PySide6 wheel at RV's Qt (same version). The option is
honored only for non-Debug configs because Windows Debug uses python_d, which
cannot load release wheels.
- rv_options.cmake: new RV_DEPS_PYTHON_USE_PBS option
- python3.cmake: option-gated wheel-safe extension for native packages; when
the option is on (non-Debug) include python3_pbs and skip the from-source
path. Outputs (Python::Python target, stage target, cache vars) unchanged.
- python3_pbs.cmake: fetch the pinned PBS asset, pip install requirements_pbs,
run adapt_pbs_python.py; fails loudly if RV's Qt location is unset.
- adapt_pbs_python.py: Windows layout fix, sitecustomize injection, macOS
libpython install-id relocation to @rpath, and PySide6 Qt repoint to RV's Qt.
- requirements_pbs.txt.in: wheel-based requirements incl. PySide6/shiboken6.
- CY2024/CY2025: pin PBS release 20240814 (CPython 3.11.9) + per-triple sha256.
Validated on macOS (CY2025, Qt 6.5.3): PBS fetch, wheel install, Qt repoint,
libpython relocation, and a full RV link + py-interp run. Linux/Windows repoint
branches and a full runtime UI pass still need per-platform CI validation.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
cedrik-fuoco-adsk
force-pushed
the
prototype-pbs
branch
from
August 20, 2026 18:36
aecc560 to
3ff1931
Compare
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.
Linked issues
Summarize your change.
Describe the reason for the change.
Describe what you have tested and on which operating system.
Add a list of changes, and note any that might need special attention during the review.
If possible, provide screenshots.