mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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
This commit is contained in:
parent
888b41dbbf
commit
61396c638b
1 changed files with 15 additions and 14 deletions
|
|
@ -11068,7 +11068,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)
|
||||
|
|
@ -11077,19 +11077,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
|
||||
|
|
@ -11106,13 +11102,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
|
||||
|
|
@ -11124,6 +11123,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
|
||||
|
|
@ -11133,7 +11134,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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue