[PATCH 00/26] Astronomy update 2024/09

  • Done
  • quality assurance status badge
Details
2 participants
  • jgart
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
Sharlatan Hellseher
Severity
normal
S
S
Sharlatan Hellseher wrote on 21 Sep 01:29 +0200
(address . guix-patches@gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
cover.1726874446.git.sharlatanus@gmail.com
Hi Guix!

It's already autumn and a quite worm one, here at the North of UK. Please
review a new portion of updates and fresh packages in Guix astro* collection.

The highlight of the months:
- Hierarchical Equal Area isoLatitude Pixelization (HEALPix) is quite mature
astronomical software developed by NASA and widely used as a
dependency. Current changes bring C, C++ and Python bindings of the library.

Now a boring part.

- added [6/6]
- [X] healpix :: Representation of spherical data
- [X] ibsharp :: Efficient spherical harmonic transforms at arbitrary spins
- [X] python-ci-watson :: Helper functions for STScI software
- [X] python-healpy :: Healpix tools package for Python
- [X] python-webbpsf :: James Webb Space Telescope PSF simulation tool
- [X] webbpsf-data :: JWST pupil shape, instrument throughputs, and aperture positions data files
- updated [14/14]
- [X] calcmysky :: 0.3.2->0.3.3
- [X] cfitsio :: 4.4.1->?.5.0
- [X] python-astropy-iers-data :: 0.2024.8.12.0.32.58->0.2024.9.16.0.32.21
- [X] python-astropy :: 6.1.2->6.1.3
- [X] python-crds :: 11.18.1->11.18.4
- [X] python-drizzle :: 1.15.2->1.15.3
- [X] python-jwst :: 1.15.1->1.16.0
- [X] python-pysiaf :: 0.22.0->0.23.3
- [X] python-regularizepsf :: 0.3.4->0.4.0
- [X] python-sbpy :: 0.4.0->0.5.0
- [X] python-stcal :: 1.8.0->1.9.0
- [X] python-stdatamodels :: 2.0.0->2.1.0
- [X] python-sunpy :: 6.0.1->6.0.2
- [X] siril :: 1.2.3->1.2.4

The next month is still have some backlog of packaging IRAF Community and more
Astropy affiliated project. HEALPix would let bring more depending packages as
well.

If some free time is still happen then some of the would have a packaging touch:

Build stats:

Toggle snippet (35 lines)
> ./pre-inst-env guix build calcmysky cfitsio healpix healpix-cxx libsharp
python-astropy python-astropy-iers-data python-ci-watson python-crds
python-drizzle python-ginga python-healpy python-jwst python-metrics-logger
python-ndcube python-pysiaf python-pytest-cython python-regularizepsf
python-sbpy python-sep-pjw python-stcal python-stdatamodels python-sunpy
python-webbpsf siril webbpsf-data

/gnu/store/gbss6gz7jfi2rhbcf69pz90rcs5m7ii2-webbpsf-data-1.4.0
/gnu/store/x9nii971kwp6if4568p7wc95q16m4jab-siril-1.2.4
/gnu/store/45cnp8s2a3zvwnsmdx4qg6dbsw5pfijy-python-webbpsf-1.4.0
/gnu/store/fa4bql56l62n49y2jvq5hz2rkcy3khlv-python-sunpy-6.0.2
/gnu/store/kp8al7550gmv631sr09r4ggfwh7hpmb6-python-stdatamodels-2.1.0
/gnu/store/rx5rjaakqzr4yjpdpc4yqlcbizdjl4q1-python-stcal-1.9.0
/gnu/store/sjlkn1qxw09q8hgzyz9slgzawr7569ga-python-sep-pjw-1.3.5
/gnu/store/zf6f1p78ilp2z5cpnah7mhbhhh88yhfs-python-sbpy-0.5.0
/gnu/store/znlnyjkh9dcpbw5b22r7fpyp74lp1ah0-python-regularizepsf-0.4.0
/gnu/store/mbhaaylvz2dbswmivh7zh8n0hyg7h7fr-python-pytest-cython-0.3.1
/gnu/store/jqx7f0n4zdxnssraklm075cmg9xzgpyl-python-pysiaf-0.23.3
/gnu/store/qgmbyd3zmrwj84qks6vvi6bf3i7zi656-python-ndcube-2.2.2
/gnu/store/33mfhgrb3pn8lrmxjmg8zyyyyxs0j501-python-metrics-logger-0.1.0
/gnu/store/2ymdcvw0vjpdn4lhsx0pims90a2zllbz-python-jwst-1.16.0
/gnu/store/c8vsgzknx7iq1nc9l12a6nmcjfqg9wkd-python-healpy-1.16.6
/gnu/store/cvnshmvzwil128ql7qj2lrb6w37frjrc-python-ginga-5.1.0
/gnu/store/1hmrbnl7b8z2fwq4qm1p54ssjs5mzlxx-python-drizzle-1.15.3
/gnu/store/6wd804db8h8rairk1nddzrhbbl4pxk2b-python-crds-11.18.4
/gnu/store/59jzjlxc9jlsqm0ky9wy6ffk9vx65ydq-python-ci-watson-0.7.0
/gnu/store/isdpm08qhlxf4cjz26x311zcxdas6any-python-astropy-iers-data-0.2024.9.16.0.32.21
/gnu/store/m6smlca25c9kf3l4lvqpl8zl9h4ylhvf-python-astropy-6.1.3
/gnu/store/fbl1wn48xzf9dgbjz4l1h5y7qw9760s7-libsharp-3.8.2
/gnu/store/vdx48xlp04v49xxf9dr4f1h3xzrjafx8-healpix-cxx-3.8.2
/gnu/store/dwn510cy4sq3mhvgdy066mj35msd76bl-healpix-3.8.2
/gnu/store/56lcqzgfm4633bxvj43rcv0mk7fpnwxv-cfitsio-4.5.0
/gnu/store/72qf23h2xs4pfn7g32b0ihlyzvdi14fp-calcmysky-0.3.3

Dependent build stats:
Toggle snippet (65 lines)
./pre-inst-env guix refresh --list-dependent calcmysky cfitsio healpix
healpix-cxx libsharp python-astropy python-astropy-iers-data python-ci-watson
python-crds python-drizzle python-ginga python-healpy python-jwst
python-metrics-logger python-ndcube python-pysiaf python-pytest-cython
python-regularizepsf python-sbpy python-sep-pjw python-stcal
python-stdatamodels python-sunpy python-webbpsf siril webbpsf-data

Building the following 43 packages would ensure 106 dependent packages are
rebuilt: healpix@3.8.2 alfa@2.2 sextractor@2.28.0 swarp@2.41.5 glnemo2@1.21.0
siril@1.2.4 gnuastro@0.22 aoflagger@3.4.0 julia-wcs@0.6.2 indi@2.0.9 imppg@0.6.5
stellarium@24.2 phd2@2.6.13 splash@3.10.3 julia-fitsio@0.17.1 gwenview@24.05.2
labplot@2.10.1 python-cesium@0.12.1 python-naima@0.10.0 python-sncosmo@2.11.1
scamp@2.10.0 python-asdf-zarr@0.0.4 python-asdf-compression@0.0.1-0.57cc7e7
python-statmorph@0.5.7 python-poliastro@0.17.0 ginga-qt5@5.1.0
python-astroplan@0.10.1 python-viresclient@0.12.0 python-pyxsim@4.4.1
python-kanon@0.6.6 python-zodipy@1.0.0 python-aplpy@2.1.0 python-glue-qt@0.3.1
python-astroalign@2.5.1 python-healpy@1.16.6 python-regularizepsf@0.4.0
python-sunkit-image@0.5.1 python-ci-watson@0.7.0 python-jwst-reffiles@1.0.1
python-sbpy@0.5.0 python-glue-astronomy@0.10.0 python-radiospectra@0.6.0
python-webbpsf@1.4.0

/gnu/store/45cnp8s2a3zvwnsmdx4qg6dbsw5pfijy-python-webbpsf-1.4.0
/gnu/store/h86b4ibgijjlhxp4crjihgjh8nz8bjx2-python-radiospectra-0.6.0
/gnu/store/dpr23zhi2a1dz0qr8vn512sy8grk603f-python-glue-astronomy-0.10.0
/gnu/store/zf6f1p78ilp2z5cpnah7mhbhhh88yhfs-python-sbpy-0.5.0
/gnu/store/cnz278lyr5mfw3arkymf515bv6278sm1-python-jwst-reffiles-1.0.1
/gnu/store/59jzjlxc9jlsqm0ky9wy6ffk9vx65ydq-python-ci-watson-0.7.0
/gnu/store/kjd7hpxpb7zz5haf7i7cyzsspvgm1agj-python-sunkit-image-0.5.1
/gnu/store/znlnyjkh9dcpbw5b22r7fpyp74lp1ah0-python-regularizepsf-0.4.0
/gnu/store/c8vsgzknx7iq1nc9l12a6nmcjfqg9wkd-python-healpy-1.16.6
/gnu/store/rdm1xl54fsqv2p46b7hgnj0vzfjn513m-python-astroalign-2.5.1
/gnu/store/w46dpm4yk2p7339lzysp1xx01cczdsgn-python-glue-qt-0.3.1
/gnu/store/vqr69z6grsrhs1blk8vrq49cvfm05vw4-python-aplpy-2.1.0
/gnu/store/8a9gzfn49pav0613ldx23gl800rl6vcq-python-zodipy-1.0.0
/gnu/store/59rcfdm9snk1mxvv6lmbr0c07zgvv4d8-python-kanon-0.6.6
/gnu/store/8224ccs2z8iiiv1lbn05acrasgx5wj56-python-pyxsim-4.4.1
/gnu/store/c67nc4wrqdyqjcryhvym5jx13dyxy7k2-python-viresclient-0.12.0
/gnu/store/f70wh8wf961fil7p209wsqkadqagx4a4-python-astroplan-0.10.1
/gnu/store/xldkkmwscwfhib9vv1nxbx79a1i6vd9q-ginga-qt5-5.1.0
/gnu/store/f3a5fzy0kaaa1mxifcx31lsdk5g231zl-python-poliastro-0.17.0
/gnu/store/sgzba6xz8jjhpn5g89gn1sj99q2jnxn9-python-statmorph-0.5.7
/gnu/store/mk2v5v654a9bscaca8fy6jsda8i8x90m-python-asdf-compression-0.0.1-0.57cc7e7
/gnu/store/vm8xv5gr06w3xd8d43gdwr3v1kdn0pw6-python-asdf-zarr-0.0.4
/gnu/store/1fczrbqa53ypvvqf9l57qfjxa31g0fyz-scamp-2.10.0
/gnu/store/cwxwzz15az9v4pjailjz3fj7fcnagsap-python-sncosmo-2.11.1
/gnu/store/mq5j7vis8b3ig93yigvqfka48q4zsg8a-python-naima-0.10.0
/gnu/store/2wcl3ws1wi9551q6q6683hgfz8v7mzp6-python-cesium-0.12.1
/gnu/store/b77rrcqsw9zwjbdz9rz0bx0szqdp8rxg-labplot-2.10.1
/gnu/store/3hp98lqw2z47xsqy4pp91zqxjybs8smq-gwenview-24.05.2
/gnu/store/s6rl09l8d1ishgc04fbhsqz70bwsd0ap-julia-fitsio-0.17.1
/gnu/store/rsxb3q1jg3w612yy4fs0g2wqkvkarjg4-splash-3.10.3
/gnu/store/pbclxd7gls0w2npx2226h5i1xmrid85w-phd2-2.6.13
/gnu/store/1fbh06ciyihix24y4jwcfjkh7pdji4j4-stellarium-24.2
/gnu/store/v7i0wz4q2nl88pa74d5qxaqanxfbaz7d-imppg-0.6.5
/gnu/store/mzn2gnkavyd97510i68ki6g60hp4i4kr-indi-2.0.9
/gnu/store/kpxs9738ps0rywbvdy2jppray0xg9hpq-julia-wcs-0.6.2
/gnu/store/qxyalchm13addw10w2rcx2zmq79gnsm7-aoflagger-3.4.0
/gnu/store/x9nii971kwp6if4568p7wc95q16m4jab-siril-1.2.4
/gnu/store/k9sr8rczlbzw147bch7ypzbw9rcnn21x-glnemo2-1.21.0
/gnu/store/18a6iyfqvzlcwyxkn8l7p16mvb1rigzc-swarp-2.41.5
/gnu/store/fl51hfyiiqajq6qb4qbdlxg7xyrpj9mi-sextractor-2.28.0
/gnu/store/xafngsbddpdrfs2wil0diibk7i4r31xs-alfa-2.2
/gnu/store/dwn510cy4sq3mhvgdy066mj35msd76bl-healpix-3.8.2

- failing, no dependents other than itself: gnuastro@0.22

Sharlatan Hellseher (26):
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 python-metrics-logger.
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 | 23 ++
gnu/packages/python-xyz.scm | 23 ++
3 files changed, 440 insertions(+), 60 deletions(-)


base-commit: 2c54c2db410ebdda8cd71716315e4ea4d31befbd
--
2.46.0
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 01/26] gnu: calcmysky: Update to 0.3.3.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
26fb6b49e3fc7e05807769709d7d9ed72c00a2e2.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (24 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 02/26] gnu: cfitsio: Update to 4.5.0.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
1921a01569e5f2841e4f38ea48e32ac02497bca0.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (43 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 03/26] gnu: siril: Update to 1.2.4.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
64a4bf0b7d1928786320198eb946a5b6ff2f0c0a.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (24 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 04/26] gnu: python-astropy-iers-data: Update to 0.2024.9.16.0.32.21.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
302f3171df87c5b5d78e2b2e6bfc9493cdc06791.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 05/26] gnu: python-astropy: Update to 6.1.3.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
d19e6de014fd25032794c079ffda2cf7518581b7.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (40 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 06/26] gnu: python-ndcube: Disable failing tests.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
9703bf68d7896eca698157701c1b63b3957ad611.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (26 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 07/26] gnu: python-ginga: Fix tests.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
85a453e227973784bab907036db87969f1bb6596.1726874446.git.sharlatanus@gmail.com
* 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(+)

Toggle diff (15 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 08/26] gnu: python-crds: Update to 11.18.4.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
10fc40c262bcd433f9b9670e1d37602d279b0aa4.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 09/26] gnu: python-drizzle: Update to 1.15.3.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
c3ba8077772167f4f53dfd96af869d0bb4fce9a1.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (24 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 10/26] gnu: python-jwst: Update to 1.16.0.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
1e13a69e0799ff799b362775e6bb763c115605dc.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 11/26] gnu: python-pysiaf: Update to 0.23.3.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
b5174cf1232f6921ffa3e1cecf6b96f0817bd47c.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (44 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 12/26] gnu: Add python-sep-pjw.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
c256c706d227bd05d0a8d5ba017cfae3942ac0ac.1726874446.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-sep-pjw): New variable.

Change-Id: Ib0ae64a938de53ead32277606f9fc150fae76bd5
---
gnu/packages/astronomy.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 13/26] gnu: python-regularizepsf: Update to 0.4.0.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
332bb929a358fcf078842db33fdcb48d0d3b67d8.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (33 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 14/26] gnu: python-sbpy: Update to 0.5.0.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
1ebdedc1f33fca3419e06e84d9e33fbeb67e17cc.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (41 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 15/26] gnu: python-stcal: Update to 1.9.0.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
d2ab052ff9ee950c523e58f2537b7839f6fb1735.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 16/26] gnu: python-stdatamodels: Update to 2.1.0.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
4d6018964c8883918ad96a25b0c766cf7fa696f5.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (28 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 17/26] gnu: python-sunpy: Update to 6.0.2.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
2b2dac9ca69e0dfce849421522b5430ce866d0b3.1726874446.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (39 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 19/26] gnu: Add libsharp.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
321ebe01f84383f68c8d13525a95176d76910105.1726874446.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (libsharp): New variable.

