Open laurentlb opened 4 months ago
Does your .bazelrc
have an interpreter version? e.g.
common --@aspect_rules_py//py:interpreter_version=3.9.18
@laurentlb I think the error message was trying to tell you exactly what to do: upgrade to Bazel 7 or use one of the workaround flags. LMK if that's still not working?
From the original message :
Output of
bazel --version
: 7.2.1
So I think the error message was wrong. (I don't fully remember the context of the bug and I haven't tried njlr's suggestion)
Oh I see now. I wonder if it's related to "pystar" https://github.com/bazelbuild/rules_python/issues/1069
What happened?
When trying to define a Python toolchain, I get the error "_MUST_SET_INTERPRETER_VERSION_FLAG" which incorrectly complains about my Bazel version.
Version
Development (host) and target OS/architectures:
Output of
bazel --version
: 7.2.1Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file: 0.7.3Language(s) and/or frameworks involved:
How to reproduce