Subject: [bug#78826] [PATCH 77/88] gnu: ruby-memory-profiler: Update to 1.1.0.

From: Nicolas Graves <[email-masked]>
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