Project

General

Profile

Actions

Bug #20713

closed

Ruby 3.3.5 triggers a deprecation warning with `require "json"`

Added by Bo98 (Bo Anderson) 2 months ago. Updated about 6 hours ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:119033]

Description

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0