Change-Id: I614939ab916357c0ac69de21e954bcc8ef95707d
---
gnu/packages/astronomy.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)

Toggle diff (47 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 20/26] gnu: Add healpix-cxx.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
2a44a7fa7364ff60260670fac2ec5993f7b15f93.1726874446.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (healpix-cxx): New variable.

Change-Id: I1d70cd44efa86f89e3fc8f4f60d0b259ecd78acf
---
gnu/packages/astronomy.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 21/26] gnu: Add python-metrics-logger.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
ee491bd5a2d33cb0630becb6c52aa470dd6f2eb8.1726874446.git.sharlatanus@gmail.com
* gnu/packages/python-xyz.scm (python-metrics-logger): New variable.

Change-Id: I864d4f3a71f31214f6fba5d3ef42e681bf0a6585
---
gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 22/26] gnu: Add webbpsf-data.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
17338cb9b02f9dbf0f48a0b3acfc5d20a7baaad9.1726874446.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (webbpsf-data): New variable.

Change-Id: I8b9836053f81187e2367a943ac981906880856b9
---
gnu/packages/astronomy.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 18/26] gnu: Add healpix.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
e18eab86947e198ed4e9927376b6369a8b817ec0.1726874446.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (healpix): New variable.

Change-Id: I41dcee1ba9df1988dd9c4ee40b07daab5418e001
---
gnu/packages/astronomy.scm | 62 ++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)

