guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.
commit 0a75886fe37a331fe1dae88017ab5a711d9c66c2
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jun 18 16:28:04 2025 +0200
gnu: ruby-memory-profiler: Update to 1.1.0.
* 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 9a8816c0f0..97470ea5ed 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -9412,7 +9412,7 @@ during shutdown.")
(define-public ruby-memory-profiler
(package
(name "ruby-memory-profiler")
- (version "1.0.1")
+ (version "1.1.0")
(source
(origin
(method git-fetch)
@@ -9422,8 +9422,20 @@ during shutdown.")
(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.")