Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: require csv for ruby-3.4 compatibility (#1560)
Loading exporter/otlp, exporter/otlp/http or exporter/zipkin on ruby-3.3 now prints a warning: .../lib/opentelemetry/exporter/otlp/exporter.rb:10: warning: csv was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add csv to your Gemfile or gemspec. Also contact author of opentelemetry-exporter-otlp-0.26.1 to add csv into its gemspec. exporter/otlp and exporter/otlp/http do not actually depend on csv, though. Therefore this was fixed by removing the require statement. exporter/zipkin, on the other hand, does depend on csv. So an explicit dependency was added to the csv gem at version '~> 3.1' (ruby-3.0 bundles csv at 3.1.9). Co-authored-by: Matthew Wear <[email protected]>
- Loading branch information