SERVER-124059ClosedFixed

fix bazel wrapper nested python installs

some of our wrapper target run nested multiple bazel commands, causing the intermittent issues in the way python is detecting the current modules in the python path. common failure mode would be something like: Traceback (most recent call last): File "/data/OTHER_HOST/mongo/bazel/wrapper_hook/wrapper_hook.py", line 193, in <module> main() File "/data/OTHER_HOST/mongo/bazel/wrapper_hook/wrapper_hook.py", line 86, in main from bazel.auto_header.auto_header import gen_auto_hea

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.0.0-rc08.3.18
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
bkp