sgammon/rules_graalvm

Error in register_toolchains: register_toolchains() got unexpected keyword argument 'dev_dependency'

Closed this issue · 3 comments

Running the following on enola-dev/enola@28642e5 of enola-dev/enola#385 for enola-dev/enola#337 causes the following error (on that initial commit; I'll continue playing with it on that PR, which may evolve):

$ bazelisk build //...
ERROR: Traceback (most recent call last):
        File "rules_graalvm@0.10.3/MODULE.bazel", line 193, column 20, in <toplevel>
Error in register_toolchains: register_toolchains() got unexpected keyword argument 'dev_dependency'
ERROR: Error computing the main repository mapping: error executing MODULE.bazel file for rules_graalvm@0.10.3
Loading:

I suspect this may be because I'm still on Bazel 6.1.2? I'll see if I can easily upgrade.

I'll see if I can easily upgrade.

Oh, right; I forgot: I cannot (easily), due to bazel-contrib/rules_jvm_external#910 ... 😢

I suspect this may be because I'm still on Bazel 6.1.2? I'll see if I can easily upgrade.

Indeed when using Bazel 6.4.0 instead of 6.1.2 I'm not seeing this problem anymore.

@vorburger Thanks for filing. I'll keep an eye on this and see if it can be worked around in the next release.