Toggle diff (82 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 23/26] gnu: Add python-webbpsf.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
b2b1b6a8bfc0695b97e9544dbdc0ee6186b7e11c.1726874446.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-webbpsf): New variable.

Change-Id: Ia439e0a3ebee219ae5d680b30cecde717611e579
---
gnu/packages/astronomy.scm | 61 ++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)

Toggle diff (74 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 24/26] gnu: Add python-ci-watson.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
f9193d0d047b93e0af037255d348103f14635fd5.1726874446.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-ci-watson): New variable.

Change-Id: I0590bdd7c3847d9b5cc80de94e40149c475bd46a
---
gnu/packages/astronomy.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 25/26] gnu: Add python-pytest-cython.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
8b96432d5999af7bce1c71eab88b104fd4d4abe9.1726874446.git.sharlatanus@gmail.com
* gnu/packages/python-check.scm (python-pytest-cython): New variable.

Change-Id: I4f223bb0a88db3fd91bb312dfe4558a075ff8bb2
---
gnu/packages/python-check.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 01:31 +0200
[PATCH 26/26] gnu: Add python-healpy.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
c2d204a1ed98b4949a02a1e87ac5bda216e37069.1726874446.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-healpy): New variable.

Change-Id: I471145f504d4e8d7a2611a6a1fd3c4f0d0472033
---
gnu/packages/astronomy.scm | 59 ++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)

