guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit 2a6ce2e226d1a96a33f9d3c2cea2a12d63a4c0c7
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Nov 13 16:56:21 2025 +0000

    gnu: tangos: Update to 1.10.0.
    
    * gnu/packages/astronomy.scm (tangos): Update to 1.10.0.
    [arguments] <test-flags>: Enable more tests.
    <phases>: Add 'pre-check.
    [inputs]: Remove python-sqlalchemy; add python-psycopg2, python-pymysql,
    and python-sqlalchemy-2.
    [native-inputs]: Remove python-pynbody-1 and python-setuptools; add
    python-pynbody.
    
    Change-Id: Ied60d7bee177266d2e8e7f8fe1471a18505e7a8b
---
 gnu/packages/astronomy.scm | 29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 3c69b1eeef..263dcc99aa 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -11007,7 +11007,7 @@ any arbitrary astrometric projection defined in the WCS 
standard.")
 (define-public tangos
   (package
     (name "tangos")
-    (version "1.9.1")   ;1.10.0+ requires python-pynbody 2+
+    (version "1.10.0")
     (source
      (origin
        (method git-fetch)
@@ -11016,19 +11016,15 @@ any arbitrary astrometric projection defined in the 
WCS standard.")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0vmjkhmqnr6abg7mybib1gllqbimv4ylgzvwxnsw0kk6cvv4qgl9"))))
+        (base32 "1dbjpmhbz6hqq9r7hpxqsw2pcqfr2g4x35pb0j01w0m902w823s3"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; XXX: Full integration tests require running database, see projects
-      ;; CI, unit tests are quite compute-intensive.
-      ;;
-      ;; tests: 279 passed, 1 deselected, 105 warnings
+      ;; tests: 320 passed, 1 skipped, 1 deselected, 120 warnings
       #:test-flags
-      #~(list "--ignore=mpi_tests"
-              ;; OSError: File 'test_simulations/test_tipsy/tiny.000640':
-              ;; format not understood or does not exist
-              "--deselect=tests/test_bh_reader.py::test_bhlog")
+      ;; OSError: File PosixPath('test_simulations/test_tipsy/tiny.000640'):
+      ;; format not understood or does not exist
+      #~(list "--deselect=tests/test_bh_reader.py::test_bhlog" )
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'remove-broken-scripts
@@ -11045,13 +11041,16 @@ any arbitrary astrometric projection defined in the 
WCS standard.")
                 ((".*tangos_bh_timelink =.*") "")
                 ;; It looks this script uses not a publicly available module:
                 ;; import Simpy.BlackHoles.orbit.
-                ((".*tangos_preprocess_bh =.*") "")))))))
+                ((".*tangos_preprocess_bh =.*") ""))))
+         (add-before 'check 'pre-check
+           (lambda _
+             (setenv "HOME" "/tmp")
+             (setenv "TANGOS_TESTING_DB_BACKEND" "sqlite"))))))
     (native-inputs
      (list python-pymysql
-           python-pynbody-1
+           python-pynbody
            python-pyquery
            python-pytest
-           python-setuptools
            python-webtest
            python-yt))
     (inputs
@@ -11063,6 +11062,8 @@ any arbitrary astrometric projection defined in the WCS 
standard.")
            python-pastedeploy
            python-plaster
            python-plaster-pastedeploy
+           python-psycopg2
+           python-pymysql
            python-pyparsing
            python-pyramid
            python-pyramid-debugtoolbar
@@ -11072,7 +11073,7 @@ any arbitrary astrometric projection defined in the WCS 
standard.")
            python-repoze-lru
            python-scipy
            python-setuptools
-           python-sqlalchemy
+           python-sqlalchemy-2
            python-tblib
            python-tqdm
            python-translationstring

Reply via email to