The scheduler doesn't import the math module in the OSS branch. This is because the path gets set to what was "our" python. Since we are linking with the system's python, the path should not be changed.
tested fairshare formula in mainline and did not encounter any issues loading python in the scheduler. Closing this ticket as fixed earlier.
This was fixed in pp-301.