all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72896] [PATCH] gnu: Add julia-progressbars.
@ 2024-08-31  1:29 King, Spencer via Guix-patches via
  2024-09-04 13:45 ` bug#72896: " Ludovic Courtès
  2024-09-04 13:46 ` [bug#72896] " Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: King, Spencer via Guix-patches via @ 2024-08-31  1:29 UTC (permalink / raw)
  To: 72896

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

When I do multiple build rounds the outputs do not match and I am a little puzzled as to why. At first I thought it might be due to non-deterministic behavior in the test cases, but even when I disable the test cases I still run into the same issue. I am also running into this issue on another package I am working on, so I'm suspecting I'm just overlooking something. I would appreciate it if someone with experience packaging Julia software could take a look.

Best,
Spencer

[-- Attachment #2: 0001-gnu-Add-julia-progressbars.patch --]
[-- Type: application/octet-stream, Size: 2020 bytes --]

From 8a6b96b00594196c8a7ae5a63db5a9cb778f5a17 Mon Sep 17 00:00:00 2001
Message-Id: <8a6b96b00594196c8a7ae5a63db5a9cb778f5a17.1725066017.git.spencer.king@geneoscopy.com>
From: Spencer King <spencer.king@geneoscopy.com>
Date: Sat, 31 Aug 2024 00:59:31 +0000
Subject: [PATCH] gnu: Add julia-progressbars.

* gnu/packages/julia-xyz.scm (julia-progressbars): New variable.

Change-Id: Idd2b6a8aaaec186c01ecbc852d03f3df84bab8b5
---
 gnu/packages/julia-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 56a3c9772d..1743d27226 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4917,6 +4918,27 @@ (define-public julia-prettytables
 human-readable format.")
     (license license:expat)))
 
+(define-public julia-progressbars
+  (package
+    (name "julia-progressbars")
+    (version "1.5.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/cloud-oak/ProgressBars.jl")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0y4i2kdir0wxr3amafidr3585w8lj4s0cqfcbl690a8jvw6rs3jw"))))
+    (build-system julia-build-system)
+    (home-page "https://github.com/cloud-oak/ProgressBars.jl")
+    (synopsis "Progress bar for Julia")
+    (description
+     "This package provides a fast, extensible progress bar for Julia.
+This can help users track the progress of long-running tasks.")
+    (license license:mpl2.0)))
+
 (define-public julia-pycall
   (package
     (name "julia-pycall")

base-commit: df14cacca9b95d69fdd3b6191e42df36af266bcd
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#72896: [PATCH] gnu: Add julia-progressbars.
  2024-08-31  1:29 [bug#72896] [PATCH] gnu: Add julia-progressbars King, Spencer via Guix-patches via
@ 2024-09-04 13:45 ` Ludovic Courtès
  2024-09-04 13:46 ` [bug#72896] " Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2024-09-04 13:45 UTC (permalink / raw)
  To: King, Spencer; +Cc: 72896-done

Hi,

"King, Spencer" <spencer.king@wustl.edu> skribis:

> When I do multiple build rounds the outputs do not match and I am a little puzzled as to why. At first I thought it might be due to non-deterministic behavior in the test cases, but even when I disable the test cases I still run into the same issue. I am also running into this issue on another package I am working on, so I'm suspecting I'm just overlooking something. I would appreciate it if someone with experience packaging Julia software could take a look.

That’s apparently a problem in Julia proper, and it affects all the
Julia packages it seems.  See for instance ‘guix challenge julia-csv’.

In this case, I ran:

  ./pre-inst-env guix build julia-progressbars --rounds=2 -K

and then:

--8<---------------cut here---------------start------------->8---
$ diff -ru /gnu/store/mhp5b36rc884pnbjj68nad0s5fkl3r40-julia-progressbars-1.5.1{,-check}
Binary files /gnu/store/mhp5b36rc884pnbjj68nad0s5fkl3r40-julia-progressbars-1.5.1/share/julia/compiled/v1.8/ProgressBars/qxsPw_D0cUh.ji and /gnu/store/mhp5b36rc884pnbjj68nad0s5fkl3r40-julia-progressbars-1.5.1-check/share/julia/compiled/v1.8/ProgressBars/qxsPw_D0cUh.ji differ
--8<---------------cut here---------------end--------------->8---

> From 8a6b96b00594196c8a7ae5a63db5a9cb778f5a17 Mon Sep 17 00:00:00 2001
> Message-Id: <8a6b96b00594196c8a7ae5a63db5a9cb778f5a17.1725066017.git.spencer.king@geneoscopy.com>
> From: Spencer King <spencer.king@geneoscopy.com>
> Date: Sat, 31 Aug 2024 00:59:31 +0000
> Subject: [PATCH] gnu: Add julia-progressbars.
>
> * gnu/packages/julia-xyz.scm (julia-progressbars): New variable.
>
> Change-Id: Idd2b6a8aaaec186c01ecbc852d03f3df84bab8b5

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#72896] [PATCH] gnu: Add julia-progressbars.
  2024-08-31  1:29 [bug#72896] [PATCH] gnu: Add julia-progressbars King, Spencer via Guix-patches via
  2024-09-04 13:45 ` bug#72896: " Ludovic Courtès
@ 2024-09-04 13:46 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2024-09-04 13:46 UTC (permalink / raw)
  To: King, Spencer; +Cc: 72896-done

Hi,

"King, Spencer" <spencer.king@wustl.edu> skribis:

> When I do multiple build rounds the outputs do not match and I am a little puzzled as to why. At first I thought it might be due to non-deterministic behavior in the test cases, but even when I disable the test cases I still run into the same issue. I am also running into this issue on another package I am working on, so I'm suspecting I'm just overlooking something. I would appreciate it if someone with experience packaging Julia software could take a look.

That’s apparently a problem in Julia proper, and it affects all the
Julia packages it seems.  See for instance ‘guix challenge julia-csv’.

In this case, I ran:

  ./pre-inst-env guix build julia-progressbars --rounds=2 -K

and then:

--8<---------------cut here---------------start------------->8---
$ diff -ru /gnu/store/mhp5b36rc884pnbjj68nad0s5fkl3r40-julia-progressbars-1.5.1{,-check}
Binary files /gnu/store/mhp5b36rc884pnbjj68nad0s5fkl3r40-julia-progressbars-1.5.1/share/julia/compiled/v1.8/ProgressBars/qxsPw_D0cUh.ji and /gnu/store/mhp5b36rc884pnbjj68nad0s5fkl3r40-julia-progressbars-1.5.1-check/share/julia/compiled/v1.8/ProgressBars/qxsPw_D0cUh.ji differ
--8<---------------cut here---------------end--------------->8---

I reported it here:

  https://issues.guix.gnu.org/73002

> From 8a6b96b00594196c8a7ae5a63db5a9cb778f5a17 Mon Sep 17 00:00:00 2001
> Message-Id: <8a6b96b00594196c8a7ae5a63db5a9cb778f5a17.1725066017.git.spencer.king@geneoscopy.com>
> From: Spencer King <spencer.king@geneoscopy.com>
> Date: Sat, 31 Aug 2024 00:59:31 +0000
> Subject: [PATCH] gnu: Add julia-progressbars.
>
> * gnu/packages/julia-xyz.scm (julia-progressbars): New variable.
>
> Change-Id: Idd2b6a8aaaec186c01ecbc852d03f3df84bab8b5

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-04 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-31  1:29 [bug#72896] [PATCH] gnu: Add julia-progressbars King, Spencer via Guix-patches via
2024-09-04 13:45 ` bug#72896: " Ludovic Courtès
2024-09-04 13:46 ` [bug#72896] " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.