You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically this is because E+ has codesigning on macOS, and it does not have a specific entitlement that allows to load unsigned (or differently signed) library at runtime (via dlopen).
The E+ exe is signed, the libpython is signed, all with the EnergyPlus codesigning certificate.
We pip install some dependencies that have a native extension, at least numpy and pandas. these are NOT signed. So it fails at runtime
Possible solutions:
Rebuild an E+ package that adds an entitlements to allow this specific use case. I think it's the com.apple.security.cs.disable-library-validation one based on some preliminary testing
Issue overview
The
Run_RubyPythonPlugintest is failing. This is a codesigning issue, so mac only. It happens when you try to run the "PythonPlugin" feature of E+.Current Behavior
https://ci.openstudio.net/blue/organizations/jenkins/openstudio-incremental-osx/detail/PR-5252/2/pipeline#step-84-log-42
Expected Behavior
It should work.
Possible Solution
Basically this is because E+ has codesigning on macOS, and it does not have a specific entitlement that allows to load unsigned (or differently signed) library at runtime (via dlopen).
The E+ exe is signed, the libpython is signed, all with the EnergyPlus codesigning certificate.
We pip install some dependencies that have a native extension, at least numpy and pandas. these are NOT signed. So it fails at runtime
Possible solutions:
com.apple.security.cs.disable-library-validationone based on some preliminary testingDetails
Environment
Some additional details about your environment for this issue (if relevant):
Context
Originally posted by @jmarrec in #5242 (comment)
Found again in #5279