[DRE-maint] Bug#1080301: rubygems-integration: FTBFS with Ruby 3.3
Zixing Liu
zixing.liu at canonical.com
Sun Sep 1 18:39:19 BST 2024
Package: rubygems-integration
Version: 1.18
Severity: normal
Tags: patch ftbfs
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oracular ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* d/p/fix-ruby-3.3-minitest.patch: add a patch to migrate Ruby
Minitest
Thanks for considering the patch.
-- System Information:
Debian Release: trixie/sid
APT prefers noble-updates
APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.8.0-41-generic (SMP w/10 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru rubygems-integration-1.18ubuntu1/debian/patches/fix-ruby-3.3-minitest.patch rubygems-integration-1.18ubuntu2/debian/patches/fix-ruby-3.3-minitest.patch
--- rubygems-integration-1.18ubuntu1/debian/patches/fix-ruby-3.3-minitest.patch 1969-12-31 17:00:00.000000000 -0700
+++ rubygems-integration-1.18ubuntu2/debian/patches/fix-ruby-3.3-minitest.patch 2024-08-29 13:34:16.000000000 -0600
@@ -0,0 +1,17 @@
+Description: Migrate Ruby tests to Minitest 5.x
+Author: Zixing Liu <zixing.liu at canonical.com>
+Forwarded: no
+Last-Update: 2024-08-29
+---
+diff --git a/spec/rubygems_integration_spec.rb b/spec/rubygems_integration_spec.rb
+index b3c00f9..17e0516 100644
+--- a/spec/rubygems_integration_spec.rb
++++ b/spec/rubygems_integration_spec.rb
+@@ -1,6 +1,6 @@
+ require 'minitest/autorun'
+
+-class RubygemsIntegrationSpec < MiniTest::Spec
++class RubygemsIntegrationSpec < Minitest::Spec
+ ARCH = RbConfig::CONFIG['arch']
+ RUBY_API_VERSION = RbConfig::CONFIG['ruby_version']
+
diff -Nru rubygems-integration-1.18ubuntu1/debian/patches/series rubygems-integration-1.18ubuntu2/debian/patches/series
--- rubygems-integration-1.18ubuntu1/debian/patches/series 1969-12-31 17:00:00.000000000 -0700
+++ rubygems-integration-1.18ubuntu2/debian/patches/series 2024-08-29 13:34:16.000000000 -0600
@@ -0,0 +1 @@
+fix-ruby-3.3-minitest.patch
More information about the Pkg-ruby-extras-maintainers
mailing list