-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
cmd/go: mod graph does not respect replace directive #40513
Comments
The |
@RafalSkolasinski, is the output of |
Hi @bcmills, thanks for the reply. I am just surprised to still see |
|
Duplicate of #32058 |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Added following
replace
statement in my go.modin order to replace CVEs affect version
v0.3.0
...v0.3.2
in the dependency tree.This seem to work properly as freshly generated
go.sum
does not contain offending libraries.What did you expect to see?
See the
replace
rules reflected in thego mod graph
command's output.This should be the case according to the documentation
What did you see instead?
Original dependency graph like without the
replace
directiveExtra information
My attempt is here: SeldonIO/seldon-core#2211
Extra question: output of
go mod vendor && cat vendor/modulex.txt
always show thegolang.org/x/text
in versionv0.3.3
- with and withoutreplace
rules - why is that the case?The text was updated successfully, but these errors were encountered: