Finn
Finn
+1 would be super useful to have
Just run into this now. Did you find a solution @JanJamaszyk-FlyNow ?
This could be a problem for `bazel 4.0.0` as I believe it requires a newer skylib.
It's just `rules_go` that seems to be outdated and quickly checking that repo, it looks like they resolved it. This could be a matter of updating this repository's dependency right?
Confirmed. If you update rules_go and bazel_gazelle yourself, it works! This is the part you'd be overriding: https://github.com/google/go-jsonnet/blob/master/bazel/repositories.bzl
This works for me using bazel modules: ``` python = use_extension("@rules_python//python/extensions:python.bzl", "python") python.toolchain( is_default = True, python_version = "3.10", ) python.toolchain( python_version = "3.11", ) python.toolchain( python_version = "3.12", )...
The example linked uses the rules `py_test_3_8`, `py_test_3_10` etc as separate targets. The way I've just sent allows you to register multiple toolchains and then launch multiple invocations of bazel...
It would match what WORKSPACE files do in that if you defined the python libraries before the third party dependency, you can override your thirdparty dependency's python libraries.
Do we need to specify `gflags` or shall we remove this as a dependency?
Since my changes for `rules_boost` [have been merged](https://github.com/nelhage/rules_boost/pull/553), this is now ready for review.