From 172cfb720817b67af136f96b6f7ad0454f7d548e Mon Sep 17 00:00:00 2001 From: Sam Xie Date: Mon, 26 Aug 2024 18:50:33 -0700 Subject: [PATCH] Replace go 1.21 with go 1.22 in go mod (#5740) Related #5736 --- CHANGELOG.md | 2 +- bridge/opencensus/go.mod | 2 +- bridge/opencensus/test/go.mod | 2 +- bridge/opentracing/go.mod | 2 +- bridge/opentracing/test/go.mod | 2 +- example/dice/go.mod | 2 +- example/namedtracer/go.mod | 2 +- example/opencensus/go.mod | 2 +- example/otel-collector/go.mod | 2 +- example/passthrough/go.mod | 2 +- example/prometheus/go.mod | 2 +- example/zipkin/go.mod | 2 +- exporters/otlp/otlplog/otlploggrpc/go.mod | 2 +- exporters/otlp/otlplog/otlploghttp/go.mod | 2 +- exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod | 2 +- exporters/otlp/otlpmetric/otlpmetrichttp/go.mod | 2 +- exporters/otlp/otlptrace/go.mod | 2 +- exporters/otlp/otlptrace/otlptracegrpc/go.mod | 2 +- exporters/otlp/otlptrace/otlptracehttp/go.mod | 2 +- exporters/prometheus/go.mod | 2 +- exporters/stdout/stdoutlog/go.mod | 2 +- exporters/stdout/stdoutmetric/go.mod | 2 +- exporters/stdout/stdouttrace/go.mod | 2 +- exporters/zipkin/go.mod | 2 +- go.mod | 2 +- log/go.mod | 2 +- metric/go.mod | 2 +- schema/go.mod | 2 +- sdk/go.mod | 2 +- sdk/log/go.mod | 2 +- sdk/metric/go.mod | 2 +- trace/go.mod | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ced02a23eec..2591358863c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Removed -- Drop support for [Go 1.21]. (#5736) +- Drop support for [Go 1.21]. (#5736, #5740) diff --git a/bridge/opencensus/go.mod b/bridge/opencensus/go.mod index 55d04203482..5646c49643d 100644 --- a/bridge/opencensus/go.mod +++ b/bridge/opencensus/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/bridge/opencensus -go 1.21 +go 1.22 require ( github.com/stretchr/testify v1.9.0 diff --git a/bridge/opencensus/test/go.mod b/bridge/opencensus/test/go.mod index 6d558c299e8..e3ae354f4c5 100644 --- a/bridge/opencensus/test/go.mod +++ b/bridge/opencensus/test/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/bridge/opencensus/test -go 1.21 +go 1.22 require ( go.opencensus.io v0.24.0 diff --git a/bridge/opentracing/go.mod b/bridge/opentracing/go.mod index 7a0a49e6f00..a9ced22cbfc 100644 --- a/bridge/opentracing/go.mod +++ b/bridge/opentracing/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/bridge/opentracing -go 1.21 +go 1.22 replace go.opentelemetry.io/otel => ../.. diff --git a/bridge/opentracing/test/go.mod b/bridge/opentracing/test/go.mod index d24e8cdff90..00f8dee168e 100644 --- a/bridge/opentracing/test/go.mod +++ b/bridge/opentracing/test/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/bridge/opentracing/test -go 1.21.0 +go 1.22 replace go.opentelemetry.io/otel => ../../.. diff --git a/example/dice/go.mod b/example/dice/go.mod index 53feca1c26c..a76b074bfb6 100644 --- a/example/dice/go.mod +++ b/example/dice/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/example/dice -go 1.21 +go 1.22 require ( go.opentelemetry.io/contrib/bridges/otelslog v0.4.0 diff --git a/example/namedtracer/go.mod b/example/namedtracer/go.mod index 803a6abfcb6..c9b26a7cfce 100644 --- a/example/namedtracer/go.mod +++ b/example/namedtracer/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/example/namedtracer -go 1.21 +go 1.22 replace ( go.opentelemetry.io/otel => ../.. diff --git a/example/opencensus/go.mod b/example/opencensus/go.mod index 441aef8b71a..28ca755a9b9 100644 --- a/example/opencensus/go.mod +++ b/example/opencensus/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/example/opencensus -go 1.21 +go 1.22 replace ( go.opentelemetry.io/otel => ../.. diff --git a/example/otel-collector/go.mod b/example/otel-collector/go.mod index 8a88a6841f2..49fd2047249 100644 --- a/example/otel-collector/go.mod +++ b/example/otel-collector/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/example/otel-collector -go 1.21 +go 1.22 replace ( go.opentelemetry.io/otel => ../.. diff --git a/example/passthrough/go.mod b/example/passthrough/go.mod index 179bdd2566d..fb568fad5d1 100644 --- a/example/passthrough/go.mod +++ b/example/passthrough/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/example/passthrough -go 1.21 +go 1.22 require ( go.opentelemetry.io/otel v1.29.0 diff --git a/example/prometheus/go.mod b/example/prometheus/go.mod index adff30fdee6..573a14e36ad 100644 --- a/example/prometheus/go.mod +++ b/example/prometheus/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/example/prometheus -go 1.21 +go 1.22 require ( github.com/prometheus/client_golang v1.20.2 diff --git a/example/zipkin/go.mod b/example/zipkin/go.mod index 34d20871baa..791ea347aa9 100644 --- a/example/zipkin/go.mod +++ b/example/zipkin/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/example/zipkin -go 1.21 +go 1.22 replace ( go.opentelemetry.io/otel => ../.. diff --git a/exporters/otlp/otlplog/otlploggrpc/go.mod b/exporters/otlp/otlplog/otlploggrpc/go.mod index 14a3c061ce4..163e3a3cd7a 100644 --- a/exporters/otlp/otlplog/otlploggrpc/go.mod +++ b/exporters/otlp/otlplog/otlploggrpc/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc -go 1.21 +go 1.22 require ( github.com/cenkalti/backoff/v4 v4.3.0 diff --git a/exporters/otlp/otlplog/otlploghttp/go.mod b/exporters/otlp/otlplog/otlploghttp/go.mod index 6024e82ec23..3bc8ec54d13 100644 --- a/exporters/otlp/otlplog/otlploghttp/go.mod +++ b/exporters/otlp/otlplog/otlploghttp/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp -go 1.21 +go 1.22 require ( github.com/cenkalti/backoff/v4 v4.3.0 diff --git a/exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod b/exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod index ce1ef3d64c5..7b8d9d57304 100644 --- a/exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod +++ b/exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc -go 1.21 +go 1.22 retract v0.32.2 // Contains unresolvable dependencies. diff --git a/exporters/otlp/otlpmetric/otlpmetrichttp/go.mod b/exporters/otlp/otlpmetric/otlpmetrichttp/go.mod index 38c49f88dd4..a30d5dcb1df 100644 --- a/exporters/otlp/otlpmetric/otlpmetrichttp/go.mod +++ b/exporters/otlp/otlpmetric/otlpmetrichttp/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp -go 1.21 +go 1.22 retract v0.32.2 // Contains unresolvable dependencies. diff --git a/exporters/otlp/otlptrace/go.mod b/exporters/otlp/otlptrace/go.mod index 3e3fe6dde8e..0e7a70fac31 100644 --- a/exporters/otlp/otlptrace/go.mod +++ b/exporters/otlp/otlptrace/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/exporters/otlp/otlptrace -go 1.21 +go 1.22 require ( github.com/google/go-cmp v0.6.0 diff --git a/exporters/otlp/otlptrace/otlptracegrpc/go.mod b/exporters/otlp/otlptrace/otlptracegrpc/go.mod index 699f37fca20..edd5c68738e 100644 --- a/exporters/otlp/otlptrace/otlptracegrpc/go.mod +++ b/exporters/otlp/otlptrace/otlptracegrpc/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc -go 1.21 +go 1.22 require ( github.com/cenkalti/backoff/v4 v4.3.0 diff --git a/exporters/otlp/otlptrace/otlptracehttp/go.mod b/exporters/otlp/otlptrace/otlptracehttp/go.mod index 541a244dcdf..21255b11795 100644 --- a/exporters/otlp/otlptrace/otlptracehttp/go.mod +++ b/exporters/otlp/otlptrace/otlptracehttp/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp -go 1.21 +go 1.22 require ( github.com/cenkalti/backoff/v4 v4.3.0 diff --git a/exporters/prometheus/go.mod b/exporters/prometheus/go.mod index b106175fc7f..2bfae53cf0c 100644 --- a/exporters/prometheus/go.mod +++ b/exporters/prometheus/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/exporters/prometheus -go 1.21 +go 1.22 require ( github.com/prometheus/client_golang v1.20.2 diff --git a/exporters/stdout/stdoutlog/go.mod b/exporters/stdout/stdoutlog/go.mod index f1c02fa2ff7..4fe88ab6cd3 100644 --- a/exporters/stdout/stdoutlog/go.mod +++ b/exporters/stdout/stdoutlog/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/exporters/stdout/stdoutlog -go 1.21 +go 1.22 require ( github.com/stretchr/testify v1.9.0 diff --git a/exporters/stdout/stdoutmetric/go.mod b/exporters/stdout/stdoutmetric/go.mod index 0e3fc3b258e..0e5fafcb855 100644 --- a/exporters/stdout/stdoutmetric/go.mod +++ b/exporters/stdout/stdoutmetric/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/exporters/stdout/stdoutmetric -go 1.21 +go 1.22 require ( github.com/stretchr/testify v1.9.0 diff --git a/exporters/stdout/stdouttrace/go.mod b/exporters/stdout/stdouttrace/go.mod index a51688d2585..2b437f8eead 100644 --- a/exporters/stdout/stdouttrace/go.mod +++ b/exporters/stdout/stdouttrace/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/exporters/stdout/stdouttrace -go 1.21 +go 1.22 replace ( go.opentelemetry.io/otel => ../../.. diff --git a/exporters/zipkin/go.mod b/exporters/zipkin/go.mod index 9e72cc5267b..7c2c7b12955 100644 --- a/exporters/zipkin/go.mod +++ b/exporters/zipkin/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/exporters/zipkin -go 1.21 +go 1.22 require ( github.com/go-logr/logr v1.4.2 diff --git a/go.mod b/go.mod index dcbd4bff40a..b74c82b63e6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel -go 1.21 +go 1.22 require ( github.com/go-logr/logr v1.4.2 diff --git a/log/go.mod b/log/go.mod index 46a108ea943..329759c5747 100644 --- a/log/go.mod +++ b/log/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/log -go 1.21 +go 1.22 require ( github.com/go-logr/logr v1.4.2 diff --git a/metric/go.mod b/metric/go.mod index 7c165817418..8e0d528159d 100644 --- a/metric/go.mod +++ b/metric/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/metric -go 1.21 +go 1.22 require ( github.com/stretchr/testify v1.9.0 diff --git a/schema/go.mod b/schema/go.mod index 6ae9e874c88..c934c5589e5 100644 --- a/schema/go.mod +++ b/schema/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/schema -go 1.21 +go 1.22 require ( github.com/Masterminds/semver/v3 v3.2.1 diff --git a/sdk/go.mod b/sdk/go.mod index a02d470ca7a..c8fd5c800e5 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/sdk -go 1.21 +go 1.22 replace go.opentelemetry.io/otel => ../ diff --git a/sdk/log/go.mod b/sdk/log/go.mod index fc6272d47e2..a5034bff47d 100644 --- a/sdk/log/go.mod +++ b/sdk/log/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/sdk/log -go 1.21 +go 1.22 require ( github.com/go-logr/logr v1.4.2 diff --git a/sdk/metric/go.mod b/sdk/metric/go.mod index f3112c33d17..0dba6991526 100644 --- a/sdk/metric/go.mod +++ b/sdk/metric/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/sdk/metric -go 1.21 +go 1.22 require ( github.com/go-logr/logr v1.4.2 diff --git a/trace/go.mod b/trace/go.mod index 06dd26b0fb7..871e78a47f9 100644 --- a/trace/go.mod +++ b/trace/go.mod @@ -1,6 +1,6 @@ module go.opentelemetry.io/otel/trace -go 1.21 +go 1.22 replace go.opentelemetry.io/otel => ../