-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
dependence package missing and failure the build #4586
Comments
Thank you for your interest in the project. Can you provide a minimal example that reproduces your failure? Please include the This is likely caused by an incomplete upgrade of all |
I'm facing the same issue too. Go version - 1.21.1 I've created a git branch - If you run
|
@cksidharthan The To fix the problem you need to manually bump some dependencies. Run the following on your repository (it should fix the issue):
Unfortunately, the easiest way to avoid such problems would be to bump OTel Go modules in https://github.com/open-policy-agent/opa. |
I created open-policy-agent/opa#6292 |
Hi @pellared, we can close this issue. Have fixed this in open-policy-agent/opa#6293 |
…http/otelhttp Update `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` according GHSA-rcjv-mgp8-qvmr and do manual required changes based on open-telemetry/opentelemetry-go#4586 (comment) Signed-off-by: Or Shoval <oshoval@redhat.com>
…http/otelhttp (#1707) Update `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` according GHSA-rcjv-mgp8-qvmr and do manual required changes based on open-telemetry/opentelemetry-go#4586 (comment) Signed-off-by: Or Shoval <oshoval@redhat.com>
Fixes CVE-2023-45142 Update `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` according GHSA-rcjv-mgp8-qvmr and do manual required changes based on open-telemetry/opentelemetry-go#4586 (comment) Signed-off-by: Or Shoval <oshoval@redhat.com>
Fixes CVE-2023-45142 Update `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` according GHSA-rcjv-mgp8-qvmr and do manual required changes based on open-telemetry/opentelemetry-go#4586 (comment) Signed-off-by: Or Shoval <oshoval@redhat.com>
Update go version Fixes CVE-2023-45142 Update `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` according GHSA-rcjv-mgp8-qvmr and do manual required changes based on open-telemetry/opentelemetry-go#4586 (comment) Signed-off-by: Or Shoval <oshoval@redhat.com>
Update go version Fixes CVE-2023-45142 Update `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` according GHSA-rcjv-mgp8-qvmr and do manual required changes based on open-telemetry/opentelemetry-go#4586 (comment) Signed-off-by: Or Shoval <oshoval@redhat.com>
Currently, the go mod tidy command is failing, and thus, we cannot update the vendors correctly. This is due to newer otel version has breaking changes in its cross-module internal code. This is issue is reported in: open-telemetry/opentelemetry-go#4586 To fix it, we must specify a specific version of go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp So to fix: go get go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.18.0 go mod tidy && go mod vendor
Currently, the go mod tidy command is failing, and thus, we cannot update the vendors correctly. This is due to newer otel version has breaking changes in its cross-module internal code. This issue is reported in: open-telemetry/opentelemetry-go#4586 To fix it, we must specify a specific version of go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp So to fix: go get go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.18.0 go mod tidy && go mod vendor
Currently, the go mod tidy command is failing, and thus, we cannot update the vendors correctly. This is due to newer otel version has breaking changes in its cross-module internal code. This issue is reported in: open-telemetry/opentelemetry-go#4586 To fix it, we must specify a specific version of go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp So to fix: go get go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.18.0 go mod tidy && go mod vendor While doing this, I see the test TestAddLabelClient is unstable, so I fix it along the way
Currently, the go mod tidy command is failing, and thus, we cannot update the vendors correctly. This is due to newer otel version has breaking changes in its cross-module internal code. This issue is reported in: open-telemetry/opentelemetry-go#4586 To fix it, we must specify a specific version of go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp So to fix: go get go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.18.0 go mod tidy && go mod vendor
Currently, the go mod tidy command is failing, and thus, we cannot update the vendors correctly. This is due to newer otel version has breaking changes in its cross-module internal code. This issue is reported in: open-telemetry/opentelemetry-go#4586 To fix it, we must specify a specific version of go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp So to fix: go get go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.18.0 go mod tidy && go mod vendor
Description
When I use go mod tidy to refresh my project today, I found that some package dependency are missing, and the command failure.
Environment
Steps To Reproduce
Expected behavior
Is there any guidance https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp to use replace feature of go mod to fix this?
The text was updated successfully, but these errors were encountered: