From: "Earlopain (A S) via ruby-core" Date: 2024-09-04T12:29:46+00:00 Subject: [ruby-core:119040] [Ruby master Bug#20713] Ruby 3.3.5 triggers a deprecation warning with `require "json"` Issue #20713 has been updated by Earlopain (A S). I believe reline requires a PR like that as well: `bundle exec ruby -e "require 'reline'"` > /home/user/.rbenv/versions/3.3.5/lib/ruby/3.3.0/reline.rb:9: warning: fiddle was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0 0.5.9 has some changes related to making fiddle more optional. Currently ruby contains 0.5.7 ---------------------------------------- Bug #20713: Ruby 3.3.5 triggers a deprecation warning with `require "json"` https://bugs.ruby-lang.org/issues/20713#change-109618 * Author: Bo98 (Bo Anderson) * Status: Closed * ruby -v: 3.3.5 * Backport: 3.1: DONTNEED, 3.2: DONTNEED, 3.3: REQUIRED ---------------------------------------- Can be reproduced with `bundle exec ruby -e "require 'json'"`: ``` /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/3.3.0/json/common.rb:3: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. ``` Likely needs a backport of https://github.com/ruby/ruby/commit/066bd28cff75b752b0af90dce933fa382dee0406. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/