Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bazel] Fix mobile-install for python2
**Background** Fix issue introduced by bazelbuild@1049fe8 It turns out the queue module name is inconsistent across different python versions. We found that: * On some macos system: - python2 contains both queue and Queue module. All python2 contains Queue module - python3 only contains queue module * On some Linux system - python2 contains only Queue module. - python3 only contains queue module Therefore, some developers are seeing `ImportError: No module named queue` errors locally on linux machine after using mobile-install. **Change** Import correct Queue module instead **Test** Local test pass Closes bazelbuild#12540. PiperOrigin-RevId: 369773133
- Loading branch information