From: "Eregon (Benoit Daloze) via ruby-core" Date: 2023-01-06T15:39:21+00:00 Subject: [ruby-core:111703] [Ruby master Bug#19260] ruby/spec is failed with Ruby 3.3 Issue #19260 has been updated by Eregon (Benoit Daloze). With `git grep -P '\b3\.3\b'`, I found: ``` lib/did_you_mean.rb:116: # TODO: Remove on 3.3: lib/did_you_mean.rb:135: # TODO: Remove on 3.3: ``` cc @yuki24 ``` re.c:3851: rb_warn_deprecated_to_remove("3.3", "3rd argument to Regexp.new", "2nd argument"); ``` handled by https://bugs.ruby-lang.org/issues/18797 and https://github.com/ruby/ruby/pull/7039 ---------------------------------------- Bug #19260: ruby/spec is failed with Ruby 3.3 https://bugs.ruby-lang.org/issues/19260#change-101099 * Author: hsbt (Hiroshi SHIBATA) * Status: Closed * Priority: Normal * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- After bumping version, we got the some fails with ruby/spec. https://github.com/ruby/ruby/actions/runs/3778576412/jobs/6423166914 ``` 1) Literal Regexps handles a lookbehind with ss characters ERROR RegexpError: invalid pattern in look-behind: /(?' /home/runner/work/ruby/ruby/src/spec/ruby/language/regexp_spec.rb:4:in `' 2) Float#round does not lose precision during the rounding process FAILED Expected 767573.18758 to have same value and type as 767573.18759 /home/runner/work/ruby/ruby/src/spec/ruby/core/float/round_spec.rb:148:in `block (3 levels) in ' /home/runner/work/ruby/ruby/src/spec/ruby/core/float/round_spec.rb:3:in `' 3) Encoding#replicate has been removed FAILED Expected #.respond_to? :replicate, true to be falsy but was true /home/runner/work/ruby/ruby/src/spec/ruby/core/encoding/replicate_spec.rb:72:in `block (3 levels) in ' /home/runner/work/ruby/ruby/src/spec/ruby/core/encoding/replicate_spec.rb:4:in `' ``` -- 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/postorius/lists/ruby-core.ml.ruby-lang.org/