GNU bug report logs - #74497
[PATCH 00/46] Astro update 2024/11.

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Sat, 23 Nov 2024 19:49:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #74 received at 74497 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 74497 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 22/46] gnu: python-aplpy: Update to 2.2.0.
Date: Sat, 23 Nov 2024 19:51:09 +0000
* gnu/packages/astronomy.scm (python-aplpy): Update to 2.2.0.
[arguments]<tests>: Enable them.
<phases>: Add 'set-env phase.
[native-inputs]: Add python-setuptools, python-setuptools-scm, and
python-wheel.

Change-Id: I050d5e174112afe5abd707e784a152feac5cef59
---
 gnu/packages/astronomy.scm | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 21adcd42a0..4f4d2ef504 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1584,21 +1584,28 @@ (define-public python-ads
 (define-public python-aplpy
   (package
     (name "python-aplpy")
-    (version "2.1.0")
+    (version "2.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aplpy" version))
        (sha256
-        (base32 "0ph9jhv4q4i4z6nkqr6hjw9148kdlnayxsn83qgv5dqn0h3nc9r8"))))
+        (base32 "03c8k7y75f5bwm8d08fr5xfaay4d9jzr5sas4j2frs7zrr8aak51"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; FIXME: https://github.com/aplpy/aplpy/issues/492
-      #:tests? #f
+      #:test-flags #~(list "--pyargs" "aplpy")
       #:phases
       #~(modify-phases %standard-phases
-          (delete 'sanity-check))))
+          (add-after 'unpack 'set-env
+            (lambda _
+              (setenv "HOME" "/tmp"))))))
+    (native-inputs
+     (list python-pytest-astropy
+           python-pytest-mpl
+           python-setuptools
+           python-setuptools-scm
+           python-wheel))
     (propagated-inputs
      (list python-astropy
            python-matplotlib
@@ -1609,9 +1616,6 @@ (define-public python-aplpy
            python-reproject
            python-scikit-image
            python-shapely))
-    (native-inputs
-     (list python-pytest-astropy
-           python-pytest-mpl))
     (home-page "http://aplpy.github.io")
     (synopsis "Astronomical Plotting Library in Python")
     (description
-- 
2.46.0





This bug report was last modified 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.