autopkgtest failures due to removal of 3-arg Regexp::new in Ruby 3.3

Bug #2077502 reported by Pushkar Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bsfilter (Ubuntu)
New
Undecided
Pushkar Kulkarni
docdiff (Ubuntu)
New
Undecided
Pushkar Kulkarni
puppet-agent (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-cookiejar (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-rspec-puppet (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-soap4r (Ubuntu)
New
Undecided
Pushkar Kulkarni

Bug Description

docdiff autopkgtests fail with ruby-defaults 1:3.3~ubuntu3 [1]

-----

776s /usr/lib/ruby/vendor_ruby/docdiff/view.rb:95:in `initialize': wrong number of arguments (given 3, expected 1..2) (ArgumentError)
776s from /usr/lib/ruby/vendor_ruby/docdiff/view.rb:95:in `new'
776s from /usr/lib/ruby/vendor_ruby/docdiff/view.rb:95:in `apply_style_digest'
776s from /usr/lib/ruby/vendor_ruby/docdiff/view.rb:419:in `to_wdiff_digest'
776s from /usr/lib/ruby/vendor_ruby/doc_diff.rb:139:in `run'
776s from /usr/bin/docdiff:172:in `<main>'
776s autopkgtest [14:12:23]: test wdiff-digest: -----------------------]

-----

This seems to be a consequence of the removal of the 3-argument Regexp.new. See [2][3].

[1] https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-oracular/oracular/amd64/d/docdiff/20240820_141236_7a9ec@/log.gz
[2] https://bugs.ruby-lang.org/issues/18797
[3] https://www.ruby-lang.org/en/news/2023/12/25/ruby-3-3-0-released/

Related branches

tags: added: update-excuse
Changed in docdiff (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
Changed in ruby-cookiejar (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
summary: - autopkgtest failures with Ruby 3.3
+ autopkgtest failures due to removal of 3-arg Regexp::new in Ruby 3.3
Changed in bsfilter (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
Changed in puppet-agent (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
Changed in ruby-rspec-puppet (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
Changed in ruby-soap4r (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.