GNU bug report logs - #78826
[PATCH ruby-team 00/88] Switch to ruby@3.3 and build -P1 ruby@3.3

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Wed, 18 Jun 2025 14:22:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


Message #179 received at 78826 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78826 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 61/88] gnu: ruby-maxitest: Update to 6.0.0.
Date: Wed, 18 Jun 2025 16:27:48 +0200
* gnu/packages/ruby-xyz.scm (ruby-maxitest): Update to 6.0.0.
  [arguments]{phases}: Add phase 'add-mutex-m.
  [native-inputs]: Add ruby-mutex-m.
---
 gnu/packages/ruby-xyz.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index bd9a7021ff..fd068ce27d 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -5131,7 +5131,7 @@ (define-public ruby-rerun
 (define-public ruby-maxitest
   (package
     (name "ruby-maxitest")
-    (version "5.1.0")
+    (version "6.0.0")
     (home-page "https://github.com/grosser/maxitest")
     (source (origin
               ;; Pull from git because the gem does not contain tests.
@@ -5142,13 +5142,19 @@ (define-public ruby-maxitest
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0qj410krfm497ggmf71xpnabbb6814y0585by4nlzyjvg9hpgg3m"))))
+                "08wwcjlq0gnzfpmf9jxs28x31d62xvx0gbvwrfr923mcn30myxrd"))))
     (build-system ruby-build-system)
     (arguments
      (list
       #:test-target "default"
       #:phases
       #~(modify-phases %standard-phases
+          ;; Warnings make 2 tests fail. Add mutex-m in Gemfile to avoid them.
+          (add-after 'unpack 'add-mutex-m
+            (lambda _
+              (substitute* "Gemfile"
+                (("^gem \"bump\".*" all)
+                 (string-append all "gem \"mutex_m\"\n")))))
           (replace 'replace-git-ls-files
             (lambda _
               (substitute* "maxitest.gemspec"
@@ -5168,6 +5174,7 @@ (define-public ruby-maxitest
     (native-inputs
      (list procps
            ruby-bump
+           ruby-mutex-m
            ruby-rspec
            ruby-wwtd))
     (propagated-inputs
-- 
2.49.0





This bug report was last modified 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.