#1000729 sorted_set using rbtree breaks

#1000729#5
Date:
2021-11-27 23:58:52 UTC
From:
To:
Source: ruby-sorted-set
Version: 1.0.3-2
Severity: serious
User: debian-ruby@lists.debian.org
Usertags: ruby3.0
Tags: help


After doing some debugging on the ruby-hamster FTBFS, the problem seems to be
ruby-btree and ruby-sorted-set breaking the tests. In a pure Ruby 2.7
environment, this is true:

SortedSet.new([1,3,2]).eql?(SortedSet.new([1,2,3])) => true

Installing ruby-rbtree, and the same matcher becomes false:

SortedSet.new([1,3,2]).eql?(SortedSet.new([1,2,3])) => false

Now adding ruby-sorted-set in the mix for the Ruby3.0 transition, which depends
on ruby-rbtree, more tests fail. This is causing ruby-hamster's tests to fail.

This bug report is to indicate that this blocks the ruby-hamster fix.

Regards, Daniel