Public bug reported: ruby-defaults 1:3.3~ubuntu3 that corresponds to the upstream Ruby 3.3 release comes with an updated minitest 5.20.0 gem [1]. Starting 5.19.0, the MiniTest class is not loaded by default. It needs to be either renamed to Minitest or the MT_COMPAT env var needs to be set [2].
This causes failures of the below type, reported in origami-pdf's autopkgtests [3] ----- 1322s class TestActions < MiniTest::Test 1322s ^^^^^^^^ 1322s Did you mean? Minitest 1322s from /tmp/autopkgtest.31ZHsI/build.neP/src/test/test_pdf.rb:15:in `require_relative' 1322s from /tmp/autopkgtest.31ZHsI/build.neP/src/test/test_pdf.rb:15:in `<top (required)>' 1322s from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require' 1322s from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require' 1322s from /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:21:in `block in <main>' 1322s from /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in `select' 1322s from /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in `<main>' ----- [1] https://www.ruby-lang.org/en/news/2023/12/25/ruby-3-3-0-released/ [2] https://my.diffend.io/gems/minitest/5.18.1/5.19.0 [3] https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-oracular/oracular/amd64/o/origami-pdf/20240820_142216_dc17a@/log.gz ** Affects: origami-pdf (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2077518 Title: autopkgtest failures with ruby-defaults 1:3.3~ubuntu3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/origami-pdf/+bug/2077518/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
