-
Notifications
You must be signed in to change notification settings - Fork 7
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
Wrong version update when using variable #404
Comments
This is unfortunate, the update comes from maven rules and maven artifats fro 1.70.0 are released
the variable is shared between bzlmod dep and maven deps. PRs welcome, but I don't think that we will be able to implement something that coordinates such cross kind updates |
Oh, that's what's causing this? In that case, I guess the "pragmatic" solution here is to just get rid of the variable... ... I'll give that a try, when I have a minute. |
@lukaszwawrzyk with enola-dev/enola#1166 "fixing" (working around) this issue for me, I'm closing this issue here now. (It's technically not fixed, and theoretically still a bug [about mixing up those versions], but as I was able to work around it, thanks to your analysis and tip. I wouldn't be contributing a PR about this.) Now that I understand it better, this seems too much of a "corner case" to warrant spending any more time on "properly" fixing it. If you disagree, feel free to re-open this issue for you, of course. |
It would be an interesting feature to attempt to update together versions that share a variable i.e. intersect sets of possible versions and select based on that a version that is available and expected for all related dependencies. Yet the architecture is not designed with this in mind, each dependency kind is resolved separately. Thus it is challenging to implement. |
I noticed that while playing with running it for enola-dev/enola#254 (since you have fixed #401; Thank You!), locally via
tools/bazel-steward/update.bash
script (not as a GitHub Action, yet) from enola-dev/enola#1145, that it changed line 128 inMODULE.bazel
of https://github.com/enola-dev/enola/blob/2bf4eacef9ec69d5fd28e34af9d8e1470a1192f4/MODULE.bazel#L19 from:to
However this is wrong, as there (currently, right now; today) there is no 1.70.0 on https://registry.bazel.build/modules/grpc-java, yet.
Perhaps Bazel Steward confuses something with the variable? (It's very cool that it's able to change such variables, BTW!)
The text was updated successfully, but these errors were encountered: