maintenance_tasks icon indicating copy to clipboard operation
maintenance_tasks copied to clipboard

Add csv 3.3.0 as an explicit gemspec dependency to support Ruby 3.4.0 default gems changes.

Open tvongaza opened this issue 9 months ago • 1 comments

I get the following warning in our apps tests suite which makes use of the maintenance_tasks gem when run against Ruby 3.3.1:

~/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30: warning: ~/.rbenv/versions/3.3.1/lib/ruby/3.3.0/csv.rb 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.

Ruby 3.3.0 adds a warning about Gems which will no longer be part of the default gems in Ruby 3.4.0. Details are here: https://www.ruby-lang.org/en/news/2023/12/25/ruby-3-3-0-released/

Standard library updates RubyGems and Bundler warn if users do require the following gems without adding them to Gemfile or gemspec. This is because they will become the bundled gems in the future version of Ruby.

Targeted libraries are:

  • csv

This PR adds csv to the gemspec to make it compatible with 3.4.0 when it is released.

tvongaza avatar May 01 '24 17:05 tvongaza

I have signed the CLA!

tvongaza avatar May 07 '24 17:05 tvongaza