🐞 bug report
Affected Rule
py_binary, py_library
Is this a regression?
Yes, I never saw such issue before 2.0
Description
Just running a very simple py_binary + py_library, it gives an error
🔬 Minimal Reproduction
https://github.com/limdor/bazel-examples/tree/c3f90d396f240aa84555d1337a225bdbe9375e46/python
🔥 Exception or Error
Traceback (most recent call last):
File "bazel-out/k8-opt-exec-ST-d57f47055a04/bin/hello_world/generator", line 639, in <module>
main()
File "bazel-out/k8-opt-exec-ST-d57f47055a04/bin/hello_world/generator", line 544, in main
print_verbose("bootstrap sys._base_executable:", sys._base_executable)
AttributeError: module 'sys' has no attribute '_base_executable'
🌍 Your Environment
Operating System:
I've seen the issue on Debian 10 Buster
See https://buildkite.com/bazel/limdor-bazel-examples/builds?branch=renovate%2Frules_python-2.x for environement details where it fails
Output of bazel version:
8.5.1
Rules_python version:
2.0.0 and 2.0.1
Anything else relevant?
The error message is like in #3172 but this issue is quite old and not sure if it can be related or not.
🐞 bug report
Affected Rule
py_binary, py_library
Is this a regression?
Yes, I never saw such issue before 2.0
Description
Just running a very simple py_binary + py_library, it gives an error
🔬 Minimal Reproduction
https://github.com/limdor/bazel-examples/tree/c3f90d396f240aa84555d1337a225bdbe9375e46/python
🔥 Exception or Error
🌍 Your Environment
Operating System:
I've seen the issue on Debian 10 Buster
See https://buildkite.com/bazel/limdor-bazel-examples/builds?branch=renovate%2Frules_python-2.x for environement details where it fails
Output of
bazel version:8.5.1
Rules_python version:
2.0.0 and 2.0.1
Anything else relevant?
The error message is like in #3172 but this issue is quite old and not sure if it can be related or not.