bazel-contrib / bazel-contrib/rules_jsonnet

Bazel 9 compatibility

Open
#278 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
72
Forks
87
PR merge metrics
No merged PRs in 30d

Description

rules_jsonnet 0.7.2 depends on an outdated version of jsonnet_cpp that is not compatible with Bazel 9:

```
File "/xyz/e039a0d51aa3648f6061154c43aa4253/external/jsonnet_go++http_archive+cpp_jsonnet/stdlib/BUILD", line 9, column 11, in
cc_library(
File "/virtual_builtins_bzl/bazel/exports.bzl", line 40, column 9, in _removed_rule_failure
Error in fail:
This rule has been removed from Bazel. Please add a `load()` statement for it.
This can also be done automatically by running:
buildifier --lint=fix
```

Please bump versions of dependencies.

Contributor guide

Open the contributing guide

Research direction

Start by locating the dependency declarations for rules_jsonnet 0.7.2 and its jsonnet_cpp dependency. Reproduce the failure with Bazel 9, then verify the dependency updates by building the affected Jsonnet rules; done means the removed-rule error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.