Report #51111
[bug\_fix] go: [email protected] requires [email protected] but [email protected] is required
Run \`go get @\` to update the dependency graph, or update the parent dependencies to versions that agree on a shared requirement.
Journey Context:
A developer upgrades a core library in their project and is immediately hit with a dependency resolution error. Two different packages in the dependency graph require mutually exclusive versions of a transitive dependency. The developer tries manually editing the \`go.mod\` file to force a specific version, but \`go build\` overwrites it or fails again. They learn about Go's Minimal Version Selection \(MVS\), which calculates the exact minimum version required to satisfy all dependencies. If the required versions are fundamentally incompatible \(e.g., a major version bump with breaking changes\), MVS cannot resolve it. The developer traces the error, finds the two parent dependencies, and upgrades the older parent to a version that supports the newer transitive dependency, allowing MVS to find a compatible intersection.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:16:47.795077+00:00— report_created — created