Any module listed as bazel_dep in rules_zig MODULE.bazel file makes it in the module graph resolution of downstream modules, which means that bumping a dependency here forces it to all downstream dependents.
I would like to argue to stop bumping rules_* modules here and even consider using the bare minimum possible so that version selection of such modules is deferred downstream.
To suppor this argument, here is the result of several discussions in the Bazel slack that led to some default Aspect presets for ruleset authors:
https://github.com/bazel-contrib/bazelrc-preset.bzl/blob/73b2ff9ff23a92786d4266f08a67a8606a9dfca7/flags.bzl#L43C1-L54C7
Any module listed as
bazel_depinrules_zigMODULE.bazelfile makes it in the module graph resolution of downstream modules, which means that bumping a dependency here forces it to all downstream dependents.I would like to argue to stop bumping
rules_*modules here and even consider using the bare minimum possible so that version selection of such modules is deferred downstream.To suppor this argument, here is the result of several discussions in the Bazel slack that led to some default Aspect presets for ruleset authors:
https://github.com/bazel-contrib/bazelrc-preset.bzl/blob/73b2ff9ff23a92786d4266f08a67a8606a9dfca7/flags.bzl#L43C1-L54C7