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 #221 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 77/88] gnu: ruby-memory-profiler: Update to 1.1.0.
Date: Wed, 18 Jun 2025 16:28:04 +0200
* gnu/packages/ruby-xyz.scm (ruby-memory-profiler): Update to 1.1.0.
  [arguments]{phases}: Add phase 'skip-flaky-tests.
---
 gnu/packages/ruby-xyz.scm | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 2691f5823b..5d6b12b34f 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -9397,7 +9397,7 @@ (define-public ruby-ruby-memcheck
 (define-public ruby-memory-profiler
   (package
     (name "ruby-memory-profiler")
-    (version "1.0.1")
+    (version "1.1.0")
     (source
       (origin
         (method git-fetch)
@@ -9407,8 +9407,20 @@ (define-public ruby-memory-profiler
         (file-name (git-file-name name version))
         (sha256
          (base32
-          "1z1x0rymfv45gh1y3s46w5pga5y8cvgn228jiwlnhc8hin3zig84"))))
+          "1g9s8j2d892vb34zcwkxkjh3mywvc4p52ggbfzmgqzrdskf2nja6"))))
     (build-system ruby-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'skip-flaky-tests
+            (lambda _
+              ;; XXX: These tests check the number of logged lines, which
+              ;; can change with ruby versions.
+              (for-each delete-file
+                        (list "test/test_reporter.rb"
+                              "test/test_reporter_public_start_stop.rb"
+                              "test/test_reporter_private_start_stop.rb")))))))
     (synopsis "Memory profiling routines for Ruby")
     (description
      "This package provides memory profiling routines for Ruby.")
-- 
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.