Closed comius closed 1 week ago
This is https://github.com/bazelbuild/rules_python/issues/2364 -- closing this one as a duplicate. See also the end of this comment for some workarounds: https://github.com/bazelbuild/rules_python/issues/2364#issuecomment-2458642108
When updating rules_python in Bazel project at head, I get following error:
Error: 'PyRuntimeInfo' value has no field or method 'pyc_tag'
(full log below).This happens because autodetecting toolchain is coming from previous Bazel version (i.e. 7.x.x), which is not fully using Python rules when defining the toolchain.
(I have a workaround)