Mismatch between versions requested for module github.com/bazelbuild/rules_go

Open
#412 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 6 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
build-system

Research direction

Compare the rules_go versions declared in MODULE.bazel and go.mod, starting with the dependency update that reports the mismatch. Check how the indirect rules_android dependency affects the Bazel lockfile, then run the lockfile update or validation described in the issue. Done means native Go and Bazel builds request a consistent rules_go version without the mismatch message.

Written by the indexing model from the issue text.

Description

Reported when updating Bazel lockfile with an indirect dependency on rules_android:

Mismatch between versions requested for module github.com/bazelbuild/rules_go   
Bazel dependency version requested in MODULE.bazel: 0.51.0-rc2                  
Go module version requested in go.mod: 0.50.1                                   
Please resolve this mismatch to prevent discrepancies between native Go and Bazel builds

I can see this is the case in the files in this repo at HEAD.

Dominant language
Java
Stars
205
Forks
113
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bazelbuild/rules_android

All issues in bazelbuild/rules_android

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.