python_stub_template: AttributeError: 'module' object has no attribute 'OrderedDict'
on CentOS 6
#11265
Labels
AttributeError: 'module' object has no attribute 'OrderedDict'
on CentOS 6
#11265
Description of the problem / feature request:
Recently upgraded to Bazel 3.1.0. Discovered that CentOS 6 users (don't ask) are now broken due to d5012a7.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
#!/usr/bin/env python
invokes Python 2.6.6.py_binary
, such as rules_pkg'sbuild_tar
.What operating system are you running Bazel on?
CentOS 6.6
What's the output of
bazel info release
?release 3.1.0-vmware
If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.n/a
What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?n/a
Have you found anything relevant by searching the web?
Any other information, logs, or outputs that you want to share?
Non-hermeticity is the key problem for me. We have Python toolchains to decouple our builds from tools provided by the user's OS, but the stub's shebang bypasses these.
Workarounds I'm considering:
%python_binary%
instead of#!/usr/bin/env python
.The text was updated successfully, but these errors were encountered: