all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 63542@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#63542] [PATCH 13/19] gnu: python-pynbody: Update to 1.3.1, simplify.
Date: Wed, 17 May 2023 00:23:42 +0100	[thread overview]
Message-ID: <60d6982378d94467982a1ba02100ceb57ccedd2b.1684276665.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1684276664.git.sharlatanus@gmail.com>

* gnu/packages/astronomy.scm (python-pynbody): Update to 1.3.1, simplify
package.
[build-system]: Shift to pyproject-build-system.
[arguments]: Do not modify standard phases, use #:test-flags instead.
---
 gnu/packages/astronomy.scm | 77 +++++++++++++++++---------------------
 1 file changed, 34 insertions(+), 43 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5f5de193d0..058d3a6dcc 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2603,55 +2603,46 @@ (define-public python-pyerfa
 (define-public python-pynbody
   (package
     (name "python-pynbody")
-    (version "1.2.3")
+    (version "1.3.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pynbody" version))
        (sha256
-        (base32 "1jxwk2s4qz1znvyak2lj7ld01kl1jh87xp81ki7a8dz1gcy93fkx"))))
-    (build-system python-build-system)
+        (base32 "1yp7ja66zqmbnh7bbwbyimxq1nkrmjrcif2rzfm1hswm0fp2fbga"))))
+    (build-system pyproject-build-system)
     (arguments
-     (list #:phases
-           #~(modify-phases %standard-phases
-               (add-after 'unpack 'disable-tests-require-testdata
-                 (lambda _
-                   ;; Disable tests which need to download additional 1.0GiB+
-                   ;; of test data archive from
-                   ;; http://star.ucl.ac.uk/~app/testdata.tar.gz
-                   ;;    https://github.com/pynbody/pynbody/blob/ \
-                   ;;    f4bd482dc47532831b3ec115c7cb07149d61bfc5/ \
-                   ;;    .github/workflows/build-test.yaml#L41
-                   (with-directory-excursion "tests"
-                     (for-each delete-file
-                               '("gravity_test.py"
-                                 "adaptahop_test.py"
-                                 "ahf_halos_test.py"
-                                 "array_test.py"
-                                 "bridge_test.py"
-                                 "family_test.py"
-                                 "partial_tipsy_test.py"
-                                 "snapshot_test.py"
-                                 "test_profile.py"
-                                 "gadget_test.py"
-                                 "gadgethdf_test.py"
-                                 "grafic_test.py"
-                                 "halotools_test.py"
-                                 "nchilada_test.py"
-                                 "ramses_new_ptcl_format_test.py"
-                                 "ramses_test.py"
-                                 "rockstar_test.py"
-                                 "sph_image_test.py"
-                                 "sph_smooth_test.py"
-                                 "subfind_test.py"
-                                 "subfindhdf_gadget4_test.py"
-                                 "tipsy_test.py")))))
-               (replace 'check
-                 (lambda* (#:key tests? inputs outputs #:allow-other-keys)
-                   (when tests?
-                     (add-installed-pythonpath inputs outputs)
-                     (setenv "HOME" "/tmp")
-                     (invoke "pytest" "-vv")))))))
+     (list
+      #:test-flags
+      #~(list
+         ;; Disable tests which need to download additional 1.0GiB+
+         ;; of test data archive from
+         ;; http://star.ucl.ac.uk/~app/testdata.tar.gz
+         ;;    https://github.com/pynbody/pynbody/blob/ \
+         ;;    f4bd482dc47532831b3ec115c7cb07149d61bfc5/ \
+         ;;    .github/workflows/build-test.yaml#L41
+         "--ignore=tests/gravity_test.py"
+         "--ignore=tests/adaptahop_test.py"
+         "--ignore=tests/ahf_halos_test.py"
+         "--ignore=tests/array_test.py"
+         "--ignore=tests/bridge_test.py"
+         "--ignore=tests/family_test.py"
+         "--ignore=tests/partial_tipsy_test.py"
+         "--ignore=tests/snapshot_test.py"
+         "--ignore=tests/test_profile.py"
+         "--ignore=tests/gadget_test.py"
+         "--ignore=tests/gadgethdf_test.py"
+         "--ignore=tests/grafic_test.py"
+         "--ignore=tests/halotools_test.py"
+         "--ignore=tests/nchilada_test.py"
+         "--ignore=tests/ramses_new_ptcl_format_test.py"
+         "--ignore=tests/ramses_test.py"
+         "--ignore=tests/rockstar_test.py"
+         "--ignore=tests/sph_image_test.py"
+         "--ignore=tests/sph_smooth_test.py"
+         "--ignore=tests/subfind_test.py"
+         "--ignore=tests/subfindhdf_gadget4_test.py"
+         "--ignore=tests/tipsy_test.py")))
     (native-inputs
      (list python-cython
            python-pandas
-- 
2.39.2





  parent reply	other threads:[~2023-05-16 23:26 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-16 23:20 [bug#63542] [PATCH 00/19]: gnu: astronomy: May updates Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 01/19] gnu: python-asdf-astropy: Update to 0.4.0 Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 02/19] gnu: python-asdf-wcs-schemas: Symplify Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 03/19] gnu: python-gwcs: Update to 0.18.3 Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 04/19] gnu: python-sunpy: Update to 4.1.5 Sharlatan Hellseher
2023-05-23 22:10   ` Vinicius Monego
2023-05-16 23:23 ` [bug#63542] [PATCH 05/19] gnu: python-spherical-geometry: Add update note Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 06/19] gnu: python-sgp4: Update to 2.22 Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 07/19] gnu: python-ccdproc: Enable tests Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 08/19] gnu: python-reproject: Update to 0.10.0 Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 09/19] gnu: python-pyvo: Update to 1.4.1 Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 10/19] gnu: python-fitsio: Use Gexp Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 11/19] gnu: python-astropy-healpix: " Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 12/19] gnu: python-astroquery: " Sharlatan Hellseher
2023-05-23 22:15   ` Vinicius Monego
2023-05-16 23:23 ` Sharlatan Hellseher [this message]
2023-05-16 23:23 ` [bug#63542] [PATCH 14/19] gnu: python-astral: Update to 3.2 Sharlatan Hellseher
2023-05-23 22:19   ` Vinicius Monego
2023-05-16 23:23 ` [bug#63542] [PATCH 15/19] gnu: python-poppy: Update to 1.1.1 Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 16/19] gnu: python-photutils: Update to 1.7.0 Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 17/19] gnu: python-ephem: Update to 4.1.4 Sharlatan Hellseher
2023-05-16 23:23 ` [bug#63542] [PATCH 18/19] gnu: python-asdf: Update to 2.15.0 Sharlatan Hellseher
2023-05-23 22:21   ` Vinicius Monego
2023-05-16 23:23 ` [bug#63542] [PATCH 19/19] gnu: python-asdf-coordinates-schemas: Update to 0.2.0 Sharlatan Hellseher
2023-05-23 18:33 ` [bug#63542] Sharlatan Hellseher
2023-05-23 22:26   ` [bug#63542] Vinicius Monego
2023-05-24  6:55   ` [bug#63542] Astronomy May updates Efraim Flashner
2023-05-24 21:51 ` [bug#63542] [PATCH v2 00/20]: Cover review points Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 01/20] gnu: python-asdf-astropy: Update to 0.4.0 Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 02/20] gnu: python-asdf-wcs-schemas: Symplify Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 03/20] gnu: python-gwcs: Update to 0.18.3 Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 04/20] gnu: python-sunpy: Update to 4.1.5 Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 05/20] gnu: python-spherical-geometry: Add update note Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 06/20] gnu: python-sgp4: Update to 2.22 Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 07/20] gnu: python-ccdproc: Enable tests Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 08/20] gnu: python-reproject: Update to 0.10.0 Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 09/20] gnu: python-pyvo: Update to 1.4.1 Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 10/20] gnu: python-fitsio: Use Gexp Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 11/20] gnu: python-astropy-healpix: " Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 12/20] gnu: python-astroquery: " Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 13/20] gnu: python-pynbody: Update to 1.3.1, simplify Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 14/20] gnu: python-astral: Update to 3.2 Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 15/20] gnu: python-poppy: Update to 1.1.1 Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 16/20] gnu: python-photutils: Update to 1.7.0 Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 17/20] gnu: python-ephem: Update to 4.1.4 Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 18/20] gnu: python-asdf: Update to 2.15.0 Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 19/20] gnu: python-asdf-coordinates-schemas: Update to 0.2.0 Sharlatan Hellseher
2023-05-24 21:51   ` [bug#63542] [PATCH v2 20/20] gnu: python-asdf: Enable tests Sharlatan Hellseher
2023-05-26  0:42   ` bug#63542: [PATCH v2 00/20]: Cover review points Vinicius Monego

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=60d6982378d94467982a1ba02100ceb57ccedd2b.1684276665.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=63542@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.