Project

General

Profile

Actions

Bug #18570

closed

Please Backport 77fe1fca0abb56f7f07725c0a3803d53a315c853 from the ipaddr gem to Ruby 3.1

Added by dcermak (Dan Čermák) 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:107477]

Description

For some reason the following code causes an exception with Ruby 3.1:

require "ipaddr"
([IPAddr.new("192.168.56.0/21").freeze].freeze).any?{ |range| range.include?(IPAddr.new("192.168.1.0")) }

which breaks vagrant with Ruby 3.1.

The issue has been fixed via commit 77fe1fca0abb56f7f07725c0a3803d53a315c853. Can you please backport it to 3.1 for a maintenance release?

Updated by hsbt (Hiroshi SHIBATA) 5 months ago

  • Assignee set to knu (Akinori MUSHA)
  • Status changed from Open to Assigned

I've prepared to merge ipaddr-1.2.4 at https://github.com/ruby/ruby/pull/5526

But I have no grant for releasing ipaddr-1.2.4 gem.

@knu (Akinori MUSHA) Can you release ipaddr-1.2.4 from the v1.2.4 tag of ruby/ipaddr or add me to ipaddr gem owners? Thanks.

Actions #2

Updated by jeremyevans0 (Jeremy Evans) 5 months ago

  • Backport changed from 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN to 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: REQUIRED
  • Status changed from Assigned to Closed

Updated by hsbt (Hiroshi SHIBATA) 5 months ago

  • Assignee changed from knu (Akinori MUSHA) to naruse (Yui NARUSE)

I got the owner grant of ipaddr gem and released ipaddr-1.2.4.

@naruse (Yui NARUSE) Please merge https://github.com/ruby/ruby/pull/5526 to ruby_3_1 branch.

Updated by naruse (Yui NARUSE) 5 months ago

  • Backport changed from 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: REQUIRED to 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: DONE

ruby_3_1 73159727ed88a8f739038984c847bb7313336450.

Actions

Also available in: Atom PDF