Toggle diff (72 lines)
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
J
Re: [bug#73399] [PATCH 25/26] gnu: Add python-pytest-cython.
d16376c868bced766fa53038e98057b5a11dc2dd@dismail.de
Toggle quote (3 lines)
> + (synopsis "Cython extension modules testing plagin")
>

Hi, Small typo here. plagin -> plugin

all best,

jgart
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 00/25] Astronomy update 2024/09
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
cover.1726926633.git.sharlatanus@gmail.com
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,
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 01/25] gnu: calcmysky: Update to 0.3.3.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
76a97e9b934005e152290e72e5f2a2baeedd689a.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (24 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 02/25] gnu: cfitsio: Update to 4.5.0.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
b1926e1db0415784f586ca1e80a02de9e97f27f8.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (43 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 03/25] gnu: siril: Update to 1.2.4.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
6453141318243be17ea9f7a70489cb97be1fe052.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (24 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 04/25] gnu: python-astropy-iers-data: Update to 0.2024.9.16.0.32.21.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
8705c1d34261231c8090eb6571fa623697ca2191.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 05/25] gnu: python-astropy: Update to 6.1.3.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
d15bc2d59386a0f4f81e8cd13aa4386a21c56f38.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (40 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 07/25] gnu: python-ginga: Fix tests.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
d1697c5a598082d46762fa85bcfbc2dce224a14a.1726926634.git.sharlatanus@gmail.com
* 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(+)

Toggle diff (15 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 06/25] gnu: python-ndcube: Disable failing tests.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
74f0ef93a4fe37165c691bc20a90d83cf3b8e5db.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (26 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 08/25] gnu: python-crds: Update to 11.18.4.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
bc47c664f3421d1bea63ffbd100942c803eb6d66.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 09/25] gnu: python-drizzle: Update to 1.15.3.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
ade5c980086a406b24ae5ef1460bf91f5b62a0fa.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (24 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 10/25] gnu: python-jwst: Update to 1.16.0.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
cdd846d898afcc3720bef978dc7f1b5a4e2d0889.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 11/25] gnu: python-pysiaf: Update to 0.23.3.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
91cf9b2caf68a8ad49e10977d41d3a385c0b21be.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (44 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 12/25] gnu: Add python-sep-pjw.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
9376df69a45780ae913e175c1647a8152c75018c.1726926634.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-sep-pjw): New variable.

Change-Id: Ib0ae64a938de53ead32277606f9fc150fae76bd5
---
gnu/packages/astronomy.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 13/25] gnu: python-regularizepsf: Update to 0.4.0.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
489e3a33064e798d6670970069a634cbf43c1b13.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (33 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 14/25] gnu: python-sbpy: Update to 0.5.0.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
cec1b33304fd83aa222e5f0f5d9d11fc319793bf.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (41 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 15/25] gnu: python-stcal: Update to 1.9.0.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
26736f5363b83f3fb12c4bb167886dba68233202.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 16/25] gnu: python-stdatamodels: Update to 2.1.0.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
d95ca2ab5d08dba19e5c45f002a49141cf69787c.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (28 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 17/25] gnu: python-sunpy: Update to 6.0.2.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
3bee9de7af568c4abe420df879415ec3255774b0.1726926634.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (39 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 18/25] gnu: Add healpix.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
a8cc440a2cc80ccccd3ad5534d5d0f0b44c12a68.1726926634.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (healpix): New variable.

Change-Id: I41dcee1ba9df1988dd9c4ee40b07daab5418e001
---
gnu/packages/astronomy.scm | 62 ++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)

Toggle diff (82 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 19/25] gnu: Add libsharp.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
e2ef99aa019a82212346a87e6e88f64133cd6b34.1726926634.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (libsharp): New variable.

Change-Id: I614939ab916357c0ac69de21e954bcc8ef95707d
---
gnu/packages/astronomy.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)

Toggle diff (47 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 21/25] gnu: Add webbpsf-data.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
24b4ecee5500a38b69fa2c1f9b83835a6b089531.1726926634.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (webbpsf-data): New variable.

Change-Id: I8b9836053f81187e2367a943ac981906880856b9
---
gnu/packages/astronomy.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 23/25] gnu: Add python-ci-watson.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
b857ba466d78f7fb9af3a3fc1454a46b6d9a2659.1726926634.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-ci-watson): New variable.

Change-Id: I0590bdd7c3847d9b5cc80de94e40149c475bd46a
---
gnu/packages/astronomy.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 24/25] gnu: Add python-pytest-cython.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
21c0c4e29521ee94bbb44f16c7f55c1b76088135.1726926634.git.sharlatanus@gmail.com
* gnu/packages/python-check.scm (python-pytest-cython): New variable.

Change-Id: I4f223bb0a88db3fd91bb312dfe4558a075ff8bb2
---
gnu/packages/python-check.scm | 38 +++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)

Toggle diff (51 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 22/25] gnu: Add python-webbpsf.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
ae2771ca002ae747ffc550a3d3d8399773d35844.1726926634.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-webbpsf): New variable.

Change-Id: Ia439e0a3ebee219ae5d680b30cecde717611e579
---
gnu/packages/astronomy.scm | 61 ++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)

Toggle diff (74 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 25/25] gnu: Add python-healpy.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
5ccc6fb0b08a1de9835a945f96044f55297d4a90.1726926634.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-healpy): New variable.

Change-Id: I471145f504d4e8d7a2611a6a1fd3c4f0d0472033
---
gnu/packages/astronomy.scm | 59 ++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)

Toggle diff (72 lines)
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
S
S
Sharlatan Hellseher wrote on 21 Sep 15:55 +0200
[PATCH v2 20/25] gnu: Add healpix-cxx.
(address . 73399@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
62c843136bd2dfcd7e06f93977851440f94f0830.1726926634.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (healpix-cxx): New variable.

Change-Id: I1d70cd44efa86f89e3fc8f4f60d0b259ecd78acf
---
gnu/packages/astronomy.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
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
S
S
Sharlatan Hellseher wrote on 30 Sep 23:44 +0200
[PATCH 00/26] Astronomy update 2024/09
(address . 73399@debbugs.gnu.org)
8734lghl55.fsf@gmail.com
Pushed as db990cfe40..5ca47c7d8d to master

--
Oleg
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmb7G7cACgkQdtcnv/Ys
0rV5VQ//QLdPTJ8jk/R60RzhV4ITarKJOl/sNwD9OJ9Rjja9XMx0YgBrrlyCMWIJ
YuGOewq87jdVsxJY2VawUEgJpVTLC8w9aIF3TcAsv+IeLqroXAqZswyQFeuBM5bO
2O7QBtFVzAV9A7dx8fDCqvih7BMEzucMp+jLKKZoa9DD15xCy9+M1y4xcti30qTo
TCLBb+VkFRaFO6QcNUEcpvA6+F9x9MzOApQ0CmlPCvNvlAHugL6MKaJ/lcXPmD7A
zKJvelNfw1n8k6sHrv9Gty5AuBljSedcnNCePx8xCRZwg3bxx8e2U+R7iF7bdJi4
6A0pcLycgwlKCuYVFwZdpeUcN/8FYD5q2GN3ZkWTqbCpUTwD31LaZrkAIOqIG++R
ImwlbYt18l2uIwaCOm1Ucbm6CFquMfJ5qxa2LptKQkvs9WJejbGt+2/nu15tXnTg
XiA1eeRe+E2bkanh3cyFMQtdeGbtwgyfP/rc+apvP2KzT5K7Q3hveMev4MIC7qW2
FcJd+iJX88MT93q79XQoV6utTA5AUeYo3yTclopDl7OUJ0XorAVVgdBglaSupXL2
Zhw06rbpMXUXyaHSYHhvqFpu+4s4O63kduKCHGyldRi+2UK8yUcqN3l8EH0zRe2l
A5m97bfA2cWjsI0mw65ssoCq07MELtHm1wyzPXuMvGzoBifunS4=
=JOCg
-----END PGP SIGNATURE-----

S
S
Sharlatan Hellseher wrote on 2 Oct 01:32 +0200
(address . 73399-done@debbugs.gnu.org)
CAO+9K5oBf9Kp5K_6i7vVHiocWsGfMb-6UEkt_SjQsMW+r+T=wA@mail.gmail.com
Closing as resoleved
Attachment: file
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 73399@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73399
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch