-
Notifications
You must be signed in to change notification settings - Fork 601
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
Ruby v3.5 compatibility: gem dependencies #2551
Comments
Ruby 3.3.5 has been released on 3 Sep 2024, and now latest # foo.rb
puts "RUBY_VERSION: #{RUBY_VERSION}"
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
gem "newrelic_rpm"
end
|
Thank you for letting us know, @fukayatsu! Originally we thought that these Ruby v3.5 warnings would not start to appear until the first preview release of Ruby v3.5 in 2025. Now that warnings are appearing in Ruby v3.3 already in 2024, we will try to discuss a solution sooner than originally planned. |
@fallwith Thanks for the quick reply. I also found out that the warnings were accidentally introduced in Ruby v3.3.5 and will be removed in v3.3.6 (to be released on 5 November). |
This is primarily a placeholder issue for Ruby v3.5 compatibility auditing with regard to gems that are included by default with Ruby v3.4 but need to be brought in as dependencies with Ruby v3.5. Ruby v3.5 is expected to be released on 2025-12-25 with the earliest preview release version of v3.5 not expected to drop until at least May 2025.
We already know that OpenStruct (
ostruct
) will be impacted and need to be included as a dev dependency for Ruby v3.5. Once we see the first Ruby v3.5 preview build released, we should conduct an audit to see if any other gems used by the agent are impacted.Update 2024-12-04
The following gems are now on the list to be removed from the default list in Ruby v3.5:
"ostruct" => "3.5.0",
"pstore" => "3.5.0",
"rdoc" => "3.5.0",
"win32ole" => "3.5.0",
"fiddle" => "3.5.0",
"logger" => "3.5.0",
"benchmark" => "3.5.0",
"irb" => "3.5.0",
"reline" => "3.5.0",
https://github.com/ruby/ruby/blob/master/lib/bundled_gems.rb#L26-L35
The text was updated successfully, but these errors were encountered: