Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
vorburger opened this issue Dec 30, 2023 · 3 comments

Comments

@vorburger
Copy link
Contributor

vorburger commented Dec 30, 2023

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.

@vorburger
Copy link
Contributor Author

I'll see if I can easily upgrade.

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

@vorburger
Copy link
Contributor Author

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 vorburger closed this as not planned Won't fix, can't repro, duplicate, stale Dec 31, 2023
@sgammon
Copy link
Owner

sgammon commented Dec 31, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants