* [bug#73399] [PATCH 01/26] gnu: calcmysky: Update to 0.3.3.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 02/26] gnu: cfitsio: Update to 4.5.0 Sharlatan Hellseher
` (27 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (calcmysky): Update to 0.3.3.
Change-Id: Ia2afb27fdc866edcf6f3167484ab70a4ff12a5d6
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 1a6b0e866b..be58fa64af 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -294,7 +294,7 @@ (define-public calceph
(define-public calcmysky
(package
(name "calcmysky")
- (version "0.3.2")
+ (version "0.3.3")
(source
(origin
(method git-fetch)
@@ -303,7 +303,7 @@ (define-public calcmysky
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1kybjlddrm8x4x5y82qczi6z1d2riv6zcfjzrh7pzg2vwj89izh0"))))
+ (base32 "0njsapy3qlyg3y0p5a849xydzhnzk4p5s0s37zxw9k5nnaf4vinp"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 02/26] gnu: cfitsio: Update to 4.5.0.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 01/26] gnu: calcmysky: Update to 0.3.3 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 03/26] gnu: siril: Update to 1.2.4 Sharlatan Hellseher
` (26 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (cfitsio): Update to 4.5.0.
[description]: Adjust indentation, fix some lint warning and replace "dfn"
with "acronym".
[properties]: Add "release-monitoring-url" property.
Change-Id: I6717f2c68d11845839f34eae073965857ca318c5
---
gnu/packages/astronomy.scm | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index be58fa64af..81cd6a79ac 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -541,7 +541,7 @@ (define-public celestia-gtk
(define-public cfitsio
(package
(name "cfitsio")
- (version "4.4.1")
+ (version "4.5.0")
(source
(origin
(method url-fetch)
@@ -549,7 +549,7 @@ (define-public cfitsio
"https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/"
"cfitsio-" version ".tar.gz"))
(sha256
- (base32 "098x1l8ijwsjp2ivp3v7pamrmpgwj5xmgb4yppm9w3w044zxr8b6"))))
+ (base32 "02ff4xsc4r6vam4m4nmp426bpl7klbx6nn5ajgj6452w6v1lz1g4"))))
(build-system gnu-build-system)
(arguments
(list
@@ -574,11 +574,15 @@ (define-public cfitsio
(inputs (list bzip2 curl zlib))
(home-page "https://heasarc.gsfc.nasa.gov/fitsio/fitsio.html")
(synopsis "Library for reading and writing FITS files")
- (description "CFITSIO provides simple high-level routines for reading and
-writing @dfn{FITS} (Flexible Image Transport System) files that insulate the
-programmer from the internal complexities of the FITS format. CFITSIO also
+ (description
+ "CFITSIO provides simple high-level routines for reading and writing
+@acronym{Flexible Image Transport System,FITS} files that insulate the
+programmer from the internal complexities of the FITS format. CFITSIO also
provides many advanced features for manipulating and filtering the information
in FITS files.")
+ (properties
+ '((release-monitoring-url .
+ "https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html")))
(license (license:non-copyleft "file://License.txt"
"See License.txt in the distribution."))))
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 03/26] gnu: siril: Update to 1.2.4.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 01/26] gnu: calcmysky: Update to 0.3.3 Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 02/26] gnu: cfitsio: Update to 4.5.0 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 04/26] gnu: python-astropy-iers-data: Update to 0.2024.9.16.0.32.21 Sharlatan Hellseher
` (25 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (siril): Update to 1.2.4.
Change-Id: I544b8aa44c0f4256d9ee6c3686c2cb42fb47fdf7
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 81cd6a79ac..4bcdbdf884 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1882,7 +1882,7 @@ (define-public sextractor
(define-public siril
(package
(name "siril")
- (version "1.2.3")
+ (version "1.2.4")
(source
(origin
(method git-fetch)
@@ -1890,7 +1890,7 @@ (define-public siril
(url "https://gitlab.com/free-astro/siril")
(commit version)))
(sha256
- (base32 "0gkd8w2bpwq4ibl3vawx008yrm5k6zlj77lp98fflffcf7cj8hr5"))
+ (base32 "1nh5zk7isf7a0akkxq56n0lw8i18f7w3r27pa16fpcivmbv6xcx2"))
(file-name (git-file-name name version))))
(build-system meson-build-system)
(arguments
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 04/26] gnu: python-astropy-iers-data: Update to 0.2024.9.16.0.32.21.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (2 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 03/26] gnu: siril: Update to 1.2.4 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 05/26] gnu: python-astropy: Update to 6.1.3 Sharlatan Hellseher
` (24 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-astropy-iers-data): Update to 0.2024.9.16.0.32.21.
Change-Id: If1e1d6debacb440eb71fdea51684352a5b8b5d9e
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 4bcdbdf884..eceeb23a3a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2305,13 +2305,13 @@ (define-public python-astropy-iers-data
;; In case of changing the source method git-fetch, consider to check the
;; tag as it's not following the PyPI version, see
;; <https://github.com/astropy/astropy-iers-data/issues/17>.
- (version "0.2024.8.12.0.32.58")
+ (version "0.2024.9.16.0.32.21")
(source
(origin
(method url-fetch)
(uri (pypi-uri "astropy_iers_data" version))
(sha256
- (base32 "1xw4s6vyl29miccbs3ylyichj1rcmzmya3lmh27f173n7k2zb5g0"))))
+ (base32 "0i63yxw4xfgv1dwaq89xd34xlsnx0n5njcm4adln2gk2ia3gxxig"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 05/26] gnu: python-astropy: Update to 6.1.3.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (3 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 04/26] gnu: python-astropy-iers-data: Update to 0.2024.9.16.0.32.21 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 06/26] gnu: python-ndcube: Disable failing tests Sharlatan Hellseher
` (23 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-astropy): Update to 6.1.3.
[arguments]: <#:test-flags>: Enable more tests.
Change-Id: Id9ad7141bcc06f45bc8408896fc216b655b49642
---
gnu/packages/astronomy.scm | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index eceeb23a3a..acfc603153 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2156,13 +2156,13 @@ (define-public stellarium
(define-public python-astropy
(package
(name "python-astropy")
- (version "6.1.2")
+ (version "6.1.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "astropy" version))
(sha256
- (base32 "0fhx9zjsqp7z8z8phafpbwpb46idrbsamkfg42l8j0z94i73s452"))
+ (base32 "0w09fn7zy2nr5pvvqwmi3s3cm3y5pzxpn7wldz7bbxn1xp6k9j4s"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -2180,15 +2180,13 @@ (define-public python-astropy
(list
#:test-flags
#~(list "--pyargs" "astropy"
- "-n" "auto"
+ "--numprocesses" "auto"
"-k" (string-append
;; Skip tests that need remote data.
"not remote_data"
;; ValueError: The truth value of an array with more than
;; one element is ambiguous. Use a.any() or a.all()
- " and not test_table_comp[t16-t26]"
- ;; E Unreliable test timings! <...>
- " and not test_datetime_timedelta_roundtrip"))
+ " and not test_table_comp[t16-t26]"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'preparations
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 06/26] gnu: python-ndcube: Disable failing tests.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (4 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 05/26] gnu: python-astropy: Update to 6.1.3 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 07/26] gnu: python-ginga: Fix tests Sharlatan Hellseher
` (22 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-ndcube) [arguments]: <#test-flags>:
Disable 2 tests failing after python-astropy updated to 6.1.3.
Change-Id: I95d07fb5d26dda534afbbe44d5dd9f30ebbf6d09
---
gnu/packages/astronomy.scm | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index acfc603153..8cb25aab08 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3061,9 +3061,16 @@ (define-public python-ndcube
(build-system pyproject-build-system)
(arguments
(list
- ;; Break cycle: python-ndcube -> python-specutils -> python-ndcube, see
- ;; <https://github.com/sunpy/ndcube/issues/733>.
- #:test-flags #~(list "-k" "not test_rebin_specutils")
+ #:test-flags
+ #~(list "-k" (string-append
+ ;; Break cycle: python-ndcube -> python-specutils ->
+ ;; python-ndcube, see
+ ;; <https://github.com/sunpy/ndcube/issues/733>.
+ "not test_rebin_specutils"
+ ;; Introduced with astropy 6.1.3, see
+ ;; https://github.com/sunpy/ndcube/issues/758>.
+ " and not test_2d[celestial_2d_ape14_wcs]"
+ " and not test_2d[celestial_2d_fitswcs]"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'break-cycle
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 07/26] gnu: python-ginga: Fix tests.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (5 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 06/26] gnu: python-ndcube: Disable failing tests Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 08/26] gnu: python-crds: Update to 11.18.4 Sharlatan Hellseher
` (21 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-ginga) [arguments]: <#:test-flags>:
Exlude one failing test.
Change-Id: Ic84d89c5cc8cc4938ce8022b1974e5f284179f8e
---
gnu/packages/astronomy.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 8cb25aab08..980b52e0c0 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1092,6 +1092,8 @@ (define-public python-ginga
(build-system pyproject-build-system)
(arguments
(list
+ ;; AssertionError: Not equal to tolerance rtol=1e-07, atol=0.0001
+ #:test-flags #~(list "-k" "not test_fwhm")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 08/26] gnu: python-crds: Update to 11.18.4.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (6 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 07/26] gnu: python-ginga: Fix tests Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 09/26] gnu: python-drizzle: Update to 1.15.3 Sharlatan Hellseher
` (20 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-crds): Update to 11.18.4.
Change-Id: Icdbbdda18c64d754d6284ce359393f4d595e468e
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 980b52e0c0..7058ffde4b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2696,13 +2696,13 @@ (define-public python-cmyt
(define-public python-crds
(package
(name "python-crds")
- (version "11.18.1")
+ (version "11.18.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "crds" version))
(sha256
- (base32 "0k0q76mc9a18lrjqah8yb7v97dmhlwhsxyqr9r5rk0w4iqi6j7pp"))))
+ (base32 "1z6apmss8wym3lpp2mifqxz0i5vvi39g0i2agvw0lchcyzw3jvig"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 09/26] gnu: python-drizzle: Update to 1.15.3.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (7 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 08/26] gnu: python-crds: Update to 11.18.4 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 10/26] gnu: python-jwst: Update to 1.16.0 Sharlatan Hellseher
` (19 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-drizzle): Update to 1.15.3.
Change-Id: I457260332cb97995b94a9a87f49744b5b60edda0
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 7058ffde4b..f44b4e48c0 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2791,7 +2791,7 @@ (define-public python-drms
(define-public python-drizzle
(package
(name "python-drizzle")
- (version "1.15.2")
+ (version "1.15.3")
(source
(origin
(method git-fetch) ;PyPi doesn't have the test data sets
@@ -2800,7 +2800,7 @@ (define-public python-drizzle
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1fp6gcvp6nz4a2mmy9vjn5wwywldhkg8bjjgb4ldn0vpv9k4nv8q"))))
+ (base32 "0zxhzvd01jgl4r6ivlxkccaf2shzb0c0ir7l06096iv9n6lff3wx"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 10/26] gnu: python-jwst: Update to 1.16.0.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (8 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 09/26] gnu: python-drizzle: Update to 1.15.3 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 11/26] gnu: python-pysiaf: Update to 0.23.3 Sharlatan Hellseher
` (18 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-jwst): Update to 1.16.0.
Change-Id: I7084b58eed04d5faf49cbd16aa43bf493a6655d8
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index f44b4e48c0..ca521aab0a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4795,13 +4795,13 @@ (define-public python-jplephem
(define-public python-jwst
(package
(name "python-jwst")
- (version "1.15.1")
+ (version "1.16.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "jwst" version))
(sha256
(base32
- "1nl5fixakqvjhg9q5biivwaqpi6lzx9w4fq0n6imwccag2gv1va3"))
+ "06krkpfhwpc825bsdl0rffd9qlqw1rl928fwxa7cywds5dahpiyn"))
(modules '((guix build utils)))
(snippet
'(begin
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 11/26] gnu: python-pysiaf: Update to 0.23.3.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (9 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 10/26] gnu: python-jwst: Update to 1.16.0 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 12/26] gnu: Add python-sep-pjw Sharlatan Hellseher
` (17 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-pysiaf): Update to 0.23.3.
[propagated-inputs]: Remove python-numpydoc.
[native-inputs]: Add python-setuptools-scm.
Change-Id: Ia20751efc79d391a01b0b50e728646ac38e6b7eb
---
gnu/packages/astronomy.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ca521aab0a..dae1fd0a0f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5088,18 +5088,18 @@ (define-public python-pyregion
(define-public python-pysiaf
(package
(name "python-pysiaf")
- (version "0.22.0")
+ (version "0.23.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pysiaf" version))
(sha256
- (base32 "08wb98k9k4f04455da5ns9rif8pl9r3ih537w1yj393hkjjiyzfz"))))
+ (base32 "16qbg5n2bw2wr3i8a040i7z7az3w0pn508y6xggy05viwdli6br8"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- #~(list "-n" "auto"
+ #~(list "--numprocesses" "auto"
;; Disable 2 failing tests, see
;; <https://github.com/spacetelescope/pysiaf/issues/338>
"-k" (string-append "not test_write_jwst_siaf_xlsx"
@@ -5109,12 +5109,13 @@ (define-public python-pysiaf
python-lxml
python-matplotlib
python-numpy
- python-numpydoc
python-openpyxl
python-requests
python-scipy))
(native-inputs
- (list python-pytest python-pytest-xdist))
+ (list python-pytest
+ python-pytest-xdist
+ python-setuptools-scm))
(home-page "https://pysiaf.readthedocs.io/")
(synopsis "Handling SIAF for space telescopes")
(description
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 12/26] gnu: Add python-sep-pjw.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (10 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 11/26] gnu: python-pysiaf: Update to 0.23.3 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 13/26] gnu: python-regularizepsf: Update to 0.4.0 Sharlatan Hellseher
` (16 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-sep-pjw): New variable.
Change-Id: Ib0ae64a938de53ead32277606f9fc150fae76bd5
---
gnu/packages/astronomy.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index dae1fd0a0f..1c5fa5b6d3 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5254,6 +5254,38 @@ (define-public python-sep
(list python-numpy))
(synopsis "Python library for Source Extraction and Photometry")))
+(define-public python-sep-pjw
+ (package
+ (name "python-sep-pjw")
+ (version "1.3.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sep_pjw" version))
+ (sha256
+ (base32 "15jf16zycs1gz6jfkhmj7b8wdcpp8d5ikz15pmfkwq32a8mfdv8m"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:test-flags #~(list "test.py")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "pyproject.toml"
+ ;; numpy>=1.23.5
+ (("1.23.5") "1.23.2")))))))
+ (native-inputs
+ (list python-cython
+ python-pytest))
+ (propagated-inputs
+ (list python-numpy))
+ (home-page "https://github.com/PJ-Watson/sep-pjw")
+ (synopsis "Alternative fork of SEP library")
+ (description
+ "This package provides an alternative maintained fork of SEP python
+libary with bug fixtures.")
+ (license (list license:expat license:lgpl3+ license:bsd-3))))
+
(define-public python-suntime
(package
(name "python-suntime")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 13/26] gnu: python-regularizepsf: Update to 0.4.0.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (11 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 12/26] gnu: Add python-sep-pjw Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 14/26] gnu: python-sbpy: Update to 0.5.0 Sharlatan Hellseher
` (15 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-regularizepsf): Update to 0.4.0.
[propagated-inputs]: Remove python-sep; add python-sep-pjw.
Change-Id: I1480a686d87a7e9fe971c5b1450db4c74d4ef7e8
---
gnu/packages/astronomy.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 1c5fa5b6d3..044ebbbcb8 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3421,7 +3421,7 @@ (define-public python-regions
(define-public python-regularizepsf
(package
(name "python-regularizepsf")
- (version "0.3.4")
+ (version "0.4.0")
(source
(origin
(method git-fetch) ; no tests data in the PyPI tarball
@@ -3430,7 +3430,7 @@ (define-public python-regularizepsf
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "078nklks6hjq0hgv6wpbh2x1m2yh6kmzyfgdzd9q82lxpjy1vq0i"))))
+ (base32 "0b16lscrzd1lribwis19y6dh6qrgddhcinlc2lbwkzzqqkjdnyzi"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -3453,7 +3453,7 @@ (define-public python-regularizepsf
python-numpy
python-scikit-image
python-scipy
- python-sep))
+ python-sep-pjw))
(native-inputs
(list python-cython
python-pytest
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 14/26] gnu: python-sbpy: Update to 0.5.0.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (12 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 13/26] gnu: python-regularizepsf: Update to 0.4.0 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 15/26] gnu: python-stcal: Update to 1.9.0 Sharlatan Hellseher
` (14 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-sbpy): Update to 0.5.0.
[arguments]: <#:test-flags>: Enable all tests as upstream resolve
issues. Add parallelisation to tests.
Change-Id: Ibab879910faf45b6d9319e9a5ee4ad59735cce4f
---
gnu/packages/astronomy.scm | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 044ebbbcb8..fd6bb9f45a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5178,23 +5178,17 @@ (define-public python-pysynphot
(define-public python-sbpy
(package
(name "python-sbpy")
- (version "0.4.0")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sbpy" version))
(sha256
- (base32 "18f3056fgzpvjj43m845wl9znl4dqxs8f8qv3gpay7kik4l8a1fc"))))
+ (base32 "1xqi29rrh7v05zmvyl8gffrkrw5rlcxig1w6xw1v8f7ikydb5plv"))))
(build-system pyproject-build-system)
(arguments
(list
- #:test-flags
- ;; See <https://github.com/NASA-Planetary-Science/sbpy/issues/397>.
- #~(list "--ignore=sbpy/spectroscopy/tests/test_specgrad.py"
- ;; See <https://github.com/NASA-Planetary-Science/sbpy/issues/398>
- "-k" (string-append "not test_from_fluxd"
- " and not test_bandpass"
- " and not test_spectral_density_vega_bp"))
+ #:test-flags #~(list "--numprocesses" "auto")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'set-home-env
@@ -5209,6 +5203,7 @@ (define-public python-sbpy
python-ginga
python-numpy
python-photutils
+ ;python-pyoorb ;not packed yet in Guix
python-pyyaml
python-scipy
python-synphot))
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 15/26] gnu: python-stcal: Update to 1.9.0.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (13 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 14/26] gnu: python-sbpy: Update to 0.5.0 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 16/26] gnu: python-stdatamodels: Update to 2.1.0 Sharlatan Hellseher
` (13 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-stcal): Update to 1.9.0.
Change-Id: I431c3e02586d5331567cea7f2eb9df2e05b24b00
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index fd6bb9f45a..5fe7371a65 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4053,13 +4053,13 @@ (define-public python-stsci-stimage
(define-public python-stcal
(package
(name "python-stcal")
- (version "1.8.0")
+ (version "1.9.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "stcal" version))
(sha256
- (base32 "0vcq1462wdfi96qqsd5bidx38bbpnpcm18j6s761jz8ymi6vifap"))))
+ (base32 "1n843r19zyjm14iadfbi71ixpk0jrbhaj7h3szy1yhnhrfsrkwar"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 16/26] gnu: python-stdatamodels: Update to 2.1.0.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (14 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 15/26] gnu: python-stcal: Update to 1.9.0 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 17/26] gnu: python-sunpy: Update to 6.0.2 Sharlatan Hellseher
` (12 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-stdatamodels): Update to 2.1.0.
Change-Id: Ia3af30338b52007b6967d0be1e6bec5c5c36e3ed
---
gnu/packages/astronomy.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5fe7371a65..42f60b6f71 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4117,18 +4117,18 @@ (define-public python-stcal
(define-public python-stdatamodels
(package
(name "python-stdatamodels")
- (version "2.0.0")
+ (version "2.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "stdatamodels" version))
(sha256
- (base32 "0a47xf1zv71kv166z6rd9v75bw0jjmg70180af4yi4v4y7gnxvmm"))))
+ (base32 "0bgb0n1nqwnvd6bh0f1cnbk3j2yygch88l9834hmsns4rg1ak6j9"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- #~(list "-n" "auto"
+ #~(list "--numprocesses" "auto"
;; Disable tests requiring access to CRDS servers to download
;; ~500MiB of data.
"-k" "not test_crds_selectors_vs_datamodel")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 17/26] gnu: python-sunpy: Update to 6.0.2.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (15 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 16/26] gnu: python-stdatamodels: Update to 2.1.0 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 18/26] gnu: Add healpix Sharlatan Hellseher
` (11 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-sunpy): Update to 6.0.2.
[arguments]: <#:test-flags>: Enable more tests as the issue is resolved.
Change-Id: Ib7506442d8c1447425a4ca24a7ffeb5c1cd9fa6a
---
gnu/packages/astronomy.scm | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 42f60b6f71..6fab4491d6 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3572,27 +3572,20 @@ (define-public python-sgp4
(define-public python-sunpy
(package
(name "python-sunpy")
- (version "6.0.1")
+ (version "6.0.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sunpy" version))
(sha256
- (base32 "1yp7x26fzxs66bfvzaim8ns5q6514l66mbz5gabhlxb9pp8i6i85"))))
+ (base32 "0mzmq2ncqgq61c1maxwynrmzcyiafnlil5mx4vhy2cvdyacm8yc9"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- #~(list
- "--numprocesses" "auto"
- "-k" (string-append
- ;; XXX: Failed: DID NOT RAISE <class 'ModuleNotFoundError'>
- ;; It struggles to find python-opencsv package info with
- ;; 'importlib.metadata'
- "not test_main_nonexisting_module"
- " and not test_main_stdlib_module")
- ;; Requries SpicePy not packed in Guix yet.
- "--ignore=sunpy/coordinates/tests/test_spice.py")
+ #~(list "--numprocesses" "auto"
+ ;; Requries SpicePy not packed in Guix yet.
+ "--ignore=sunpy/coordinates/tests/test_spice.py")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 18/26] gnu: Add healpix.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (16 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 17/26] gnu: python-sunpy: Update to 6.0.2 Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 19/26] gnu: Add libsharp Sharlatan Hellseher
` (10 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (healpix): New variable.
Change-Id: I41dcee1ba9df1988dd9c4ee40b07daab5418e001
---
gnu/packages/astronomy.scm | 62 ++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 6fab4491d6..3f1b70196a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -111,6 +111,7 @@ (define-module (gnu packages astronomy)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (ice-9 match)
+ #:use-module (ice-9 format)
#:use-module (srfi srfi-1))
(define-public alfa
@@ -586,6 +587,67 @@ (define-public cfitsio
(license (license:non-copyleft "file://License.txt"
"See License.txt in the distribution."))))
+(define* (healpix-source #:key version sha256-base32-hash)
+ ;; The sources of HEALPix containing 6 independent packages (Fortran90,
+ ;; IDL, C, C++, java and python) and distributed togather libsharp.
+ (origin
+ (method url-fetch)
+ (uri
+ (let* ((name "Healpix")
+ (version-list (string-split version #\.))
+ (name+version (format #f "~a_~{~a.~a~a~}" name version-list)))
+ (string-append "mirror://sourceforge/healpix/"
+ name+version "/" name+version "_" "2022Jul28.tar.gz")))
+ (sha256
+ (base32 sha256-base32-hash ))))
+
+(define-public healpix
+ (package
+ (name "healpix")
+ (version "3.8.2")
+ (source
+ (healpix-source
+ #:version version
+ #:sha256-base32-hash "09x1lafq01gzk16yvmz2pdhrxnqfjp3b2p9hlgy0dbrdg82ryqj7"))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:tests? #f ; no tests
+ #:make-flags
+ #~(list "shared"
+ "AR=ar -rsv"
+ "OPT=-O2 -Wall"
+ "PIC=-fPIC"
+ (string-append "CC=" #$(cc-for-target))
+ (string-append "CFITSIO_INCDIR="
+ #$(this-package-input "cfitsio") "/include")
+ (string-append "CFITSIO_LIBDIR="
+ #$(this-package-input "cfitsio") "/lib")
+ (string-append "INCDIR=" #$output "/include")
+ (string-append "LIBDIR=" #$output "/lib"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no configure
+ (add-after 'unpack 'chdir-c
+ (lambda _
+ (chdir "src/C/subs")))
+ (add-before 'install 'set-output-directories
+ (lambda _
+ (mkdir-p (string-append #$output "/include"))
+ (mkdir-p (string-append #$output "/lib")))))))
+ (native-inputs
+ (list pkg-config autoconf automake))
+ (inputs
+ (list cfitsio))
+ (home-page "https://healpix.jpl.nasa.gov/")
+ (synopsis "Representation of spherical data")
+ (description
+ "@acronym{HEALPix, Hierarchical Equal Area isoLatitude Pixelation} of a
+sphere produces a subdivision of a spherical surface in which each pixel
+covers the same surface area as every other pixel. This package provides the
+dynamic library for the C language implementation of HEALPix.")
+ (license license:gpl2+)))
+
(define-public erfa
(package
(name "erfa")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 19/26] gnu: Add libsharp.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (17 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 18/26] gnu: Add healpix Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 20/26] gnu: Add healpix-cxx Sharlatan Hellseher
` (9 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (libsharp): New variable.
Change-Id: I614939ab916357c0ac69de21e954bcc8ef95707d
---
gnu/packages/astronomy.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 3f1b70196a..9e2cf878b9 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -703,6 +703,40 @@ (define-public eye
corrections.")
(license license:cecill)))
+(define-public libsharp
+ (package
+ (name "libsharp")
+ (version "3.8.2")
+ (source
+ (healpix-source
+ #:version version
+ #:sha256-base32-hash "09x1lafq01gzk16yvmz2pdhrxnqfjp3b2p9hlgy0dbrdg82ryqj7"))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir-libsharp
+ (lambda _
+ (chdir "src/common_libraries/libsharp"))))))
+ (home-page "https://healpix.sourceforge.io/")
+ (synopsis "Efficient spherical harmonic transforms at arbitrary spins")
+ (description
+ "This package provides a librari for spherical harmonic
+transforms (SHTs), which evolved from the libpsht library, addressing several
+of its shortcomings, such as adding MPI support for distributed memory systems
+and SHTs of fields with arbitrary spin, but also supporting new developments
+in CPU instruction sets like the Advanced Vector Extensions (AVX) or fused
+multiply-accumulate (FMA) instructions. The library is implemented in
+portable C99 and provides an interface that can be easily accessed from other
+programming languages such as C++, Fortran, Python etc. Generally, libsharp's
+performance is at least on par with that of its predecessor; however,
+significant improvements were made to the algorithms for scalar SHTs, which
+are roughly twice as fast when using the same CPU capabilities.
+
+Supporting paper is availalbe at https://arxiv.org/abs/1303.4945")
+ (license license:gpl2+)))
+
(define-public psfex
(package
(name "psfex")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 20/26] gnu: Add healpix-cxx.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (18 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 19/26] gnu: Add libsharp Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 21/26] gnu: Add python-metrics-logger Sharlatan Hellseher
` (8 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (healpix-cxx): New variable.
Change-Id: I1d70cd44efa86f89e3fc8f4f60d0b259ecd78acf
---
gnu/packages/astronomy.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 9e2cf878b9..9652d232bb 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -648,6 +648,36 @@ (define-public healpix
dynamic library for the C language implementation of HEALPix.")
(license license:gpl2+)))
+(define-public healpix-cxx
+ (package
+ (inherit healpix)
+ (name "healpix-cxx")
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir-cxx
+ (lambda _
+ (chdir "src/cxx")))
+ (add-after 'chdir-cxx 'adjust-unit-tests
+ (lambda _
+ (substitute* "configure.ac"
+ ;; Run unit tests using serial harness, taken from
+ ;; <https://salsa.debian.org/debian-astro-team/healpix-cxx/>.
+ (("foreign subdir-objects -Wall -Werror")
+ "foreign serial-tests subdir-objects -Wall -Werror"))))
+ (replace 'bootstrap
+ (lambda _
+ (invoke "aclocal")
+ (invoke "automake" "--add-missing")
+ (invoke "autoconf"))))))
+ (inputs (modify-inputs (package-inputs healpix)
+ (prepend libsharp zlib)))
+ (description
+ (string-replace-substring (package-description healpix)
+ "C language"
+ "C++ language"))))
+
(define-public erfa
(package
(name "erfa")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 21/26] gnu: Add python-metrics-logger.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (19 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 20/26] gnu: Add healpix-cxx Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 22/26] gnu: Add webbpsf-data Sharlatan Hellseher
` (7 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* gnu/packages/python-xyz.scm (python-metrics-logger): New variable.
Change-Id: I864d4f3a71f31214f6fba5d3ef42e681bf0a6585
---
gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6975cca1f7..ed506b19c3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29651,6 +29651,29 @@ (define-public python-mercantile
translating between quadkey and tile coordinates.")
(license license:bsd-3)))
+(define-public python-metrics-logger
+ (package
+ (name "python-metrics-logger")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "metrics_logger" version))
+ (sha256
+ (base32 "1fri00gb7x8ihjz8a25xc6wv5mkr55w0gdsf83pcqfc6hm094wh2"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest))
+ (home-page "https://github.com/spacetelescope/metrics_logger")
+ (synopsis
+ "Standardized logging for metrics capture for applications with requirements.")
+ (description
+ "The metrics logger is a simple decorator intended to provide
+standardized logging for annotated pytest methods with tags to identify
+associated build requirements. As this is a generic utility, any method can be
+decorated and any type of tagging can be provided.")
+ (license #f)))
+
(define-public python-xyzservices
(package
(name "python-xyzservices")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 22/26] gnu: Add webbpsf-data.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (20 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 21/26] gnu: Add python-metrics-logger Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 23/26] gnu: Add python-webbpsf Sharlatan Hellseher
` (6 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (webbpsf-data): New variable.
Change-Id: I8b9836053f81187e2367a943ac981906880856b9
---
gnu/packages/astronomy.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 9652d232bb..74b0e63481 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6423,6 +6423,29 @@ (define-public wcstools
manipulate images.")
(license license:gpl2+)))
+(define-public webbpsf-data
+ (package
+ (name "webbpsf-data")
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ ;; 70.1MiB archive
+ (uri "https://stsci.box.com/shared/static/qxpiaxsjwo15ml6m4pkhtk36c9jgj70k.gz")
+ (file-name (string-append "webbpsf-data-" version ".tar.gz"))
+ (sha256
+ (base32 "0b3qxp6mrm2dwsdnqnprf4yrp0zbncknildqmf28wgginwa5sch8"))))
+ (build-system copy-build-system)
+ (arguments
+ (list
+ #:install-plan #~'(("." "share/webbpsf-data"))))
+ (home-page "https://webbpsf.readthedocs.io/en/stable/installation.html")
+ (synopsis "JWST pupil shape, instrument throughputs, and aperture positions data files")
+ (description
+ "This package contains FIT and CSV files requried for WebbPSF
+installation and distributed separatly from it.")
+ (license license:bsd-3)))
+
(define-public weightwatcher
(package
(name "weightwatcher")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 23/26] gnu: Add python-webbpsf.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (21 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 22/26] gnu: Add webbpsf-data Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 24/26] gnu: Add python-ci-watson Sharlatan Hellseher
` (5 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-webbpsf): New variable.
Change-Id: Ia439e0a3ebee219ae5d680b30cecde717611e579
---
gnu/packages/astronomy.scm | 61 ++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 74b0e63481..973e6af594 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6039,6 +6039,67 @@ (define-public python-viresclient
@url{https://aeolus.services, Aeolus}")
(license license:expat)))
+(define-public python-webbpsf
+ (package
+ (name "python-webbpsf")
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "webbpsf" version))
+ (sha256
+ (base32 "1084vbk2q3kybxgvh8f2zbsi2w2z8zapsfjkgd6km4yhwqv1wl4a"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "--numprocesses" "auto"
+ "-k" (string-append
+ ;; Test requiring network access
+ "not test_monthly_trending_plot_auto_opdtable"
+ " and not test_monthly_trending_plot_opdtable_param"
+ " and not test_delta_wfe_around_time"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-env
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (setenv "WEBBPSF_PATH"
+ (string-append #$(this-package-input "webbpsf-data")
+ "/share/webbpsf-data")))))))
+ (propagated-inputs
+ (list python-astropy
+ python-astroquery
+ python-matplotlib
+ python-numpy
+ python-photutils
+ python-poppy
+ python-pysiaf
+ python-scipy
+ python-synphot))
+ (native-inputs
+ (list nss-certs-for-test
+ python-pytest
+ python-pytest-astropy
+ python-pytest-xdist
+ python-setuptools-scm))
+ (inputs
+ (list
+ ;; Requried for installation, see
+ ;; <https://webbpsf.readthedocs.io/en/stable/installation.html>, no
+ ;; licence provided. "To run WebbPSF, you must download these files and
+ ;; tell WebbPSF where to find them using the WEBBPSF_PATH environment
+ ;; variable."
+ webbpsf-data))
+ (home-page "https://webbpsf.readthedocs.io/")
+ (synopsis "James Webb Space Telescope PSF simulation tool")
+ (description
+ "WebbPSF produces simulated PSFs for the James Webb Space Telescope,
+NASA's flagship infrared space telescope. WebbPSF can simulate images for any
+of the four science instruments plus the fine guidance sensor, including both
+direct imaging, coronagraphic, and spectroscopic modes.")
+ (license license:bsd-3)))
+
(define-public python-wiimatch
(package
(name "python-wiimatch")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 24/26] gnu: Add python-ci-watson.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (22 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 23/26] gnu: Add python-webbpsf Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-20 23:31 ` [bug#73399] [PATCH 25/26] gnu: Add python-pytest-cython Sharlatan Hellseher
` (4 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-ci-watson): New variable.
Change-Id: I0590bdd7c3847d9b5cc80de94e40149c475bd46a
---
gnu/packages/astronomy.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 973e6af594..3675ccd14e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2794,6 +2794,39 @@ (define-public python-cdflib
@end itemize")
(license license:expat)))
+(define-public python-ci-watson
+ (package
+ (name "python-ci-watson")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ci_watson" version))
+ (sha256
+ (base32 "1qb5iyb053k1711ic93rcm0z344dc6h8vg8fpkbqpg5z6q0v2b0y"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-pypojrect-toml
+ (lambda _
+ (substitute* "setup.cfg"
+ ;; ImportError: Error importing plugin " no:legacypath": No
+ ;; module named ' no:legacypath'
+ (("-p no:legacypath") "")))))))
+ (propagated-inputs
+ (list python-crds
+ python-pytest
+ python-requests))
+ (native-inputs
+ (list python-pytest-astropy-header))
+ (home-page "https://github.com/spacetelescope/ci_watson")
+ (synopsis "Helper functions for STScI software")
+ (description
+ "This package contains a helper functionality to test ROMAN and JWST.")
+ (license license:bsd-3)))
+
(define-public python-cmyt
(package
(name "python-cmyt")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 25/26] gnu: Add python-pytest-cython.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (23 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 24/26] gnu: Add python-ci-watson Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-21 4:47 ` jgart via Guix-patches via
2024-09-20 23:31 ` [bug#73399] [PATCH 26/26] gnu: Add python-healpy Sharlatan Hellseher
` (3 subsequent siblings)
28 siblings, 1 reply; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* gnu/packages/python-check.scm (python-pytest-cython): New variable.
Change-Id: I4f223bb0a88db3fd91bb312dfe4558a075ff8bb2
---
gnu/packages/python-check.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 4888b42bc1..87a1f452c1 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1784,6 +1784,29 @@ (define-public python-pytest-celery
"This package provides a shim Pytest plugin to enable a Celery marker.")
(license license:bsd-3)))
+(define-public python-pytest-cython
+ (package
+ (name "python-pytest-cython")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-cython" version))
+ (sha256
+ (base32 "0ma496dgmmrpgqd3zk6vin29dgajcplh63yqd8jh2a3ai954fr22"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; XXX: 1 error during collection.
+ #:tests? #f ))
+ (propagated-inputs
+ (list python-pytest-8))
+ (home-page "https://github.com/lgpage/pytest-cython")
+ (synopsis "Cython extension modules testing plagin")
+ (description
+ "This package provides a plugin for testing Cython extension modules.")
+ (license license:expat)))
+
(define-public python-pytest-env
(package
(name "python-pytest-env")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 26/26] gnu: Add python-healpy.
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (24 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 25/26] gnu: Add python-pytest-cython Sharlatan Hellseher
@ 2024-09-20 23:31 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (2 subsequent siblings)
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-20 23:31 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-healpy): New variable.
Change-Id: I471145f504d4e8d7a2611a6a1fd3c4f0d0472033
---
gnu/packages/astronomy.scm | 59 ++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 3675ccd14e..291ea8d1ca 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1413,6 +1413,65 @@ (define-public python-glue-qt
(description "Multidimensional data visualization across files.")
(license license:bsd-3)))
+(define-public python-healpy
+ (package
+ (name "python-healpy")
+ ;; The latest version depends on custom fork of HEALPix with changes not
+ ;; ported to upstream yet, see
+ ;; <https://github.com/healpy/healpy/issues/949>.
+ (version "1.16.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "healpy" version))
+ (sha256
+ (base32 "1w99cgszh2mzcn5x8p0gdzn3r96vyfdnvbwm20a1l9fdiy16xcha"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; Disable tests requiring network access.
+ #~(list "-k" (string-append "not test_astropy_download_file"
+ " and not test_pixelweights_local_datapath"
+ " and not test_rotate_map_polarization_alms"))
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: It's not compatible with pytest-8, enable when newer version
+ ;; is available.
+ (add-after 'unpack 'disable-doctest
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("--doctest-plus") ""))))
+ (add-before 'check 'build-extensions
+ (lambda _
+ (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+ (native-inputs
+ (list nss-certs-for-test
+ pkg-config
+ python-cython-3
+ python-pytest-8
+ python-pytest-astropy-header
+ python-pytest-cython
+ ;python-pytest-doctestplus
+ python-setuptools-scm))
+ (propagated-inputs
+ (list python-astropy
+ python-colorlog
+ python-matplotlib
+ python-numpy
+ python-scipy))
+ (inputs
+ (list cfitsio
+ healpix-cxx
+ libsharp))
+ (home-page "http://healpy.readthedocs.org/")
+ (synopsis "Healpix tools package for Python")
+ (description
+ "healpy is a Python package to handle pixelated data on the sphere. It
+is based on the Hierarchical Equal Area isoLatitude Pixelization (HEALPix)
+scheme and bundles the HEALPix C++ library.")
+ (license license:gpl2+)))
+
(define-public python-pvextractor
(package
(name "python-pvextractor")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (25 preceding siblings ...)
2024-09-20 23:31 ` [bug#73399] [PATCH 26/26] gnu: Add python-healpy Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 01/25] gnu: calcmysky: Update to 0.3.3 Sharlatan Hellseher
` (24 more replies)
2024-09-30 21:44 ` [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
2024-10-01 23:32 ` bug#73399: " Sharlatan Hellseher
28 siblings, 25 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
Hi,
@jgart thanks for a quick review!
Changes in v2:
- python-metrics-logger :: Remove from the series as upstream did not clarify
the license yet,
<https://github.com/spacetelescope/metrics_logger/issues/11>. It might be
not required in upcoming release of python-romancal which I prepared it for.
- python-pytest-cython :: Fix typo in synopsis, enable some unit tests.
Sharlatan Hellseher (25):
gnu: calcmysky: Update to 0.3.3.
gnu: cfitsio: Update to 4.5.0.
gnu: siril: Update to 1.2.4.
gnu: python-astropy-iers-data: Update to 0.2024.9.16.0.32.21.
gnu: python-astropy: Update to 6.1.3.
gnu: python-ndcube: Disable failing tests.
gnu: python-ginga: Fix tests.
gnu: python-crds: Update to 11.18.4.
gnu: python-drizzle: Update to 1.15.3.
gnu: python-jwst: Update to 1.16.0.
gnu: python-pysiaf: Update to 0.23.3.
gnu: Add python-sep-pjw.
gnu: python-regularizepsf: Update to 0.4.0.
gnu: python-sbpy: Update to 0.5.0.
gnu: python-stcal: Update to 1.9.0.
gnu: python-stdatamodels: Update to 2.1.0.
gnu: python-sunpy: Update to 6.0.2.
gnu: Add healpix.
gnu: Add libsharp.
gnu: Add healpix-cxx.
gnu: Add webbpsf-data.
gnu: Add python-webbpsf.
gnu: Add python-ci-watson.
gnu: Add python-pytest-cython.
gnu: Add python-healpy.
gnu/packages/astronomy.scm | 454 +++++++++++++++++++++++++++++-----
gnu/packages/python-check.scm | 38 +++
2 files changed, 432 insertions(+), 60 deletions(-)
base-commit: 9d75215a59629ab224154ef6b843043289291f81
--
2.46.0
^ permalink raw reply [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 01/25] gnu: calcmysky: Update to 0.3.3.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 02/25] gnu: cfitsio: Update to 4.5.0 Sharlatan Hellseher
` (23 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (calcmysky): Update to 0.3.3.
Change-Id: Ia2afb27fdc866edcf6f3167484ab70a4ff12a5d6
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 1a6b0e866b..be58fa64af 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -294,7 +294,7 @@ (define-public calceph
(define-public calcmysky
(package
(name "calcmysky")
- (version "0.3.2")
+ (version "0.3.3")
(source
(origin
(method git-fetch)
@@ -303,7 +303,7 @@ (define-public calcmysky
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1kybjlddrm8x4x5y82qczi6z1d2riv6zcfjzrh7pzg2vwj89izh0"))))
+ (base32 "0njsapy3qlyg3y0p5a849xydzhnzk4p5s0s37zxw9k5nnaf4vinp"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 02/25] gnu: cfitsio: Update to 4.5.0.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 01/25] gnu: calcmysky: Update to 0.3.3 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 03/25] gnu: siril: Update to 1.2.4 Sharlatan Hellseher
` (22 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (cfitsio): Update to 4.5.0.
[description]: Adjust indentation, fix some lint warning and replace "dfn"
with "acronym".
[properties]: Add "release-monitoring-url" property.
Change-Id: I6717f2c68d11845839f34eae073965857ca318c5
---
gnu/packages/astronomy.scm | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index be58fa64af..81cd6a79ac 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -541,7 +541,7 @@ (define-public celestia-gtk
(define-public cfitsio
(package
(name "cfitsio")
- (version "4.4.1")
+ (version "4.5.0")
(source
(origin
(method url-fetch)
@@ -549,7 +549,7 @@ (define-public cfitsio
"https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/"
"cfitsio-" version ".tar.gz"))
(sha256
- (base32 "098x1l8ijwsjp2ivp3v7pamrmpgwj5xmgb4yppm9w3w044zxr8b6"))))
+ (base32 "02ff4xsc4r6vam4m4nmp426bpl7klbx6nn5ajgj6452w6v1lz1g4"))))
(build-system gnu-build-system)
(arguments
(list
@@ -574,11 +574,15 @@ (define-public cfitsio
(inputs (list bzip2 curl zlib))
(home-page "https://heasarc.gsfc.nasa.gov/fitsio/fitsio.html")
(synopsis "Library for reading and writing FITS files")
- (description "CFITSIO provides simple high-level routines for reading and
-writing @dfn{FITS} (Flexible Image Transport System) files that insulate the
-programmer from the internal complexities of the FITS format. CFITSIO also
+ (description
+ "CFITSIO provides simple high-level routines for reading and writing
+@acronym{Flexible Image Transport System,FITS} files that insulate the
+programmer from the internal complexities of the FITS format. CFITSIO also
provides many advanced features for manipulating and filtering the information
in FITS files.")
+ (properties
+ '((release-monitoring-url .
+ "https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html")))
(license (license:non-copyleft "file://License.txt"
"See License.txt in the distribution."))))
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 03/25] gnu: siril: Update to 1.2.4.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 01/25] gnu: calcmysky: Update to 0.3.3 Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 02/25] gnu: cfitsio: Update to 4.5.0 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 04/25] gnu: python-astropy-iers-data: Update to 0.2024.9.16.0.32.21 Sharlatan Hellseher
` (21 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (siril): Update to 1.2.4.
Change-Id: I544b8aa44c0f4256d9ee6c3686c2cb42fb47fdf7
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 81cd6a79ac..4bcdbdf884 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1882,7 +1882,7 @@ (define-public sextractor
(define-public siril
(package
(name "siril")
- (version "1.2.3")
+ (version "1.2.4")
(source
(origin
(method git-fetch)
@@ -1890,7 +1890,7 @@ (define-public siril
(url "https://gitlab.com/free-astro/siril")
(commit version)))
(sha256
- (base32 "0gkd8w2bpwq4ibl3vawx008yrm5k6zlj77lp98fflffcf7cj8hr5"))
+ (base32 "1nh5zk7isf7a0akkxq56n0lw8i18f7w3r27pa16fpcivmbv6xcx2"))
(file-name (git-file-name name version))))
(build-system meson-build-system)
(arguments
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 04/25] gnu: python-astropy-iers-data: Update to 0.2024.9.16.0.32.21.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (2 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 03/25] gnu: siril: Update to 1.2.4 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 05/25] gnu: python-astropy: Update to 6.1.3 Sharlatan Hellseher
` (20 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-astropy-iers-data): Update to 0.2024.9.16.0.32.21.
Change-Id: If1e1d6debacb440eb71fdea51684352a5b8b5d9e
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 4bcdbdf884..eceeb23a3a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2305,13 +2305,13 @@ (define-public python-astropy-iers-data
;; In case of changing the source method git-fetch, consider to check the
;; tag as it's not following the PyPI version, see
;; <https://github.com/astropy/astropy-iers-data/issues/17>.
- (version "0.2024.8.12.0.32.58")
+ (version "0.2024.9.16.0.32.21")
(source
(origin
(method url-fetch)
(uri (pypi-uri "astropy_iers_data" version))
(sha256
- (base32 "1xw4s6vyl29miccbs3ylyichj1rcmzmya3lmh27f173n7k2zb5g0"))))
+ (base32 "0i63yxw4xfgv1dwaq89xd34xlsnx0n5njcm4adln2gk2ia3gxxig"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 05/25] gnu: python-astropy: Update to 6.1.3.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (3 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 04/25] gnu: python-astropy-iers-data: Update to 0.2024.9.16.0.32.21 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 06/25] gnu: python-ndcube: Disable failing tests Sharlatan Hellseher
` (19 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-astropy): Update to 6.1.3.
[arguments]: <#:test-flags>: Enable more tests.
Change-Id: Id9ad7141bcc06f45bc8408896fc216b655b49642
---
gnu/packages/astronomy.scm | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index eceeb23a3a..acfc603153 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2156,13 +2156,13 @@ (define-public stellarium
(define-public python-astropy
(package
(name "python-astropy")
- (version "6.1.2")
+ (version "6.1.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "astropy" version))
(sha256
- (base32 "0fhx9zjsqp7z8z8phafpbwpb46idrbsamkfg42l8j0z94i73s452"))
+ (base32 "0w09fn7zy2nr5pvvqwmi3s3cm3y5pzxpn7wldz7bbxn1xp6k9j4s"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -2180,15 +2180,13 @@ (define-public python-astropy
(list
#:test-flags
#~(list "--pyargs" "astropy"
- "-n" "auto"
+ "--numprocesses" "auto"
"-k" (string-append
;; Skip tests that need remote data.
"not remote_data"
;; ValueError: The truth value of an array with more than
;; one element is ambiguous. Use a.any() or a.all()
- " and not test_table_comp[t16-t26]"
- ;; E Unreliable test timings! <...>
- " and not test_datetime_timedelta_roundtrip"))
+ " and not test_table_comp[t16-t26]"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'preparations
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 06/25] gnu: python-ndcube: Disable failing tests.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (4 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 05/25] gnu: python-astropy: Update to 6.1.3 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 07/25] gnu: python-ginga: Fix tests Sharlatan Hellseher
` (18 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-ndcube) [arguments]: <#test-flags>:
Disable 2 tests failing after python-astropy updated to 6.1.3.
Change-Id: I95d07fb5d26dda534afbbe44d5dd9f30ebbf6d09
---
gnu/packages/astronomy.scm | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index acfc603153..8cb25aab08 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3061,9 +3061,16 @@ (define-public python-ndcube
(build-system pyproject-build-system)
(arguments
(list
- ;; Break cycle: python-ndcube -> python-specutils -> python-ndcube, see
- ;; <https://github.com/sunpy/ndcube/issues/733>.
- #:test-flags #~(list "-k" "not test_rebin_specutils")
+ #:test-flags
+ #~(list "-k" (string-append
+ ;; Break cycle: python-ndcube -> python-specutils ->
+ ;; python-ndcube, see
+ ;; <https://github.com/sunpy/ndcube/issues/733>.
+ "not test_rebin_specutils"
+ ;; Introduced with astropy 6.1.3, see
+ ;; https://github.com/sunpy/ndcube/issues/758>.
+ " and not test_2d[celestial_2d_ape14_wcs]"
+ " and not test_2d[celestial_2d_fitswcs]"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'break-cycle
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 07/25] gnu: python-ginga: Fix tests.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (5 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 06/25] gnu: python-ndcube: Disable failing tests Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 08/25] gnu: python-crds: Update to 11.18.4 Sharlatan Hellseher
` (17 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-ginga) [arguments]: <#:test-flags>:
Exlude one failing test.
Change-Id: Ic84d89c5cc8cc4938ce8022b1974e5f284179f8e
---
gnu/packages/astronomy.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 8cb25aab08..980b52e0c0 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1092,6 +1092,8 @@ (define-public python-ginga
(build-system pyproject-build-system)
(arguments
(list
+ ;; AssertionError: Not equal to tolerance rtol=1e-07, atol=0.0001
+ #:test-flags #~(list "-k" "not test_fwhm")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 08/25] gnu: python-crds: Update to 11.18.4.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (6 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 07/25] gnu: python-ginga: Fix tests Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 09/25] gnu: python-drizzle: Update to 1.15.3 Sharlatan Hellseher
` (16 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-crds): Update to 11.18.4.
Change-Id: Icdbbdda18c64d754d6284ce359393f4d595e468e
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 980b52e0c0..7058ffde4b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2696,13 +2696,13 @@ (define-public python-cmyt
(define-public python-crds
(package
(name "python-crds")
- (version "11.18.1")
+ (version "11.18.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "crds" version))
(sha256
- (base32 "0k0q76mc9a18lrjqah8yb7v97dmhlwhsxyqr9r5rk0w4iqi6j7pp"))))
+ (base32 "1z6apmss8wym3lpp2mifqxz0i5vvi39g0i2agvw0lchcyzw3jvig"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 09/25] gnu: python-drizzle: Update to 1.15.3.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (7 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 08/25] gnu: python-crds: Update to 11.18.4 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 10/25] gnu: python-jwst: Update to 1.16.0 Sharlatan Hellseher
` (15 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-drizzle): Update to 1.15.3.
Change-Id: I457260332cb97995b94a9a87f49744b5b60edda0
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 7058ffde4b..f44b4e48c0 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2791,7 +2791,7 @@ (define-public python-drms
(define-public python-drizzle
(package
(name "python-drizzle")
- (version "1.15.2")
+ (version "1.15.3")
(source
(origin
(method git-fetch) ;PyPi doesn't have the test data sets
@@ -2800,7 +2800,7 @@ (define-public python-drizzle
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1fp6gcvp6nz4a2mmy9vjn5wwywldhkg8bjjgb4ldn0vpv9k4nv8q"))))
+ (base32 "0zxhzvd01jgl4r6ivlxkccaf2shzb0c0ir7l06096iv9n6lff3wx"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 10/25] gnu: python-jwst: Update to 1.16.0.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (8 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 09/25] gnu: python-drizzle: Update to 1.15.3 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 11/25] gnu: python-pysiaf: Update to 0.23.3 Sharlatan Hellseher
` (14 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-jwst): Update to 1.16.0.
Change-Id: I7084b58eed04d5faf49cbd16aa43bf493a6655d8
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index f44b4e48c0..ca521aab0a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4795,13 +4795,13 @@ (define-public python-jplephem
(define-public python-jwst
(package
(name "python-jwst")
- (version "1.15.1")
+ (version "1.16.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "jwst" version))
(sha256
(base32
- "1nl5fixakqvjhg9q5biivwaqpi6lzx9w4fq0n6imwccag2gv1va3"))
+ "06krkpfhwpc825bsdl0rffd9qlqw1rl928fwxa7cywds5dahpiyn"))
(modules '((guix build utils)))
(snippet
'(begin
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 11/25] gnu: python-pysiaf: Update to 0.23.3.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (9 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 10/25] gnu: python-jwst: Update to 1.16.0 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 12/25] gnu: Add python-sep-pjw Sharlatan Hellseher
` (13 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-pysiaf): Update to 0.23.3.
[propagated-inputs]: Remove python-numpydoc.
[native-inputs]: Add python-setuptools-scm.
Change-Id: Ia20751efc79d391a01b0b50e728646ac38e6b7eb
---
gnu/packages/astronomy.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ca521aab0a..dae1fd0a0f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5088,18 +5088,18 @@ (define-public python-pyregion
(define-public python-pysiaf
(package
(name "python-pysiaf")
- (version "0.22.0")
+ (version "0.23.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pysiaf" version))
(sha256
- (base32 "08wb98k9k4f04455da5ns9rif8pl9r3ih537w1yj393hkjjiyzfz"))))
+ (base32 "16qbg5n2bw2wr3i8a040i7z7az3w0pn508y6xggy05viwdli6br8"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- #~(list "-n" "auto"
+ #~(list "--numprocesses" "auto"
;; Disable 2 failing tests, see
;; <https://github.com/spacetelescope/pysiaf/issues/338>
"-k" (string-append "not test_write_jwst_siaf_xlsx"
@@ -5109,12 +5109,13 @@ (define-public python-pysiaf
python-lxml
python-matplotlib
python-numpy
- python-numpydoc
python-openpyxl
python-requests
python-scipy))
(native-inputs
- (list python-pytest python-pytest-xdist))
+ (list python-pytest
+ python-pytest-xdist
+ python-setuptools-scm))
(home-page "https://pysiaf.readthedocs.io/")
(synopsis "Handling SIAF for space telescopes")
(description
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 12/25] gnu: Add python-sep-pjw.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (10 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 11/25] gnu: python-pysiaf: Update to 0.23.3 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 13/25] gnu: python-regularizepsf: Update to 0.4.0 Sharlatan Hellseher
` (12 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-sep-pjw): New variable.
Change-Id: Ib0ae64a938de53ead32277606f9fc150fae76bd5
---
gnu/packages/astronomy.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index dae1fd0a0f..1c5fa5b6d3 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5254,6 +5254,38 @@ (define-public python-sep
(list python-numpy))
(synopsis "Python library for Source Extraction and Photometry")))
+(define-public python-sep-pjw
+ (package
+ (name "python-sep-pjw")
+ (version "1.3.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sep_pjw" version))
+ (sha256
+ (base32 "15jf16zycs1gz6jfkhmj7b8wdcpp8d5ikz15pmfkwq32a8mfdv8m"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:test-flags #~(list "test.py")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "pyproject.toml"
+ ;; numpy>=1.23.5
+ (("1.23.5") "1.23.2")))))))
+ (native-inputs
+ (list python-cython
+ python-pytest))
+ (propagated-inputs
+ (list python-numpy))
+ (home-page "https://github.com/PJ-Watson/sep-pjw")
+ (synopsis "Alternative fork of SEP library")
+ (description
+ "This package provides an alternative maintained fork of SEP python
+libary with bug fixtures.")
+ (license (list license:expat license:lgpl3+ license:bsd-3))))
+
(define-public python-suntime
(package
(name "python-suntime")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 13/25] gnu: python-regularizepsf: Update to 0.4.0.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (11 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 12/25] gnu: Add python-sep-pjw Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 14/25] gnu: python-sbpy: Update to 0.5.0 Sharlatan Hellseher
` (11 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-regularizepsf): Update to 0.4.0.
[propagated-inputs]: Remove python-sep; add python-sep-pjw.
Change-Id: I1480a686d87a7e9fe971c5b1450db4c74d4ef7e8
---
gnu/packages/astronomy.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 1c5fa5b6d3..044ebbbcb8 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3421,7 +3421,7 @@ (define-public python-regions
(define-public python-regularizepsf
(package
(name "python-regularizepsf")
- (version "0.3.4")
+ (version "0.4.0")
(source
(origin
(method git-fetch) ; no tests data in the PyPI tarball
@@ -3430,7 +3430,7 @@ (define-public python-regularizepsf
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "078nklks6hjq0hgv6wpbh2x1m2yh6kmzyfgdzd9q82lxpjy1vq0i"))))
+ (base32 "0b16lscrzd1lribwis19y6dh6qrgddhcinlc2lbwkzzqqkjdnyzi"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -3453,7 +3453,7 @@ (define-public python-regularizepsf
python-numpy
python-scikit-image
python-scipy
- python-sep))
+ python-sep-pjw))
(native-inputs
(list python-cython
python-pytest
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 14/25] gnu: python-sbpy: Update to 0.5.0.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (12 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 13/25] gnu: python-regularizepsf: Update to 0.4.0 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 15/25] gnu: python-stcal: Update to 1.9.0 Sharlatan Hellseher
` (10 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-sbpy): Update to 0.5.0.
[arguments]: <#:test-flags>: Enable all tests as upstream resolve
issues. Add parallelisation to tests.
Change-Id: Ibab879910faf45b6d9319e9a5ee4ad59735cce4f
---
gnu/packages/astronomy.scm | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 044ebbbcb8..fd6bb9f45a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5178,23 +5178,17 @@ (define-public python-pysynphot
(define-public python-sbpy
(package
(name "python-sbpy")
- (version "0.4.0")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sbpy" version))
(sha256
- (base32 "18f3056fgzpvjj43m845wl9znl4dqxs8f8qv3gpay7kik4l8a1fc"))))
+ (base32 "1xqi29rrh7v05zmvyl8gffrkrw5rlcxig1w6xw1v8f7ikydb5plv"))))
(build-system pyproject-build-system)
(arguments
(list
- #:test-flags
- ;; See <https://github.com/NASA-Planetary-Science/sbpy/issues/397>.
- #~(list "--ignore=sbpy/spectroscopy/tests/test_specgrad.py"
- ;; See <https://github.com/NASA-Planetary-Science/sbpy/issues/398>
- "-k" (string-append "not test_from_fluxd"
- " and not test_bandpass"
- " and not test_spectral_density_vega_bp"))
+ #:test-flags #~(list "--numprocesses" "auto")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'set-home-env
@@ -5209,6 +5203,7 @@ (define-public python-sbpy
python-ginga
python-numpy
python-photutils
+ ;python-pyoorb ;not packed yet in Guix
python-pyyaml
python-scipy
python-synphot))
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 15/25] gnu: python-stcal: Update to 1.9.0.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (13 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 14/25] gnu: python-sbpy: Update to 0.5.0 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 16/25] gnu: python-stdatamodels: Update to 2.1.0 Sharlatan Hellseher
` (9 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-stcal): Update to 1.9.0.
Change-Id: I431c3e02586d5331567cea7f2eb9df2e05b24b00
---
gnu/packages/astronomy.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index fd6bb9f45a..5fe7371a65 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4053,13 +4053,13 @@ (define-public python-stsci-stimage
(define-public python-stcal
(package
(name "python-stcal")
- (version "1.8.0")
+ (version "1.9.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "stcal" version))
(sha256
- (base32 "0vcq1462wdfi96qqsd5bidx38bbpnpcm18j6s761jz8ymi6vifap"))))
+ (base32 "1n843r19zyjm14iadfbi71ixpk0jrbhaj7h3szy1yhnhrfsrkwar"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 16/25] gnu: python-stdatamodels: Update to 2.1.0.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (14 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 15/25] gnu: python-stcal: Update to 1.9.0 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 17/25] gnu: python-sunpy: Update to 6.0.2 Sharlatan Hellseher
` (8 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-stdatamodels): Update to 2.1.0.
Change-Id: Ia3af30338b52007b6967d0be1e6bec5c5c36e3ed
---
gnu/packages/astronomy.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5fe7371a65..42f60b6f71 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4117,18 +4117,18 @@ (define-public python-stcal
(define-public python-stdatamodels
(package
(name "python-stdatamodels")
- (version "2.0.0")
+ (version "2.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "stdatamodels" version))
(sha256
- (base32 "0a47xf1zv71kv166z6rd9v75bw0jjmg70180af4yi4v4y7gnxvmm"))))
+ (base32 "0bgb0n1nqwnvd6bh0f1cnbk3j2yygch88l9834hmsns4rg1ak6j9"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- #~(list "-n" "auto"
+ #~(list "--numprocesses" "auto"
;; Disable tests requiring access to CRDS servers to download
;; ~500MiB of data.
"-k" "not test_crds_selectors_vs_datamodel")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 17/25] gnu: python-sunpy: Update to 6.0.2.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (15 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 16/25] gnu: python-stdatamodels: Update to 2.1.0 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 18/25] gnu: Add healpix Sharlatan Hellseher
` (7 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-sunpy): Update to 6.0.2.
[arguments]: <#:test-flags>: Enable more tests as the issue is resolved.
Change-Id: Ib7506442d8c1447425a4ca24a7ffeb5c1cd9fa6a
---
gnu/packages/astronomy.scm | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 42f60b6f71..6fab4491d6 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3572,27 +3572,20 @@ (define-public python-sgp4
(define-public python-sunpy
(package
(name "python-sunpy")
- (version "6.0.1")
+ (version "6.0.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sunpy" version))
(sha256
- (base32 "1yp7x26fzxs66bfvzaim8ns5q6514l66mbz5gabhlxb9pp8i6i85"))))
+ (base32 "0mzmq2ncqgq61c1maxwynrmzcyiafnlil5mx4vhy2cvdyacm8yc9"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- #~(list
- "--numprocesses" "auto"
- "-k" (string-append
- ;; XXX: Failed: DID NOT RAISE <class 'ModuleNotFoundError'>
- ;; It struggles to find python-opencsv package info with
- ;; 'importlib.metadata'
- "not test_main_nonexisting_module"
- " and not test_main_stdlib_module")
- ;; Requries SpicePy not packed in Guix yet.
- "--ignore=sunpy/coordinates/tests/test_spice.py")
+ #~(list "--numprocesses" "auto"
+ ;; Requries SpicePy not packed in Guix yet.
+ "--ignore=sunpy/coordinates/tests/test_spice.py")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 18/25] gnu: Add healpix.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (16 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 17/25] gnu: python-sunpy: Update to 6.0.2 Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 19/25] gnu: Add libsharp Sharlatan Hellseher
` (6 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (healpix): New variable.
Change-Id: I41dcee1ba9df1988dd9c4ee40b07daab5418e001
---
gnu/packages/astronomy.scm | 62 ++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 6fab4491d6..3f1b70196a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -111,6 +111,7 @@ (define-module (gnu packages astronomy)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (ice-9 match)
+ #:use-module (ice-9 format)
#:use-module (srfi srfi-1))
(define-public alfa
@@ -586,6 +587,67 @@ (define-public cfitsio
(license (license:non-copyleft "file://License.txt"
"See License.txt in the distribution."))))
+(define* (healpix-source #:key version sha256-base32-hash)
+ ;; The sources of HEALPix containing 6 independent packages (Fortran90,
+ ;; IDL, C, C++, java and python) and distributed togather libsharp.
+ (origin
+ (method url-fetch)
+ (uri
+ (let* ((name "Healpix")
+ (version-list (string-split version #\.))
+ (name+version (format #f "~a_~{~a.~a~a~}" name version-list)))
+ (string-append "mirror://sourceforge/healpix/"
+ name+version "/" name+version "_" "2022Jul28.tar.gz")))
+ (sha256
+ (base32 sha256-base32-hash ))))
+
+(define-public healpix
+ (package
+ (name "healpix")
+ (version "3.8.2")
+ (source
+ (healpix-source
+ #:version version
+ #:sha256-base32-hash "09x1lafq01gzk16yvmz2pdhrxnqfjp3b2p9hlgy0dbrdg82ryqj7"))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:tests? #f ; no tests
+ #:make-flags
+ #~(list "shared"
+ "AR=ar -rsv"
+ "OPT=-O2 -Wall"
+ "PIC=-fPIC"
+ (string-append "CC=" #$(cc-for-target))
+ (string-append "CFITSIO_INCDIR="
+ #$(this-package-input "cfitsio") "/include")
+ (string-append "CFITSIO_LIBDIR="
+ #$(this-package-input "cfitsio") "/lib")
+ (string-append "INCDIR=" #$output "/include")
+ (string-append "LIBDIR=" #$output "/lib"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no configure
+ (add-after 'unpack 'chdir-c
+ (lambda _
+ (chdir "src/C/subs")))
+ (add-before 'install 'set-output-directories
+ (lambda _
+ (mkdir-p (string-append #$output "/include"))
+ (mkdir-p (string-append #$output "/lib")))))))
+ (native-inputs
+ (list pkg-config autoconf automake))
+ (inputs
+ (list cfitsio))
+ (home-page "https://healpix.jpl.nasa.gov/")
+ (synopsis "Representation of spherical data")
+ (description
+ "@acronym{HEALPix, Hierarchical Equal Area isoLatitude Pixelation} of a
+sphere produces a subdivision of a spherical surface in which each pixel
+covers the same surface area as every other pixel. This package provides the
+dynamic library for the C language implementation of HEALPix.")
+ (license license:gpl2+)))
+
(define-public erfa
(package
(name "erfa")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 19/25] gnu: Add libsharp.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (17 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 18/25] gnu: Add healpix Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 20/25] gnu: Add healpix-cxx Sharlatan Hellseher
` (5 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (libsharp): New variable.
Change-Id: I614939ab916357c0ac69de21e954bcc8ef95707d
---
gnu/packages/astronomy.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 3f1b70196a..9e2cf878b9 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -703,6 +703,40 @@ (define-public eye
corrections.")
(license license:cecill)))
+(define-public libsharp
+ (package
+ (name "libsharp")
+ (version "3.8.2")
+ (source
+ (healpix-source
+ #:version version
+ #:sha256-base32-hash "09x1lafq01gzk16yvmz2pdhrxnqfjp3b2p9hlgy0dbrdg82ryqj7"))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir-libsharp
+ (lambda _
+ (chdir "src/common_libraries/libsharp"))))))
+ (home-page "https://healpix.sourceforge.io/")
+ (synopsis "Efficient spherical harmonic transforms at arbitrary spins")
+ (description
+ "This package provides a librari for spherical harmonic
+transforms (SHTs), which evolved from the libpsht library, addressing several
+of its shortcomings, such as adding MPI support for distributed memory systems
+and SHTs of fields with arbitrary spin, but also supporting new developments
+in CPU instruction sets like the Advanced Vector Extensions (AVX) or fused
+multiply-accumulate (FMA) instructions. The library is implemented in
+portable C99 and provides an interface that can be easily accessed from other
+programming languages such as C++, Fortran, Python etc. Generally, libsharp's
+performance is at least on par with that of its predecessor; however,
+significant improvements were made to the algorithms for scalar SHTs, which
+are roughly twice as fast when using the same CPU capabilities.
+
+Supporting paper is availalbe at https://arxiv.org/abs/1303.4945")
+ (license license:gpl2+)))
+
(define-public psfex
(package
(name "psfex")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 20/25] gnu: Add healpix-cxx.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (18 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 19/25] gnu: Add libsharp Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 21/25] gnu: Add webbpsf-data Sharlatan Hellseher
` (4 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (healpix-cxx): New variable.
Change-Id: I1d70cd44efa86f89e3fc8f4f60d0b259ecd78acf
---
gnu/packages/astronomy.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 9e2cf878b9..9652d232bb 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -648,6 +648,36 @@ (define-public healpix
dynamic library for the C language implementation of HEALPix.")
(license license:gpl2+)))
+(define-public healpix-cxx
+ (package
+ (inherit healpix)
+ (name "healpix-cxx")
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir-cxx
+ (lambda _
+ (chdir "src/cxx")))
+ (add-after 'chdir-cxx 'adjust-unit-tests
+ (lambda _
+ (substitute* "configure.ac"
+ ;; Run unit tests using serial harness, taken from
+ ;; <https://salsa.debian.org/debian-astro-team/healpix-cxx/>.
+ (("foreign subdir-objects -Wall -Werror")
+ "foreign serial-tests subdir-objects -Wall -Werror"))))
+ (replace 'bootstrap
+ (lambda _
+ (invoke "aclocal")
+ (invoke "automake" "--add-missing")
+ (invoke "autoconf"))))))
+ (inputs (modify-inputs (package-inputs healpix)
+ (prepend libsharp zlib)))
+ (description
+ (string-replace-substring (package-description healpix)
+ "C language"
+ "C++ language"))))
+
(define-public erfa
(package
(name "erfa")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 21/25] gnu: Add webbpsf-data.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (19 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 20/25] gnu: Add healpix-cxx Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 22/25] gnu: Add python-webbpsf Sharlatan Hellseher
` (3 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (webbpsf-data): New variable.
Change-Id: I8b9836053f81187e2367a943ac981906880856b9
---
gnu/packages/astronomy.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 9652d232bb..74b0e63481 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6423,6 +6423,29 @@ (define-public wcstools
manipulate images.")
(license license:gpl2+)))
+(define-public webbpsf-data
+ (package
+ (name "webbpsf-data")
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ ;; 70.1MiB archive
+ (uri "https://stsci.box.com/shared/static/qxpiaxsjwo15ml6m4pkhtk36c9jgj70k.gz")
+ (file-name (string-append "webbpsf-data-" version ".tar.gz"))
+ (sha256
+ (base32 "0b3qxp6mrm2dwsdnqnprf4yrp0zbncknildqmf28wgginwa5sch8"))))
+ (build-system copy-build-system)
+ (arguments
+ (list
+ #:install-plan #~'(("." "share/webbpsf-data"))))
+ (home-page "https://webbpsf.readthedocs.io/en/stable/installation.html")
+ (synopsis "JWST pupil shape, instrument throughputs, and aperture positions data files")
+ (description
+ "This package contains FIT and CSV files requried for WebbPSF
+installation and distributed separatly from it.")
+ (license license:bsd-3)))
+
(define-public weightwatcher
(package
(name "weightwatcher")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 22/25] gnu: Add python-webbpsf.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (20 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 21/25] gnu: Add webbpsf-data Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 23/25] gnu: Add python-ci-watson Sharlatan Hellseher
` (2 subsequent siblings)
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-webbpsf): New variable.
Change-Id: Ia439e0a3ebee219ae5d680b30cecde717611e579
---
gnu/packages/astronomy.scm | 61 ++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 74b0e63481..973e6af594 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6039,6 +6039,67 @@ (define-public python-viresclient
@url{https://aeolus.services, Aeolus}")
(license license:expat)))
+(define-public python-webbpsf
+ (package
+ (name "python-webbpsf")
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "webbpsf" version))
+ (sha256
+ (base32 "1084vbk2q3kybxgvh8f2zbsi2w2z8zapsfjkgd6km4yhwqv1wl4a"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "--numprocesses" "auto"
+ "-k" (string-append
+ ;; Test requiring network access
+ "not test_monthly_trending_plot_auto_opdtable"
+ " and not test_monthly_trending_plot_opdtable_param"
+ " and not test_delta_wfe_around_time"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-env
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (setenv "WEBBPSF_PATH"
+ (string-append #$(this-package-input "webbpsf-data")
+ "/share/webbpsf-data")))))))
+ (propagated-inputs
+ (list python-astropy
+ python-astroquery
+ python-matplotlib
+ python-numpy
+ python-photutils
+ python-poppy
+ python-pysiaf
+ python-scipy
+ python-synphot))
+ (native-inputs
+ (list nss-certs-for-test
+ python-pytest
+ python-pytest-astropy
+ python-pytest-xdist
+ python-setuptools-scm))
+ (inputs
+ (list
+ ;; Requried for installation, see
+ ;; <https://webbpsf.readthedocs.io/en/stable/installation.html>, no
+ ;; licence provided. "To run WebbPSF, you must download these files and
+ ;; tell WebbPSF where to find them using the WEBBPSF_PATH environment
+ ;; variable."
+ webbpsf-data))
+ (home-page "https://webbpsf.readthedocs.io/")
+ (synopsis "James Webb Space Telescope PSF simulation tool")
+ (description
+ "WebbPSF produces simulated PSFs for the James Webb Space Telescope,
+NASA's flagship infrared space telescope. WebbPSF can simulate images for any
+of the four science instruments plus the fine guidance sensor, including both
+direct imaging, coronagraphic, and spectroscopic modes.")
+ (license license:bsd-3)))
+
(define-public python-wiimatch
(package
(name "python-wiimatch")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 23/25] gnu: Add python-ci-watson.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (21 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 22/25] gnu: Add python-webbpsf Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 24/25] gnu: Add python-pytest-cython Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 25/25] gnu: Add python-healpy Sharlatan Hellseher
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-ci-watson): New variable.
Change-Id: I0590bdd7c3847d9b5cc80de94e40149c475bd46a
---
gnu/packages/astronomy.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 973e6af594..3675ccd14e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2794,6 +2794,39 @@ (define-public python-cdflib
@end itemize")
(license license:expat)))
+(define-public python-ci-watson
+ (package
+ (name "python-ci-watson")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ci_watson" version))
+ (sha256
+ (base32 "1qb5iyb053k1711ic93rcm0z344dc6h8vg8fpkbqpg5z6q0v2b0y"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-pypojrect-toml
+ (lambda _
+ (substitute* "setup.cfg"
+ ;; ImportError: Error importing plugin " no:legacypath": No
+ ;; module named ' no:legacypath'
+ (("-p no:legacypath") "")))))))
+ (propagated-inputs
+ (list python-crds
+ python-pytest
+ python-requests))
+ (native-inputs
+ (list python-pytest-astropy-header))
+ (home-page "https://github.com/spacetelescope/ci_watson")
+ (synopsis "Helper functions for STScI software")
+ (description
+ "This package contains a helper functionality to test ROMAN and JWST.")
+ (license license:bsd-3)))
+
(define-public python-cmyt
(package
(name "python-cmyt")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 24/25] gnu: Add python-pytest-cython.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (22 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 23/25] gnu: Add python-ci-watson Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
2024-09-21 13:55 ` [bug#73399] [PATCH v2 25/25] gnu: Add python-healpy Sharlatan Hellseher
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* gnu/packages/python-check.scm (python-pytest-cython): New variable.
Change-Id: I4f223bb0a88db3fd91bb312dfe4558a075ff8bb2
---
gnu/packages/python-check.scm | 38 +++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 4888b42bc1..382a5453bb 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1784,6 +1784,44 @@ (define-public python-pytest-celery
"This package provides a shim Pytest plugin to enable a Celery marker.")
(license license:bsd-3)))
+(define-public python-pytest-cython
+ (package
+ (name "python-pytest-cython")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-cython" version))
+ (sha256
+ (base32 "0ma496dgmmrpgqd3zk6vin29dgajcplh63yqd8jh2a3ai954fr22"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "tests"
+ ;; FIXME: Failed: nomatch: '*sqr*PASSED*
+ "-k" (string-append
+ "not test_wrap_cpp_ext_module[importlib]"
+ " and not test_wrap_c_ext_module[importlib]"
+ " and not test_cython_ext_module[importlib]"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'build-extensions
+ (lambda _
+ (with-directory-excursion "tests/example-project"
+ (invoke "python" "setup.py" "build_ext" "--inplace")))))))
+ (native-inputs
+ (list python-nox
+ python-cython-3
+ python-setuptools))
+ (propagated-inputs
+ (list python-pytest-8))
+ (home-page "https://github.com/lgpage/pytest-cython")
+ (synopsis "Cython extension modules testing plugin")
+ (description
+ "This package provides a plugin for testing Cython extension modules.")
+ (license license:expat)))
+
(define-public python-pytest-env
(package
(name "python-pytest-env")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH v2 25/25] gnu: Add python-healpy.
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
` (23 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 24/25] gnu: Add python-pytest-cython Sharlatan Hellseher
@ 2024-09-21 13:55 ` Sharlatan Hellseher
24 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 13:55 UTC (permalink / raw)
To: 73399; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-healpy): New variable.
Change-Id: I471145f504d4e8d7a2611a6a1fd3c4f0d0472033
---
gnu/packages/astronomy.scm | 59 ++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 3675ccd14e..291ea8d1ca 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1413,6 +1413,65 @@ (define-public python-glue-qt
(description "Multidimensional data visualization across files.")
(license license:bsd-3)))
+(define-public python-healpy
+ (package
+ (name "python-healpy")
+ ;; The latest version depends on custom fork of HEALPix with changes not
+ ;; ported to upstream yet, see
+ ;; <https://github.com/healpy/healpy/issues/949>.
+ (version "1.16.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "healpy" version))
+ (sha256
+ (base32 "1w99cgszh2mzcn5x8p0gdzn3r96vyfdnvbwm20a1l9fdiy16xcha"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; Disable tests requiring network access.
+ #~(list "-k" (string-append "not test_astropy_download_file"
+ " and not test_pixelweights_local_datapath"
+ " and not test_rotate_map_polarization_alms"))
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: It's not compatible with pytest-8, enable when newer version
+ ;; is available.
+ (add-after 'unpack 'disable-doctest
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("--doctest-plus") ""))))
+ (add-before 'check 'build-extensions
+ (lambda _
+ (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+ (native-inputs
+ (list nss-certs-for-test
+ pkg-config
+ python-cython-3
+ python-pytest-8
+ python-pytest-astropy-header
+ python-pytest-cython
+ ;python-pytest-doctestplus
+ python-setuptools-scm))
+ (propagated-inputs
+ (list python-astropy
+ python-colorlog
+ python-matplotlib
+ python-numpy
+ python-scipy))
+ (inputs
+ (list cfitsio
+ healpix-cxx
+ libsharp))
+ (home-page "http://healpy.readthedocs.org/")
+ (synopsis "Healpix tools package for Python")
+ (description
+ "healpy is a Python package to handle pixelated data on the sphere. It
+is based on the Hierarchical Equal Area isoLatitude Pixelization (HEALPix)
+scheme and bundles the HEALPix C++ library.")
+ (license license:gpl2+)))
+
(define-public python-pvextractor
(package
(name "python-pvextractor")
--
2.46.0
^ permalink raw reply related [flat|nested] 56+ messages in thread
* [bug#73399] [PATCH 00/26] Astronomy update 2024/09
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (26 preceding siblings ...)
2024-09-21 13:55 ` [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09 Sharlatan Hellseher
@ 2024-09-30 21:44 ` Sharlatan Hellseher
2024-10-01 23:32 ` bug#73399: " Sharlatan Hellseher
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-09-30 21:44 UTC (permalink / raw)
To: 73399
[-- Attachment #1: Type: text/plain, Size: 59 bytes --]
Pushed as db990cfe40..5ca47c7d8d to master
--
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 56+ messages in thread
* bug#73399: [PATCH 00/26] Astronomy update 2024/09
2024-09-20 23:29 [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
` (27 preceding siblings ...)
2024-09-30 21:44 ` [bug#73399] [PATCH 00/26] Astronomy update 2024/09 Sharlatan Hellseher
@ 2024-10-01 23:32 ` Sharlatan Hellseher
28 siblings, 0 replies; 56+ messages in thread
From: Sharlatan Hellseher @ 2024-10-01 23:32 UTC (permalink / raw)
To: 73399-done
[-- Attachment #1: Type: text/plain, Size: 21 bytes --]
Closing as resoleved
[-- Attachment #2: Type: text/html, Size: 43 bytes --]
^ permalink raw reply [flat|nested] 56+ messages in thread