guix_mirror_bot pushed a commit to branch astro-update
in repository guix.
commit 04c81b197c62559bbb02ade5c9c59ccf85c6efe7
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Nov 21 00:15:21 2026 +0000
gnu: python-swiftgalaxy: Update to 3.1.0.
* gnu/packages/astronomy.scm (python-swiftgalaxy): Update to 3.1.0.
[phases]: Add {pre-sanity-check}.
---
gnu/packages/astronomy.scm | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 56041414826..b8720e6e430 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -13223,19 +13223,26 @@ use with the @url{http://swift.dur.ac.uk/, SWIFT}
simulation code.")
(define-public python-swiftgalaxy
(package
(name "python-swiftgalaxy")
- (version "3.0.2")
+ (version "3.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/SWIFTSIM/swiftgalaxy")
- (commit (string-append "v" version))))
+ (url "https://github.com/SWIFTSIM/swiftgalaxy")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1k82fz3m7kjygv111z6n9i5ippkz5x98b3rkz8am76mdkm8hgvl8"))))
+ (base32 "05mc2cfmcwhm4qfbrggk7cy1fmili7k6hpyfk33dz1pldh3ij8lb"))))
(build-system pyproject-build-system)
(arguments
- (list #:tests? #f)) ;tests need to download remote datasets
+ (list
+ #:tests? #f ;tests need to download remote datasets
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'sanity-check 'pre-sanity-check
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
(native-inputs
(list python-setuptools
python-setuptools-scm))