<div dir="ltr"><div dir="ltr">Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 23, 2024 at 9:25 PM Pushkar Kulkarni <<a href="mailto:pushkar.kulkarni@canonical.com">pushkar.kulkarni@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi there,<div><br></div><div>I was on +1 maintenance this week and here is my report.</div><div><br></div><div>ruby-defaults 1:3.3~ubuntu3 transition</div><div>=============================</div><div>I spent most of the time on the autopkgtest failures reported against the transition. I did an initial triage of the failures and then decided to focus on two categories of failures:</div><div><br></div><div>Category 1: Removal of the three-argument overload of Regexp::new (Regexp::compile is an alias)</div><div>A total of 6 packages are affected by this. I have grouped these packages under bug 2077502 [1].  </div><div>Ruby 3.3 removed support for the "encoding" argument to method Regexp::new/::compile. This argument was deprecated by Ruby 3.2 and only values 'n' and 'N', corresponding to Regexp::NOENCODING were supported. Ruby 3.3 removes the argument and recommends accommodating it in the 'flags. See the release notes here [2] and the bug report [3]. </div><div><br></div><div>I have merge-proposals submitted for the affected packages. See [1] for details.</div><div><br></div><div>Category 2: Changes in the minitest gem API</div><div>A total of 20 packages seem to be affected by this. I have grouped them under bug 2077617 [4].</div><div>Ruby 3.3 includes minitest 5.20.0. Version 5.19.0 of the minitest gem, stopped loading the MiniTest class by default and users are not expected to use "Minitest" (instead of MiniTest). However, use of environment variable MT_COMPAT falls back to the old behaviour and no code changes are needed. See [5].</div><div><div><br></div><div>I have merge-proposals submitted for most of the affected packages. See [4] for details. Thanks to Athos for sponsoring!</div></div><div>I liked this suggestion [6] from Athos,  in this context.</div></div></blockquote><br></div><div class="gmail_quote">Thanks for all your help on this transition, appreciated! I replied to Athos' comment on the bug, in summary, I'd not recommend changing the default behavior of all ruby packages ( >1k) because maybe 50 (?) are not supporting the new Minitest version. Moreover, those same 50 packages will start to FTBFS as soon as we update Minitest and the upstream removes this retro-compatibility flag. I was using another approach in Debian and also in some packages that I added a delta, which is patching the code to actually support the newer Minitest, to avoid any FTBFS in the near future. But for a late in the cycle transition, any solution is valid :)<br><br>Thanks for all the patches Pushkar, I will continue sponsoring them from where Athos stopped.<div><br></div><div>Lucas Kanashiro.<br></div></div></div>