Filing this following report by @mjtitchener-fn during today's TSC meeting for tracking purpose.
On the latest release 2.3 and main branch, when building the Python package from source, there is an issue with RPATH not correctly installed preventing the import of PyOpenColorIO when using shared build.
The issue is most likely here, CMAKE_INSTALL_RPATH is indeed always defined at this point because it is set globally here.
This does not affect the wheels because RPATH are defined independently here.
Filing this following report by @mjtitchener-fn during today's TSC meeting for tracking purpose.
On the latest release 2.3 and main branch, when building the Python package from source, there is an issue with RPATH not correctly installed preventing the import of PyOpenColorIO when using shared build.
The issue is most likely here,
CMAKE_INSTALL_RPATHis indeed always defined at this point because it is set globally here.This does not affect the wheels because RPATH are defined independently here.