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
I might be wrong, but I think this can be fixed by converting the internal error into the custom StatusNotOk Python exception that the test is looking for since its coming through as a generic RuntimeError.
I think we need to add this on line 83 of 'or-tools/ortools/math_opt/core/python/solver_test.py' in the _solve_model function:
Need to investigate further but the issue seems to come from pybind_abseil directly which didn't wrap the exception the same way on macOS...
I'm currently adding some CI jobs to pybind_abseil project itself and can reproduce the same behaviour so the issue lie in our dependency imho.
see: https://github.com/pybind/pybind11_abseil/actions/runs/12713073661/job/35440135007
What version of OR-Tools and what language are you using?
Version:
main
andv99bugfix
OS: MacOS
Language: Python
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
MathOpt
What did you do?
Build and running python on macOS...
What did you expect to see
all test passed
What did you see instead?
runner trace:
ref: https://github.com/google/or-tools/actions/runs/12116420023/job/33776757913#step:9:318
The text was updated successfully, but these errors were encountered: