[PATCH 00/46] gnu: Astronomy 2024/02 updates.

  • Done
  • quality assurance status badge
Details
One participant
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
Sharlatan Hellseher
Severity
normal
S
S
Sharlatan Hellseher wrote on 21 Feb 00:41 +0100
(address . guix-patches@gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
cover.1708471786.git.sharlatanus@gmail.com
Hi Guix!

Happy to push for review updates for astro related packages.

This month includes 23 package updates, 19 modifications and improvements and
4 new packages.

Some highlights which worth to mention are:

- python-astropy is updated to v6.0.0. It is a major release including a lot
of new features and bug fixes
it were successfully rebuilt!

- python-ginga a toolkit for building viewers for astronomical and scientific
images stored in python-numpy data arrays.

- Some long running tests were parallelized by using python-pytest-xdist, it
helped to accelerate package build by 3-4x times.
- python-photutils
- python-poppy
- python-regions
- python-sunpy
- python-spectral-cube
- python-asdf
- python-asdf-coordinates-schemas
- python-asdf-astropy
- python-roman-datamodels

- python-asdf default version is 3.0.1 and 2.15.0 is deprecated.

In the next update cycle I'll continue to improve test performance speed,
resolve some issues with package updates where migration to pyproject.toml
introduce problems with build extension while using pyproject-build-system

SAOImageDS9 is some widely used software in astro teams which I'd like to add
to Guix it's quite ancient project and build with C and Tcl which would
challenge packaging process.


python-poliastro has reached the end of life and no more maintained, there is
a successor fork python-hapsira which will be introduced to Guix.

Build all mentioned packages and make sure they are still build on x86_64-linux

Toggle snippet (45 lines)
./pre-inst-env guix build calceph giza indi libpasastro parfive phd2
python-aioftp python-aplpy python-asdf python-asdf-astropy python-astroml
python-astropy python-astropy-iers-data python-cdflib python-crds python-drizzle
python-extinction python-ginga python-h5netcdf python-jwst python-photutils
python-poliastro python-poppy python-pysynphot python-rad python-radiospectra
python-regions python-roman-datamodels python-skyfield python-spectral-cube
python-stcal python-stdatamodels python-sunpy python-sunpy-soar siril

/gnu/store/fjf3dqjhb4wmxd6r0q4gqkrnv684m3mj-siril-1.2.1
/gnu/store/x3axsdr4wkwd9xd3d5ig6a0qmn4kmwdw-python-sunpy-soar-1.10
/gnu/store/451nrm9cr5qkflqkbjl79awdrpjg32gp-python-sunpy-5.1.1
/gnu/store/lcd285wzapl235mc97dd7wcqgpr8i077-python-stdatamodels-1.9.1
/gnu/store/wgs6n69qm7a3gmvrhccdyx2xa2ffbnfr-python-stcal-1.6.0
/gnu/store/g78l9l1hf4dlzsblj016l8hwxp61j5rx-python-spectral-cube-0.6.5
/gnu/store/5mvp0vjl99j5hd99gg60szicsb9jz0vj-python-skyfield-1.48
/gnu/store/58djk7ran3g4g7dwi93mr2f14dv96gna-python-roman-datamodels-0.19.0
/gnu/store/2bwhbkyzmd3g9iiigms0wpyidjg4dgd2-python-regions-0.8
/gnu/store/16wmizjiq5yacxsywf3bbiahdapbxk8w-python-radiospectra-0.4.0
/gnu/store/f597a8109dp9000y39nv53am8hgw4kq5-python-rad-0.19.0
/gnu/store/mc003b6rb83gvp4492bvv6rsljjnikyc-python-pysynphot-2.0.0-0.54e9e2a
/gnu/store/5x6prm5lzddb8a2wchmqrpm5pdl545k2-python-poppy-1.1.1
/gnu/store/2cc4cms1cybfizg0dm3knbqhkp5dxwq2-python-poliastro-0.17.0
/gnu/store/z0arhnfayyanb5hxy1prhsb1hyyward9-python-photutils-1.10.0
/gnu/store/ijmii1ij00bnrxppsxfy7dxzzhk82mxv-python-jwst-1.13.4
/gnu/store/0vkkxadvinrydaszacl1mk6ijcnir7dk-python-h5netcdf-1.3.0
/gnu/store/c9qchf1mh2c4cp7rdmbbjr1vpx65wkca-python-ginga-4.1.1
/gnu/store/mlpkic2nvy5njds63xbl2ahglisiv0jl-python-extinction-0.4.6
/gnu/store/slkw9f8w0mybkj4jjpn4wsczjcvv7idq-python-drizzle-1.15.0
/gnu/store/67vzhl4sngcq7rly6p2mplsqv4p0bhcq-python-crds-11.17.16
/gnu/store/n04x5v7112iarrdwyqpajsqis83gs95y-python-cdflib-1.2.4
/gnu/store/nmw5142gz24j3rp0lczlcqnl1azp9r8f-python-astropy-iers-data-0.2024.2.19.0.28.47
/gnu/store/h3k6cpx71k2q1gcqj0m7rc6pj6gg1572-python-astropy-6.0.0
/gnu/store/qkl0y5k3n0yp8lbwbfdmihhn2y344qzq-python-astroml-1.0.2.post1
/gnu/store/nnnr86hkil3jg2ca9f8fw4mspsvpmyav-python-asdf-astropy-0.5.0
/gnu/store/a1ka2lmvvkis4mydx2346hjgys4p50s6-python-asdf-3.0.1
/gnu/store/k1fy3gbd5076f85g953a0cs1pmxgz19h-python-aplpy-2.1.0
/gnu/store/80wdj6fw99zh0kb7qxlnynbnrxxlh2q0-python-aioftp-0.22.3
/gnu/store/mixk4wy9dns65kfnyjfng9p7667fqy6h-phd2-2.6.13
/gnu/store/8mnrbspahjn5z11s41m31yxp1xp5f1j3-parfive-2.0.2
/gnu/store/g1vkwl86rlk36kkghs9vgjygcxbjhz67-libpasastro-1.4.2
/gnu/store/dc1xmgimzikl4xkll367hq1s8anp595n-indi-2.0.6
/gnu/store/kpzh5rfjqa83blnhdsqvw0adv51rn4cg-giza-1.4.1
/gnu/store/ikrhxfq4vg7yv2bhqk3vslrvbqlfr13w-calceph-3.5.5

Toggle snippet (18 lines)
Building the following 10 packages would ensure 59 dependent packages are
rebuilt: splash@3.10.1 python-pymc@5.10.3 python-cesium@0.12.1
python-astroalign@2.5.1 python-ginga@4.1.1 ginga-qt5@4.1.1
python-poliastro@0.17.0 python-aplpy@2.1.0 python-jwst@1.13.4
python-radiospectra@0.4.0

/gnu/store/16wmizjiq5yacxsywf3bbiahdapbxk8w-python-radiospectra-0.4.0
/gnu/store/ijmii1ij00bnrxppsxfy7dxzzhk82mxv-python-jwst-1.13.4
/gnu/store/k1fy3gbd5076f85g953a0cs1pmxgz19h-python-aplpy-2.1.0
/gnu/store/2cc4cms1cybfizg0dm3knbqhkp5dxwq2-python-poliastro-0.17.0
/gnu/store/sw5fwas30fxjmxwbivaq6dkcc8hzignl-ginga-qt5-4.1.1
/gnu/store/c9qchf1mh2c4cp7rdmbbjr1vpx65wkca-python-ginga-4.1.1
/gnu/store/h86xm94x99yynmmffrf1h0kv8gqv15kz-python-astroalign-2.5.1
/gnu/store/71rnx30l7vpdn4vjmwydl3xgzn7sbdgi-python-cesium-0.12.1
/gnu/store/pii8sjxd5p8a2dscs3g5gdacjipra1jj-python-pymc-5.10.3
/gnu/store/6b0c2ji2hs8c28wh8lcigsysvcncs9p3-splash-3.10.1

Sharlatan Hellseher (46):
gnu: calceph: Update to 3.5.5.
gnu: giza: Update to 1.4.1.
gnu: indi-2.0: Update to 2.0.6.
gnu: phd2: Update to 2.6.13.
gnu: parfive: Update to 2.0.2.
gnu: parfive: Simplify package.
gnu: siril: Update to 1.2.1.
gnu: python-aioftp: Update to 0.22.3.
gnu: Add python-astropy-iers-data.
gnu: python-astropy: Update to 6.0.0.
gnu: python-astropy: Improve packages style.
gnu: python-asdf-2.15: Deprecate package.
gnu: python-asdf-fits-schemas: Update to 0.0.1-1.d1b5e7a.
gnu: python-asdf-time-schemas: Update to 0.0.1-3.a306206.
gnu: python-asdf-transform-schemas: Update to 0.4.0.
gnu: python-asdf-wcs-schemas: Update to 0.3.0.
gnu: python-crds: Update to 11.17.16.
gnu: python-h5netcdf: Update to 1.3.0.
gnu: python-jwst: Update to 1.13.4.
gnu: python-pysynphot: Update to 2.0.0-0.54e9e2a.
gnu: python-pysynphot: Improve package style.
gnu: python-roman-datamodels: Update to 0.19.0.
gnu: python-rad: Update to 0.19.0.
gnu: python-rad: Enable tests.
gnu: python-skyfield: Update to 1.48.
gnu: python-stdatamodels: Update to 1.9.1.
gnu: libpasastro: Remove system constrains.
gnu: python-aplpy: Disable tests.
gnu: python-asdf: Speed up tests.
gnu: python-asdf-astropy: Speed up tests.
gnu: python-asdf-coordinates-schemas: Speed up tests.
gnu: python-photutils: Speed up tests
gnu: python-poppy: Speed up tests.
gnu: python-regions: Speed up tests.
gnu: python-roman-datamodels: Speed up tests.
gnu: python-spectral-cube: Speed up tests.
gnu: python-sunpy: Speed up tests and relax requirements.
gnu: python-astroml: Ignore some failing tests.
gnu: python-poliastro: Relax requirements.
gnu: Add python-extinction.
gnu: Add python-sunpy-soar.
gnu: Add python-radiospectra.
gnu: Add python-ginga.
gnu: python-drizzle: Update to 1.15.0.
gnu: python-stcal: Update to 1.6.0.
gnu: python-cdflib: Update to 1.2.4.

gnu/packages/astronomy.scm | 609 ++++++++++++++++++++++++++----------
gnu/packages/maths.scm | 4 +-
gnu/packages/python-web.scm | 35 +--
gnu/packages/python-xyz.scm | 4 +-
4 files changed, 463 insertions(+), 189 deletions(-)


base-commit: e3c612a7de679c96b9eafdb0da500dcc18d9a101
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 02/46] gnu: giza: Update to 1.4.1.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
4a243afcba401e7f548ecaa136d453ea9ba46bde.1708471786.git.sharlatanus@gmail.com
* gnu/packages/maths.scm (giza): Update to 1.4.1.

Change-Id: I7e6087e22cc6dea4a680fa45db155e42a724b50d
---
gnu/packages/maths.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index d557154f91..75f5092d3f 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1285,7 +1285,7 @@ (define-public feedgnuplot
(define-public giza
(package
(name "giza")
- (version "1.3.2")
+ (version "1.4.1")
(source
(origin
(method git-fetch)
@@ -1293,7 +1293,7 @@ (define-public giza
(url "https://github.com/danieljprice/giza")
(commit (string-append "v" version))))
(sha256
- (base32 "1clklh3nzgwrwg80h3k5x65gdymbvcc84c44nql7m4bv9b8rqfsq"))
+ (base32 "17h8hkhcqlvgryyp5n206fbqpals2vbnjy4f6f1zwj9jiblgi5mj"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(native-inputs
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:42 +0100
[PATCH 01/46] gnu: calceph: Update to 3.5.5.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
1ab472ac4647c9e3c140b33dd3f2125292ae5b03.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (calceph): Update to 3.5.5.

Change-Id: Ie8963af1d30ad153be17e342c9f698a078279308
---
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 b7b057e026..3ae1f3e5ce 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -188,7 +188,7 @@ (define-public aocommon
(define-public calceph
(package
(name "calceph")
- (version "3.5.4")
+ (version "3.5.5")
(source
(origin
(method url-fetch)
@@ -196,7 +196,7 @@ (define-public calceph
"https://www.imcce.fr/content/medias/recherche/equipes/asd/calceph/calceph-"
version ".tar.gz"))
(sha256
- (base32 "1d95k62926p6h43qh9pxbpa5wm8rby5la9pqq3k6sdyg4gl39a69"))))
+ (base32 "1jiaqyir2qcxzjlhk7f9fhrf6snjsiwxznvzdl996xr6m4lzbb7p"))))
(build-system gnu-build-system)
(native-inputs
(list gfortran))
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 03/46] gnu: indi-2.0: Update to 2.0.6.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
c7c37ca8b1f8aa022987bbaaef2fa5370e318605.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (indi-2.0): Update to 2.0.6.

Change-Id: Id8e9243639beadc3a9bd854af92797643b5d62d8
---
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 3ae1f3e5ce..8fce98c764 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3467,7 +3467,7 @@ (define-public imppg
(define-public indi-2.0
(package
(name "indi")
- (version "2.0.5")
+ (version "2.0.6")
(source
(origin
(method git-fetch)
@@ -3476,7 +3476,7 @@ (define-public indi-2.0
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1lmp5p1rsckb8j44g34wxpyjzzy2ff78llxyc84pv5xs9pay6p4z"))))
+ (base32 "0j1yr8wz6q6xi4dskv3yyhm0valsyfhcw1n8xpfgzbzbdzc8biyw"))))
(build-system cmake-build-system)
(arguments
;; TODO: fix failing tests on aarch64-system.
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 04/46] gnu: phd2: Update to 2.6.13.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
4613101be303e4be115efeede54a77d9d7e58ae7.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (phd2): Update to 2.6.13.

Change-Id: Iac8d1e00be3ea9137b10f2608c149fcbde539c7b
---
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 8fce98c764..52ae2410e7 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -982,7 +982,7 @@ (define-public gnuastro
(define-public phd2
(package
(name "phd2")
- (version "2.6.12")
+ (version "2.6.13")
(source
(origin
(method git-fetch)
@@ -991,7 +991,7 @@ (define-public phd2
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "16695vyczl861fz5qinp23wqn6hzv5h1aspz9x21x67w0a3smbmy"))
+ (base32 "0shr50ngi7dliijy8fxrd1c4hzkm4vp4m0a4m0d9gvrx56vzyx0s"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 05/46] gnu: parfive: Update to 2.0.2.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
49dfad6a21d69fc99df0539df238dc7518c41525.1708471786.git.sharlatanus@gmail.com
* gnu/packages/python-web.scm (parfive): Update to 2.0.2.

Change-Id: I3890cbae4d706c5f3391809fc6b4ce36140f059d
---
gnu/packages/python-web.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (22 lines)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5a6f401f89..adae8d7272 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1319,13 +1319,13 @@ (define-public httpie
(define-public parfive
(package
(name "parfive")
- (version "2.0.1")
+ (version "2.0.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "parfive" version))
(sha256
(base32
- "19dcbb6g56l5s3ih0bhs3p4acgc0gf4zdzpj4w87m69li2nhmgpx"))))
+ "0pf8rzfwxpkn84xzb4v8m1fy3k7kjlh8f9ln4y5xqlnbqpwi30lh"))))
(build-system python-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 07/46] gnu: siril: Update to 1.2.1.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
d0463af4fdb3c7849b3bbf744699cc2db02de730.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (siril): Update to 1.2.1.

Change-Id: I52492a51ad5205914b9bfa930db22809b968e5a7
---
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 52ae2410e7..5919393869 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1094,7 +1094,7 @@ (define-public sextractor
(define-public siril
(package
(name "siril")
- (version "1.2.0")
+ (version "1.2.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1102,7 +1102,7 @@ (define-public siril
(commit version)))
(sha256
(base32
- "0ss1m9w4cz1752vp5738057nzmqc6k7fc9pi6kr9cwgspi1haall"))
+ "1lc6ga1n18br43rlj8qmg23chfniyvjz3vx73km6sv171z4c2fwy"))
(file-name (git-file-name name version))))
(build-system meson-build-system)
(native-inputs (list cmake git glib libconfig pkg-config))
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 06/46] gnu: parfive: Simplify package.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
27805160caed540718c69eb55267906202a6be69.1708471786.git.sharlatanus@gmail.com
* gnu/packages/python-web.scm (parfive) [build-system]: Swap to
pyproject-build-system.
[arguments] <#:phases>: Use standard 'check phase. <#:test-flags>: Move
disabled tests here and remove 'disable-test-requiring-network phase.

Change-Id: I08b67b2aa7027ac37e0a3df4da7ebb01ea3c451e
---
gnu/packages/python-web.scm | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)

Toggle diff (33 lines)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index adae8d7272..de57d5be94 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1326,18 +1326,15 @@ (define-public parfive
(sha256
(base32
"0pf8rzfwxpkn84xzb4v8m1fy3k7kjlh8f9ln4y5xqlnbqpwi30lh"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- (list #:phases #~(modify-phases %standard-phases
- (add-before 'check 'disable-test-requiring-network
- (lambda _
- (substitute* "parfive/tests/test_downloader.py"
- (("def test_ftp")
- "def __off_test_ftp"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "-m" "pytest" "-vvv" "parfive")))))))
+ (list
+ ;; Disable tests requiring network access.
+ #:test-flags
+ #~(list "-k" (string-append
+ "not test_ftp"
+ " and not test_ftp_pasv_command"
+ " and not test_ftp_http"))))
(propagated-inputs (list python-aiofiles python-aioftp python-aiohttp
python-tqdm))
(native-inputs (list python-pytest
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 08/46] gnu: python-aioftp: Update to 0.22.3.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
73e728c169b6daa2e06f5e8a1ca4c243d9069a45.1708471786.git.sharlatanus@gmail.com
* gnu/packages/python-web.scm (python-aioftp): Update to 0.22.3.
[build-system]: Swap to pyproject-build-system, there is no setup.py in
new release.
[arguments] <#:phases>: Use standard 'check phase.

Change-Id: I8e6a145da86e5ed56eb184d98d54bc8093a3bd1f
---
gnu/packages/python-web.scm | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index de57d5be94..cde4ac4f58 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3546,20 +3546,14 @@ (define-public python-requests-ftp
(define-public python-aioftp
(package
(name "python-aioftp")
- (version "0.21.4")
+ (version "0.22.3")
(source (origin
(method url-fetch)
(uri (pypi-uri "aioftp" version))
(sha256
(base32
- "1f8vql2j2b3ykqyh5bxzsp8x5f2if2c1ya232ld3hz3cc7a2dfr8"))))
- (build-system python-build-system)
- (arguments
- (list #:phases #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vvv")))))))
+ "0w621mg956m9rn7v39jpwi4gpnpl90pprwl29cp640dahqqv38ms"))))
+ (build-system pyproject-build-system)
(native-inputs (list python-async-timeout python-pytest
python-pytest-asyncio python-pytest-cov
python-trustme))
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 09/46] gnu: Add python-astropy-iers-data.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
ba860fbcf8a036c2c7236d5f39c43a7877a8065e.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-astropy-iers-data): New variable.

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

Toggle diff (57 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5919393869..45394a7070 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1616,6 +1616,50 @@ (define-public python-astropy-healpix
(description "This package provides HEALPix to the Astropy project.")
(license license:bsd-3)))
+(define-public python-astropy-iers-data
+ (package
+ (name "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.2.19.0.28.47")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "astropy-iers-data" version))
+ (sha256
+ (base32 "0j42hkl8z42x5n3aacld9cvacjzg79lqsivm3xn6bv1gjgy69br9"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; Dependencies cycle wit python-astropy, see
+ ;; <https://github.com/astropy/astropy-iers-data/issues/21>.
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'set-env-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
+ (native-inputs
+ (list python-hypothesis
+ python-pytest
+ python-pytest-remotedata
+ python-setuptools-scm))
+ (home-page "https://docs.astropy.org/en/latest/utils/iers.html")
+ (synopsis "IERS Earth Rotation and Leap Second tables for the astropy core package")
+ (description
+ "The @code{iers} package provides access to the tables provided by the
+@acronym{International Earth Rotation and Reference Systems, IERS} service, in
+particular the
+@url{https://www.iers.org/IERS/EN/DataProducts/EarthOrientationData/eop.html,
+Earth Orientation data} allowing interpolation of published UT1-UTC and polar
+motion values for given times. The UT1-UTC values are used in
+@url{https://docs.astropy.org/en/latest/time/index.html#astropy-time, Time and
+Dates (astropy.time)} to provide UT1 values, and the polar motions are used in
+@code{astropy.coordinates} to determine Earth orientation for
+celestial-to-terrestrial coordinate transformations.")
+ (license license:bsd-3)))
+
(define-public python-astroquery
(package
(name "python-astroquery")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 10/46] gnu: python-astropy: Update to 6.0.0.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
22285c764730d55ebe16e60aebe5473c3ad803d3.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-astropy): Update to 6.0.0.
[arguments] <#:phases>: (preparations) Adjust to be compatible with the
new code layout. (check) Silent one more failing test.
[propagated-inputs]: Add python-astropy-iers-data.
[native-inputs]: Remove python-cython; add python-cython-3,
python-matplotlib and python-pytest-mpl.

Change-Id: Id48a7cf05c30c1a1f7799fdc162b910316743f7c
---
gnu/packages/astronomy.scm | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)

Toggle diff (82 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 45394a7070..11cdd9e862 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1478,13 +1478,13 @@ (define-public celestia-gtk
(define-public python-astropy
(package
(name "python-astropy")
- (version "5.3.4")
+ (version "6.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "astropy" version))
(sha256
- (base32 "1n7iwvjari4xv37094cpiapmjhhm57b04hi4r40wqb5czbigg46l"))
+ (base32 "1nbpqx7ibm8zsyyy17y5rmfjamwz6mv0sy4drlisap9hald81k83"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -1508,16 +1508,11 @@ (define-public python-astropy
;; Some tests require a writable home.
(setenv "HOME" "/tmp")
;; Relax xfail tests.
- (substitute* "setup.cfg"
+ (substitute* "pyproject.toml"
(("xfail_strict = true") "xfail_strict = false"))
- ;; Replace all references to external ply.
- (let ((ply-files '("coordinates/angle_formats.py"
- "utils/parsing.py")))
- (with-directory-excursion "astropy"
- (map (lambda (file)
- (substitute* file (("astropy.extern.ply")
- "ply")))
- ply-files)))
+ ;; Replace reference to external ply.
+ (substitute* "astropy/utils/parsing.py"
+ (("astropy.extern.ply") "ply"))
;; Replace reference to external configobj.
(with-directory-excursion "astropy/config"
(substitute* "configuration.py"
@@ -1541,22 +1536,26 @@ (define-public python-astropy
" and not test_ignore_sigint"
" and not test_parquet_filter"
;; See https://github.com/astropy/astropy/issues/15537
- " and not test_pvstar"))))))))
+ " and not test_pvstar"
+ ;; E ModuleNotFoundError: No module named 'wofz'
+ " and not test_pickle_functional"))))))))
(native-inputs
(list pkg-config
python-colorlog
python-coverage
- python-cython
+ python-cython-3
python-extension-helpers
python-h5py
python-ipython
python-jplephem
+ python-matplotlib
python-objgraph
python-pandas
python-pyarrow
python-pytest
python-pytest-astropy
python-pytest-astropy-header
+ python-pytest-mpl
python-pytest-xdist
python-scikit-image
python-scipy
@@ -1567,7 +1566,8 @@ (define-public python-astropy
(inputs
(list expat wcslib))
(propagated-inputs
- (list python-configobj
+ (list python-astropy-iers-data
+ python-configobj
python-numpy
python-packaging
python-ply
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 12/46] gnu: python-asdf-2.15: Deprecate package.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
c0d1e00f49d065ad09aa2df889b15ccecfcda1d7.1708471786.git.sharlatanus@gmail.com
Version 2.15.0 is no longer built with the python-astropy v6.0.0,
fail over to the latest version.

* gnu/package/astronomy.scm (python-asdf-2.15): Remove variable.
* gnu/package/astronomy.scm (python-asdf): Fail over to python-asdf-3.0.

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

Toggle diff (59 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 9db5b080cc..cb645ea558 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2973,7 +2973,7 @@ (define-public python-stcal
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
(propagated-inputs
(list opencv ;Provides OpenCV-Python
- python-asdf-3.0
+ python-asdf
python-astropy
python-gwcs
python-numpy
@@ -4057,7 +4057,7 @@ (define-public python-tweakwcs
@code{FITS WCS} and @code{JWST gWCS} are supported.")
(license license:bsd-3)))
-(define-public python-asdf-3.0
+(define-public python-asdf
(package
(name "python-asdf")
(version "3.0.1")
@@ -4095,34 +4095,6 @@ (define-public python-asdf-3.0
implementation of the ASDF Standard.")
(license license:bsd-3)))
-(define-public python-asdf-2.15
- (package
- (inherit python-asdf-3.0)
- (version "2.15.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "asdf" version))
- (sha256
- (base32 "11s56797l5330kkhppkyz0bsvms016knmyswj4gx91zrxf8iqvv8"))))
- (arguments
- (list #:test-flags
- #~(list "-k" (string-append
- "not test_overwrite"
- " and not test_tagging_scalars"
- " and not test_info_command"
- " and not test_array_inline_threshold_recursive"))))
- (native-inputs
- (modify-inputs (package-native-inputs python-asdf-3.0)
- (prepend python-astropy python-pytest-openfiles)))
- (propagated-inputs
- (modify-inputs (package-propagated-inputs python-asdf-3.0)
- (prepend python-jsonschema python-importlib-resources)))))
-
-(define-public python-asdf
- ;; Default version of ASDF..
- python-asdf-2.15)
-
(define-public python-asdf-standard
(package
(name "python-asdf-standard")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 13/46] gnu: python-asdf-fits-schemas: Update to 0.0.1-1.d1b5e7a.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
515d06524c9a2262d3ff4b365eeb3b273231c01e.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-asdf-fits-schemas): Update to
0.0.1-1.d1b5e7a.

Change-Id: I4448544c1111c96ec178a32222b846a66a906149
---
gnu/packages/astronomy.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (26 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index cb645ea558..5a22c7e808 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4184,8 +4184,8 @@ (define python-asdf-coordinates-schemas
(define python-asdf-fits-schemas
;; TODO: No release, change to tag when it's ready.
- (let ((commit "572bb370d777f3a325b25c1af9d76e1b7d27dcea")
- (revision "0"))
+ (let ((commit "d1b5e7a12a49fe61d43855045bab106be34cd252")
+ (revision "1"))
(package
(name "python-asdf-fits-schemas")
(version (git-version "0.0.1" revision commit))
@@ -4198,7 +4198,7 @@ (define python-asdf-fits-schemas
(file-name (git-file-name name version))
(sha256
(base32
- "1yqnzd0gcrdfl0jqm8m8kz5fd36i8lgh7xkglmp1chsi1cc6mkz2"))))
+ "1h2xbk9c9l2959i3sdnwviv3z0hp1f0lba2vz9hpzgcm46qadqp8"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 14/46] gnu: python-asdf-time-schemas: Update to 0.0.1-3.a306206.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
261ab139adfb12830692dbfdfc710963965036ba.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-asdf-time-schemas): Update to
0.0.1-3.a306206.

Change-Id: Id6459275f6c1bf43fa618b986f4fe9f87adc0e9f
---
gnu/packages/astronomy.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (26 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5a22c7e808..9fceddce86 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4219,8 +4219,8 @@ (define python-asdf-fits-schemas
(define python-asdf-time-schemas
;; TODO: No release, change to tag when it's ready.
- (let ((commit "e9174083d9cfd3c6f7ded9eeb360d99ccb8d9d18")
- (revision "2"))
+ (let ((commit "a3062066ee70f1b934f7339d1ce96a5c5f61f055")
+ (revision "3"))
(package
(name "python-asdf-time-schemas")
(version (git-version "0.0.1" revision commit))
@@ -4233,7 +4233,7 @@ (define python-asdf-time-schemas
(file-name (git-file-name name version))
(sha256
(base32
- "1i40hcxp8sds2zq939fwczjlshfqb9r9pnzy3a44c3wqdbwhcbdb"))))
+ "1i8lm2d18r6fadsch52dxc2zp1swkfa8w40s03albn7p290n4a97"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 15/46] gnu: python-asdf-transform-schemas: Update to 0.4.0.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
c48a5e3aad08fe4058040558d36159f575fef129.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-asdf-transform-schemas): Update to 0.4.0.

Change-Id: I44fc1564879ac5bb10c8d4411d745410782fb8ff
---
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 9fceddce86..6630e60321 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4139,13 +4139,13 @@ (define-public python-asdf-standard
(define python-asdf-transform-schemas
(package
(name "python-asdf-transform-schemas")
- (version "0.3.0")
+ (version "0.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asdf_transform_schemas" version))
(sha256
- (base32 "1midgn575970p5cnsh9y6bz77fjr392b5nfxb3z0id6c49xzzwhc"))))
+ (base32 "1jlls8mirwarf8d67gaix39d8zcx1rx8fmr9qdzrbyrmxqzxqzyy"))))
(build-system pyproject-build-system)
(arguments
;; Dependency cycle with python-asdf
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 16/46] gnu: python-asdf-wcs-schemas: Update to 0.3.0.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
c72489d4cdd041a26782a37ad0f6cd37d15f1c5e.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-asdf-wcs-schemas): Update to 0.3.0.
[propagated-inputs]: Remove python-asdf; add python-asdf-standard,
python-asdf-transform-schemas, and python-asdf-unit-schemas.
[native-inputs]: Add python-asdf and python-pytest-openfiles.

Change-Id: Iea9e49d7cd94d579c417d801aaff7a1c508c96b8
---
gnu/packages/astronomy.scm | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)

Toggle diff (38 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 6630e60321..9583524660 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4316,18 +4316,27 @@ (define-public python-asdf-astropy
(define python-asdf-wcs-schemas
(package
(name "python-asdf-wcs-schemas")
- (version "0.1.1")
+ (version "0.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asdf_wcs_schemas" version))
(sha256
- (base32 "0khyab9mnf2lv755as8kwhk3lqqpd3f4291ny3b9yp3ik86fzhz1"))))
+ (base32 "1r9ls2skgwq6my68nfwfah1s0q6bm2qq97s0h79vwh997jy97rai"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags #~(list "tests")))
(native-inputs
- (list python-pytest python-setuptools-scm python-semantic-version))
+ (list python-asdf
+ python-pytest
+ python-pytest-openfiles
+ python-semantic-version
+ python-setuptools-scm))
(propagated-inputs
- (list python-asdf))
+ (list python-asdf-standard
+ python-asdf-transform-schemas
+ python-asdf-unit-schemas))
(home-page "https://github.com/asdf-format/asdf-wcs-schemas")
(synopsis "ASDF WCS Schemas")
(description
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 17/46] gnu: python-crds: Update to 11.17.16.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
9628ac7f52615f50c36988c56884219c4c3d535c.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-crds): Update to 11.17.16.

Change-Id: Ib6f193f94c727c1280eadc15dfcc4c227e6c2a3e
---
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 9583524660..2e809c6749 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1909,13 +1909,13 @@ (define-public python-cdflib
(define-public python-crds
(package
(name "python-crds")
- (version "11.17.14")
+ (version "11.17.16")
(source (origin
(method url-fetch)
(uri (pypi-uri "crds" version))
(sha256
(base32
- "1z9lrwrb07s9kn28nammjx75qb0ky7srd9i40dnkmm9zsaqz5jfm"))))
+ "0j84l7132mvwww2y83h2dgz5qw792ilp3hml4h12n7ydks0w0534"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 18/46] gnu: python-h5netcdf: Update to 1.3.0.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
3c4853b9351dbea5cd3c1266b80a6574b9b4d6ed.1708471786.git.sharlatanus@gmail.com
* gnu/packages/python-xyz.scm (python-h5netcdf): Update to 1.3.0.

Change-Id: I6652b0d7d185b4475fb574b236534bba38a2cf07
---
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (22 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c3dfb9603c..2a773a3bf9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2558,13 +2558,13 @@ (define-public python-hdf4
(define-public python-h5netcdf
(package
(name "python-h5netcdf")
- (version "1.1.0")
+ (version "1.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "h5netcdf" version))
(sha256
- (base32 "0mmzfr6k55zqxxpb64gvdqisak8s1zb2r04yzkmp0wzd7dbknb4k"))))
+ (base32 "1kw3cf01kziwxmb84x0cy6vbpsmqjm0k1dm34i6b4d7bv8kw0wd1"))))
(build-system pyproject-build-system)
(native-inputs
(list python-netcdf4
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 19/46] gnu: python-jwst: Update to 1.13.4.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
1739dd9a8e7d5b613fa2ad05963837876cac8a41.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-jwst): Update to 1.13.4.

Change-Id: Ib076eb063b316be391efbb47b4e9c8b080e78e27
---
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 2e809c6749..bec314f57b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3686,13 +3686,13 @@ (define-public python-jplephem
(define-public python-jwst
(package
(name "python-jwst")
- (version "1.12.5")
+ (version "1.13.4")
(source (origin
(method url-fetch)
(uri (pypi-uri "jwst" version))
(sha256
(base32
- "0blrl00lz1snhcnr7j59nh05rnpqxdnfp8hhgagkr50h85q4smrn"))))
+ "0n5cfjayg15kf5p6pns7k2zfcldqz1464ndbldgzanc33fp9wnfz"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 20/46] gnu: python-pysynphot: Update to 2.0.0-0.54e9e2a.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
9c9886d856d13e5bc685509a4f3febb35c174513.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-pysynphot): Update to
2.0.0-0.54e9e2a.
[source]: Swap to git checkout as release is dated.
[arguments] <#:phases>: Add 'set-version phase.

Change-Id: Ibb51304cf15f191c731727344d413e2c2fd1a5ee
---
gnu/packages/astronomy.scm | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)

Toggle diff (52 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index bec314f57b..7fe80e0fdb 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3909,18 +3909,29 @@ (define-public python-pyregion
(license license:expat)))
(define-public python-pysynphot
+ ;; XXX: 2.0.0 was released in 2021 there are a lot of changes since that
+ ;; time and it failed to build with python-astropy 6.0.0, use the latest
+ ;; upstream commit for now.
+ (let ((commit "54e9e2a624910c4d177ca70f8e9fb8110c8fae5b")
+ (revision "0"))
(package
(name "python-pysynphot")
- (version "2.0.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "pysynphot" version))
- (sha256
- (base32
- "1rr29m63bnj47f6gvbvg3pm1296x14ad29c6qd0sdj4f4ilrzhj5"))))
+ (version (git-version "2.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/spacetelescope/pysynphot")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "09sivpfqilk86zp8k5wmrs4g48m4kypn34jcy95y5h4ygbn5zbzy"))))
(build-system pyproject-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
+ (add-before 'build 'set-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "2.0.0")))
(add-before 'check 'set-env-data-path
(lambda _
(setenv "PYSYN_CDBS"
@@ -3938,7 +3949,7 @@ (define-public python-pysynphot
observed with the Hubble Space Telescope (HST). Passbands for standard
photometric systems are available, and users can incorporate their own filters,
spectra, and data.")
- (license license:bsd-3)))
+ (license license:bsd-3))))
(define-public python-sep
(package
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 21/46] gnu: python-pysynphot: Improve package style.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
3344623698af93a88574da232344c24790b0cd60.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-pysynphot): Fix indention of the
package.

Change-Id: I0cb6d29a0c5184ff4701e227ec98513c8813af2b
---
gnu/packages/astronomy.scm | 49 ++++++++++++++++++++++----------------
1 file changed, 28 insertions(+), 21 deletions(-)

Toggle diff (74 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 7fe80e0fdb..1231d12f5b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3914,8 +3914,8 @@ (define-public python-pysynphot
;; upstream commit for now.
(let ((commit "54e9e2a624910c4d177ca70f8e9fb8110c8fae5b")
(revision "0"))
- (package
- (name "python-pysynphot")
+ (package
+ (name "python-pysynphot")
(version (git-version "2.0.0" revision commit))
(source
(origin
@@ -3926,30 +3926,37 @@ (define-public python-pysynphot
(file-name (git-file-name name version))
(sha256
(base32 "09sivpfqilk86zp8k5wmrs4g48m4kypn34jcy95y5h4ygbn5zbzy"))))
- (build-system pyproject-build-system)
- (arguments
- (list #:phases #~(modify-phases %standard-phases
- (add-before 'build 'set-version
- (lambda _
- (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "2.0.0")))
- (add-before 'check 'set-env-data-path
- (lambda _
- (setenv "PYSYN_CDBS"
- (string-append #$output "/crds")))))))
- (native-inputs (list python-pytest python-pytest-remotedata
- python-setuptools-scm))
- (propagated-inputs (list python-astropy python-beautifulsoup4 python-numpy
- python-pytest-astropy-header python-six))
- (home-page "https://github.com/spacetelescope/pysynphot")
- (synopsis "Python Synthetic Photometry Utilities")
- (description
- "Astrolib PySynphot (hereafter referred to only as pysynphot) is an
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'set-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "2.0.0")))
+ (add-before 'check 'set-env-data-path
+ (lambda _
+ (setenv "PYSYN_CDBS" (string-append #$output "/crds")))))))
+ (native-inputs
+ (list python-pytest
+ python-pytest-remotedata
+ python-setuptools-scm))
+ (propagated-inputs
+ (list python-astropy
+ python-beautifulsoup4
+ python-numpy
+ python-pytest-astropy-header
+ python-six))
+ (home-page "https://github.com/spacetelescope/pysynphot")
+ (synopsis "Python Synthetic Photometry Utilities")
+ (description
+ "Astrolib PySynphot (hereafter referred to only as pysynphot) is an
object-oriented replacement for STSDAS SYNPHOT synthetic photometry package in
IRAF. @code{pysynphot} simulates photometric data and spectra as they are
observed with the Hubble Space Telescope (HST). Passbands for standard
photometric systems are available, and users can incorporate their own filters,
spectra, and data.")
- (license license:bsd-3))))
+ (license license:bsd-3))))
(define-public python-sep
(package
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 22/46] gnu: python-roman-datamodels: Update to 0.19.0.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
ce3aee3f3ca8ca921721aed41781f138dcf4217e.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-roman-datamodels): Update to 0.19.0.

Change-Id: Ib9d2164956715b47228f5659f9b930e93fdbdc01
---
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 1231d12f5b..17f8d9ffdc 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4466,13 +4466,13 @@ (define-public python-radio-beam
(define-public python-roman-datamodels
(package
(name "python-roman-datamodels")
- (version "0.18.0")
+ (version "0.19.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "roman_datamodels" version))
(sha256
(base32
- "0crlmd99p2nyqmrbykdqqng7v8zb4sibm8j9aqrq3ppak3r3r7q1"))))
+ "1ym06rj637fq9gxncdrn3phplk5djrzdwqghszis0di1dvsrif4j"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 23/46] gnu: python-rad: Update to 0.19.0.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
231807311324bd5b9d5ed1f8328b29c532e87fdf.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-rad): Update to 0.19.0.

Change-Id: Iddfd637a764545b48f7a39506a2ef97d12501223
---
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 17f8d9ffdc..e1ee074ca9 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4404,13 +4404,13 @@ (define-public python-gwcs
(define-public python-rad
(package
(name "python-rad")
- (version "0.18.0")
+ (version "0.19.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "rad" version))
(sha256
(base32
- "1wgnbhldgq0j55yzg33y11vd5k5nzwckiccxywvmq518qh19pky5"))))
+ "0cp3nrv1vq3g61zx6dq36vdlxd5i8g52vg4hwpxakmwvqvc8p3gd"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 24/46] gnu: python-rad: Enable tests.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
8f63e4880eeed24d86f91c653e7117489ecfbc44.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-rad) [arguments] <#:test-flags>:
Enable most of the tests, ignore the one introducing cycle.
[native-inputs]: Add python-pytest.

Change-Id: Ice4bc5eb2dcaae92c44466ea1eb932544a502927
---
gnu/packages/astronomy.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index e1ee074ca9..bc703492f9 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4414,10 +4414,13 @@ (define-public python-rad
(build-system pyproject-build-system)
(arguments
(list
- ;; XXX: Tests introduce dependencies cycle, breaking it by disable them.
+ ;; Ignore tests requiring python-crds to break cycle:
;; python-rad -> python-roman-datamodels -> python-crds -> python-rad
- #:tests? #f))
- (native-inputs (list python-semantic-version python-setuptools-scm))
+ #:test-flags #~(list "--ignore=tests/test_schemas.py")))
+ (native-inputs
+ (list python-pytest
+ python-semantic-version
+ python-setuptools-scm))
(propagated-inputs (list python-asdf python-asdf-astropy))
(home-page "https://github.com/spacetelescope/rad")
(synopsis "Roman Attribute Dictionary")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 25/46] gnu: python-skyfield: Update to 1.48.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
645eb9455b4546c6ef2612de1f266689b42aed84.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-skyfield): Update to 1.48.

Change-Id: I4f94ec7c8cbea3af325fff81d570ef044f710f71
---
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 bc703492f9..fb10b5622e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4547,13 +4547,13 @@ (define-public python-astroalign
(define-public python-skyfield
(package
(name "python-skyfield")
- (version "1.47")
+ (version "1.48")
(source
(origin
(method url-fetch)
(uri (pypi-uri "skyfield" version))
(sha256
- (base32 "0272pwk88csmrrl44fc4l52agd68pkg4zbmdhs7gliq5q9wf3hrs"))))
+ (base32 "1qaz0k0lkni3y423r66mkvj99bx08qa9xgqp3cs2df70cmdz30cb"))))
(build-system python-build-system)
(arguments
;; XXX: Tests depend on custom test framework
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 30/46] gnu: python-asdf-astropy: Speed up tests.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
a47b4cd2f9eed562e764cf4d6f3df6add3c374c2.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-asdf-astropy): Enable parallel
tests to speed them up.
[arguments] <#:test-flags>: Add it with "-n" option.

Change-Id: Icb2efbe6d9fa6f5154fa81189a3d0127f7d26568
---
gnu/packages/astronomy.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

Toggle diff (22 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 0e8b941bbe..fa3edad1d6 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4318,9 +4318,12 @@ (define-public python-asdf-astropy
(base32 "061y7r1d2fqlr8a6gyaffqa3z5m0ymljahhvxzcb71355xkqig7v"))))
(build-system pyproject-build-system)
(arguments
- (list #:phases #~(modify-phases %standard-phases
- (add-before 'check 'set-home-env
- (lambda _ (setenv "HOME" "/tmp"))))))
+ (list
+ #:test-flags
+ #~(list "-n" "auto")
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'check 'set-home-env
+ (lambda _ (setenv "HOME" "/tmp"))))))
(native-inputs
(list python-coverage
python-h5py
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 31/46] gnu: python-asdf-coordinates-schemas: Speed up tests.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
d53f505d75e4f765974c5a414e7809982930bbed.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-asdf-coordinates-schemas): Speed up
tests.
[arguments] <#:test-flags>: Add it with "-n" option.
[native-inputs]: Add python-pytest-xdist.
[propagated-inputs]: Swap python-asdf to python-asdf-3.0.

Change-Id: I0cf8aa077dbfa28e3473e5c49ab420426038884f
---
gnu/packages/astronomy.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index fa3edad1d6..a3dca00664 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4201,8 +4201,15 @@ (define python-asdf-coordinates-schemas
(sha256
(base32 "1x6mipg76c6qldq8s2p2wpsq0cpr9b5krp62xskljdz1f84abyg3"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-n" "auto")))
(native-inputs
- (list python-pytest python-semantic-version python-setuptools-scm))
+ (list python-pytest
+ python-pytest-xdist
+ python-semantic-version
+ python-setuptools-scm))
(propagated-inputs
(list python-asdf))
(home-page "https://github.com/asdf-format/asdf-coordinates-schemas")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 32/46] gnu: python-photutils: Speed up tests
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
af0ab01f266a00aa3d8586ad2655a99c79f5f2ab.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-photutils): Enable parallel
tests to speed them up.
[arguments] <#:test-flags>: Add it with "-n" option.
[native-inputs]: Add python-pytest-xdist.

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

Toggle diff (23 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index a3dca00664..111599f442 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2217,6 +2217,8 @@ (define-public python-photutils
(build-system pyproject-build-system)
(arguments
(list
+ #:test-flags
+ #~(list "-n" "auto")
#:phases
#~(modify-phases %standard-phases
;; This file is opened in both install and check phases.
@@ -2247,6 +2249,7 @@ (define-public python-photutils
(list python-cython
python-extension-helpers
python-pytest-astropy
+ python-pytest-xdist
python-semantic-version
python-setuptools-scm))
(home-page "https://github.com/astropy/photutils")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 33/46] gnu: python-poppy: Speed up tests.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
c5cd09d3d8134831fd2a10722efeb6a43e567f78.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-poppy): Speed up tests.
[arguments] <#:test-flags>: Add with "-n" option.
[native-inputs]: Add python-pytest-xdist and python-scikit-image.

Change-Id: Ic72b1c7c700204cc91e00dcc5a0706859420109b
---
gnu/packages/astronomy.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 111599f442..0a2599590a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2354,6 +2354,10 @@ (define-public python-poppy
(base32
"0s8rb61q8dz66s8d3qg44kb6bb5gi40zl41ik9wyccgb4kyf3brp"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-n" "auto")))
(propagated-inputs
;; XXX: With python-synphot (marked as optional) package added to the list
;; it tries to download from remote host during tests and fails. Overall
@@ -2368,8 +2372,10 @@ (define-public python-poppy
python-pandas
python-pytest
python-pytest-astropy
- python-sphinx
- python-setuptools-scm))
+ python-pytest-xdist
+ python-scikit-image
+ python-setuptools-scm
+ python-sphinx))
(home-page "https://poppy-optics.readthedocs.io/")
(synopsis "Physical Optics Propagation in Python")
(description
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 34/46] gnu: python-regions: Speed up tests.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
3b04eaddf7919fec99b89f3d201eee3636bdd1b6.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-regions): Enable parallel
tests to speed them up.
[arguments] <#:test-flags>: Add it with "-n" option.
[native-inputs]: Add python-pytest-xdist.

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

Toggle diff (23 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 0a2599590a..7b8160a3ea 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2451,6 +2451,8 @@ (define-public python-regions
(build-system pyproject-build-system)
(arguments
(list
+ #:test-flags
+ #~(list "-n" "auto")
#:phases
#~(modify-phases %standard-phases
;; This file is opened in both install and check phases.
@@ -2475,6 +2477,7 @@ (define-public python-regions
python-pytest-arraydiff
python-pytest-astropy
python-pytest-runner
+ python-pytest-xdist
python-setuptools-scm))
(home-page "https://github.com/astropy/regions")
(synopsis "Package for region handling")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 35/46] gnu: python-roman-datamodels: Speed up tests.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
086122bd263eac1d69b044e0400c4aad86f5751e.1708471786.git.sharlatanus@gmail.com
gnu/packages/astronomy.scm (python-roman-datamodels): Enable parallel
tests to speed them up.
[arguments] <#:test-flags>: Add it with "-n" option.
[native-inputs]: Add python-pytest-xdist.

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

Toggle diff (23 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 7b8160a3ea..6a9c7e3183 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4513,6 +4513,8 @@ (define-public python-roman-datamodels
(build-system pyproject-build-system)
(arguments
(list
+ #:test-flags
+ #~(list "-n" "auto")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'set-env
@@ -4529,6 +4531,7 @@ (define-public python-roman-datamodels
(native-inputs (list python-pytest
python-pytest-doctestplus
python-pytest-env
+ python-pytest-xdist
python-semantic-version
python-setuptools-scm))
(home-page "https://github.com/spacetelescope/roman_datamodels")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 26/46] gnu: python-stdatamodels: Update to 1.9.1.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
9e029921ca5c8d27d2a5532444b089e936c9dfba.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-stdatamodels): Update to 1.9.1.

Change-Id: Ib07e70b62ae904765b2c38a1a78a0c5575d36de1
---
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 fb10b5622e..d03adaea52 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2995,13 +2995,13 @@ (define-public python-stcal
(define-public python-stdatamodels
(package
(name "python-stdatamodels")
- (version "1.9.0")
+ (version "1.9.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "stdatamodels" version))
(sha256
- (base32 "16hwhvd8bqm1cmkgcn1v43hp2cvf094fz954rxb6jv2xx6csic15"))))
+ (base32 "0h1v5c96c4q44b2npq9953x44dr6pwmkr1s05wfixdv95arqd8v0"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 27/46] gnu: libpasastro: Remove system constrains.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
5e56970b2abcda8b8e5708d1b31344998f51d7c7.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (libpasastro) [supported-systems]: Remove
it.
[arguments] <#:make-flags>: Add attempt to build on RISCV.

Change-Id: I6dbc843ec25fca46b7c9501e21cc8fba1e9d7bcb
---
gnu/packages/astronomy.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (26 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index d03adaea52..ff7db6118b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3229,8 +3229,6 @@ (define-public libpasastro
(sha256
(base32 "1na3gyb3nzb5gdgccs1653j2gnz6w3v1mqzhyhkx3yqw8bs3q5x0"))))
(build-system gnu-build-system)
- (supported-systems '("i686-linux" "x86_64-linux"
- "armhf-linux" "aarch64-linux"))
(arguments
(list
#:tests? #f ; no tests provided
@@ -3246,7 +3244,9 @@ (define-public libpasastro
'("CPU_TARGET=i386"))
("x86_64-linux"
'("CPU_TARGET=x86_64"))
- ((or "armhf-linux" "aarch64-linux")
+ ;; There is no a case for RISCV in upstream, attempt to treat it
+ ;; as ARM.
+ ((or "armhf-linux" "aarch64-linux" "riscv64")
'("CPU_TARGET=armv7l"))
(_ '()))
(string-append "PREFIX=" #$output))
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 28/46] gnu: python-aplpy: Disable tests.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
0c94c2999bd271eb0c0a0f7638e4fa9c65b12b78.1708471786.git.sharlatanus@gmail.com
make package compatible wit astropy v6.0. Keep package and make it
buildable for now.

* gnu/package/astronomy.scm (python-aplpy) [arguments] <#:tests?>
Disable it. <#:phases?> Delete 'sanity-check to keep package buildable.

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

Toggle diff (20 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ff7db6118b..49f2ac7268 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -505,6 +505,13 @@ (define-public python-aplpy
(sha256
(base32 "0ph9jhv4q4i4z6nkqr6hjw9148kdlnayxsn83qgv5dqn0h3nc9r8"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; FIXME: https://github.com/aplpy/aplpy/issues/492
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'sanity-check))))
(propagated-inputs
(list python-astropy
python-matplotlib
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 29/46] gnu: python-asdf: Speed up tests.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
9b60c71cc7e81cbf59e12bedeae8945d63bdfa02.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-asdf): Enable parallel tests to
speed them up.
[arguments] <#:test-flags>: Add it with "-n" option.
[native-inputs]: Add python-pytest-xdist.

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

Toggle diff (25 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 49f2ac7268..0e8b941bbe 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4093,6 +4093,10 @@ (define-public python-asdf
(sha256
(base32 "1jsk7b4mx04l0a08j832vnl309dba3gjnha9mbd61dzs9ridrfna"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-n" "auto")))
(native-inputs
(list python-fsspec
python-packaging
@@ -4100,6 +4104,7 @@ (define-public python-asdf
python-pytest
python-pytest-doctestplus
python-pytest-remotedata
+ python-pytest-xdist
python-semantic-version
python-setuptools-scm))
(propagated-inputs
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 37/46] gnu: python-sunpy: Speed up tests and relax requirements.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
ac1e9edf55cf3e8f3bb1d9d11db60cca30990360.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-sunpy): Enable parallel
tests to speed them up.
[arguments] <#:test-flags>: Add it with "-n" option.
<#:phases>: Add 'relax-requirements.

Change-Id: I67c3308b8c5e9b878377f2175f74f1c469a43610
---
gnu/packages/astronomy.scm | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 69b2af63d7..f8274e7a59 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2591,16 +2591,24 @@ (define-public python-sunpy
(arguments
(list
#:test-flags
- #~(list "-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
+ "-n" "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")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "setup.cfg"
+ ;; It's already updated in master branch, but not released yet.
+ ;; drms>=0.6.1,<0.7.0
+ (("0.7.0") "0.7.2"))))
(add-before 'install 'writable-compiler
(lambda _
(make-file-writable "sunpy/_compiler.c")))
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 38/46] gnu: python-astroml: Ignore some failing tests.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
b47282f61090e0cc794ba32400001ae6cea2c613.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-astroml) [arguments]
<#:test-flags>: Disable some tests which are not compatible with Astropy
6.0.0.

Change-Id: I92f207e1e20a80de8904ee04aaba11469d9249b0
---
gnu/packages/astronomy.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

Toggle diff (21 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index f8274e7a59..54b8e66931 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -569,7 +569,13 @@ (define-public python-astroml
(arguments
(list
#:test-flags
- '(list "--ignore-glob=examples/*")
+ '(list "--ignore-glob=examples/*"
+ ;; Disable tests which are not compatible with Astropy 6.0.0, see
+ ;; <https://github.com/astroML/astroML/issues/273>.
+ "--ignore=astroML/density_estimation/tests/test_bayesian_blocks.py"
+ "--ignore=astroML/density_estimation/tests/test_bayesian_blocks.py"
+ "--ignore=astroML/density_estimation/tests/test_hist_binwidth.py"
+ "--ignore=astroML/density_estimation/tests/test_hist_binwidth.py")
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'patch-build-system
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 39/46] gnu: python-poliastro: Relax requirements.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
0b7ff3f706b80feabee8c1bd1fb1eedce65d9f06.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-poliastro) [arguments] <#:phases>:
Add 'relax-requirements phase.

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

Toggle diff (27 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 54b8e66931..6324d941a8 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2264,6 +2264,9 @@ (define-public python-photutils
of astronomical sources.")
(license license:bsd-3)))
+;; XXX: The project is archived, maintained fork is available see
+;; <https://github.com/poliastro/poliastro/issues/1640>.
+;; Maintained fork <https://github.com/pleiszenburg/hapsira>.
(define-public python-poliastro
(package
(name "python-poliastro")
@@ -2296,6 +2299,10 @@ (define-public python-poliastro
" and not test_porkchop_plotting"))
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("5.0,<6") "5.0,<7"))))
(add-after 'unpack 'matplotlib-compatibility
(lambda _
(substitute* "src/poliastro/plotting/static.py"
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 40/46] gnu: Add python-extinction.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
e959488e1edd32bebe07cdb85428003a672d6f49.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-extinction): New variable.

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

Toggle diff (39 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 6324d941a8..d4c731a797 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2114,6 +2114,32 @@ (define-public python-ephem
of dates.")
(license license:expat)))
+(define-public python-extinction
+ (package
+ (name "python-extinction")
+ (version "0.4.6")
+ (source
+ (origin
+ (method git-fetch) ; No tests in PyPI
+ (uri (git-reference
+ (url "https://github.com/kbarbary/extinction")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1adxq926jd469mxm6llvsljgf2jqb06905h61i9qzc7m2yrm4wga"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags #~(list "test.py")))
+ (native-inputs (list python-cython python-pytest))
+ (propagated-inputs (list python-numpy))
+ (home-page "http://github.com/kbarbary/extinction")
+ (synopsis "Fast interstellar dust extinction laws")
+ (description
+ "This package provides a cython-optimized implementations of empirical dust
+exitinction laws found in the literature.")
+ (license license:expat)))
+
(define-public python-hvpy
(package
(name "python-hvpy")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 41/46] gnu: Add python-sunpy-soar.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
bf5d6c6307d3c2c4bd61fdfc2b3f1ee38caa2ac5.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-sunpy-soar): New variable.

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

Toggle diff (57 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index d4c731a797..f6b58a5a87 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2705,6 +2705,50 @@ (define-public python-sunpy
SolarSoft data analysis environment.")
(license license:bsd-2)))
+(define-public python-sunpy-soar
+ (package
+ (name "python-sunpy-soar")
+ (version "1.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sunpy-soar" version))
+ (sha256
+ (base32 "0pb7dr06n20hdhlqf8npb4j1qb5034cgwqi3iciqdi1wxyy5pjc6"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; Disabe tests requireing network access.
+ #~(list "-k" (string-append
+ "not test_search"
+ " and not test_search_low_latency"
+ " and not test_insitu_search"
+ " and not test_no_results"
+ " and not test_no_instrument"
+ " and not test_download_path"
+ " and not test_search_soop"
+ " and not test_when_soar_provider_passed"
+ " and not test_when_sdac_provider_passed"
+ " and not test_when_wrong_provider_passed"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-home-env
+ (lambda _
+ ;; Tests require HOME to be set.
+ ;; Permission denied: '/homeless-shelter'
+ (setenv "HOME" "/tmp"))))))
+ (propagated-inputs
+ (list python-sunpy))
+ (native-inputs
+ (list python-pytest))
+ (home-page "https://docs.sunpy.org/projects/soar")
+ (synopsis "Solar Orbiter Archive plugin for SunPy")
+ (description
+ "This package provides a @code{sunpy} FIDO plugin for accessing data in the
+@acronym{Solar Orbiter Archive, SOAR}.")
+ (license license:bsd-2)))
+
(define-public python-astral
(package
(name "python-astral")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 42/46] gnu: Add python-radiospectra.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
9fdc0719c1a33918b978353ecc5a594d23686b94.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-radiospectra): New variable.

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

Toggle diff (50 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index f6b58a5a87..03d43e5a06 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4600,6 +4600,43 @@ (define-public python-radio-beam
@end itemize")
(license license:bsd-3)))
+(define-public python-radiospectra
+ (package
+ (name "python-radiospectra")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "radiospectra" version))
+ (sha256
+ (base32 "0gq61ywk7li0gxwmp4hp2hc4zbrlqgn8zy0sz24qh55kn5l5gxjr"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-home-env
+ (lambda _
+ ;; Tests require HOME to be set.
+ ;; Permission denied: '/homeless-shelter'
+ (setenv "HOME" "/tmp"))))))
+ (propagated-inputs
+ (list python-cdflib
+ python-matplotlib
+ python-numpy
+ python-scipy
+ python-sunpy))
+ (native-inputs
+ (list python-pytest-astropy
+ python-setuptools-scm
+ python-sunpy-soar))
+ (home-page "https://docs.sunpy.org/projects/radiospectra")
+ (synopsis "Support for radio spectra on solar physics")
+ (description
+ "@code{radiospectra} provides support for some type of radio spectra in
+solar physics.")
+ (license license:bsd-2)))
+
(define-public python-roman-datamodels
(package
(name "python-roman-datamodels")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 36/46] gnu: python-spectral-cube: Speed up tests.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
49f1e12ceadd02c7929b9f436b0968f841c73030.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-spectral-cube): Enable parallel
tests to speed them up.
[arguments] <#:test-flags>: Add it with "-n" option.
[propagated-inputs]: Remove python-aplpy.
[native-inputs]: Add python-pytest-xdist.

Change-Id: Icd5afb95ea64406a2f61e4d395bfe503c668cf12
---
gnu/packages/astronomy.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

Toggle diff (33 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 6a9c7e3183..69b2af63d7 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2730,9 +2730,17 @@ (define-public python-spectral-cube
(sha256
(base32 "0cqxgmk46gv2qa2kls8fph105lgwbwf13hvizh6w85mzgypyp740"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-n" "auto")))
(propagated-inputs
(list python-astropy
- python-aplpy
+ ;; XXX: Currently failing in upstream as it's optional silent
+ ;; until a new version is released, see:
+ ;; <https://github.com/aplpy/aplpy/issues/492>.
+ ;;
+ ;; python-aplpy
python-casa-formats-io
python-dask
python-distributed
@@ -2752,6 +2760,7 @@ (define-public python-spectral-cube
;; in [noviz] option.
;; python-pvextractor
python-pytest-astropy
+ python-pytest-xdist
python-regions
python-semantic-version
python-setuptools-scm))
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 43/46] gnu: Add python-ginga.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
ce94dfbcd396d693cb07723f30fb2c7e65156000.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-ginga, ginga-qt5): New variables.

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

Toggle diff (70 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 03d43e5a06..282fd1ebb4 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -706,6 +706,63 @@ (define-public python-gatspy
series in Python.")
(license license:bsd-2)))
+(define-public python-ginga
+ (package
+ (name "python-ginga")
+ (version "4.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ginga" version))
+ (sha256
+ (base32 "0w60w9d2yqhbmggp0dljj5a0sk07gywifjq8nzw3y2v47vzgwqb6"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs
+ (list ;;python-exifread ; optional, not packed yet in Guix
+ python-astropy
+ python-astroquery
+ python-dateutil
+ python-magic
+ python-matplotlib
+ python-fitsio
+ python-numpy
+ python-photutils
+ python-pillow
+ python-qtpy
+ python-scipy))
+ (native-inputs
+ (list python-attrs
+ python-docutils
+ python-pytest-astropy
+ python-semantic-version
+ python-tornado))
+ (home-page "https://ejeschke.github.io/ginga/")
+ (synopsis "Scientific image viewer and toolkit for FITS files")
+ (description "Ginga is a toolkit designed for building viewers for
+scientific image data in Python, visualizing 2D pixel data in numpy arrays. It
+can view astronomical data such as contained in files based on the
+FITS (Flexible Image Transport System) file format. It is written and is
+maintained by software engineers at the National Astronomical Observatory of
+Japan (NAOJ), the Space Telescope Science Institute (STScI), and other
+contributing entities.
+
+The Ginga toolkit centers around an image display object which supports zooming
+and panning, color and intensity mapping, a choice of several automatic cut
+levels algorithms and canvases for plotting scalable geometric forms. In
+addition to this widget, a general purpose \"reference\" FITS viewer is
+provided, based on a plugin framework. A fairly complete set of standard plugins
+are provided for features that we expect from a modern FITS viewer: panning and
+zooming windows, star catalog access, cuts, star pick/FWHM, thumbnails, etc.")
+(license license:bsd-3)))
+
+(define-public ginga-qt5
+ (package/inherit python-ginga
+ (name "ginga-qt5")
+ (inputs
+ (modify-inputs (package-inputs python-ginga)
+ (prepend python-pyqt)))
+ (synopsis "Qt5 image viewer build based on python-ginga library")))
+
(define-public qfits
(package
(name "qfits")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 44/46] gnu: python-drizzle: Update to 1.15.0.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
7afdb532653500d7f2bc7600c09c26ad137c57b3.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-drizzle): Update to 1.15.0.
[native-inputs]: Remove python-flake8.

Change-Id: Id872c5ac904a6856fd5d9061b34f36cbfdf1645e
---
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 282fd1ebb4..af0f30756f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2087,7 +2087,7 @@ (define-public python-drms
(define-public python-drizzle
(package
(name "python-drizzle")
- (version "1.14.4")
+ (version "1.15.0")
(source
(origin
(method git-fetch) ;PyPi doesn't have the test data sets
@@ -2096,7 +2096,7 @@ (define-public python-drizzle
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "01zsq1r3p9lig0aik01szncd7nbmyi561mhi1n44yjhh7d86fp8y"))))
+ (base32 "06qh3b60xvm5f2p09l2njwwsh0n95s54r730fyfn66w8mvr1jk82"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -2112,7 +2112,7 @@ (define-public python-drizzle
(propagated-inputs
(list python-astropy python-numpy))
(native-inputs
- (list python-flake8 python-pytest python-setuptools-scm))
+ (list python-pytest python-setuptools-scm))
(home-page "https://github.com/spacetelescope/drizzle")
(synopsis
"Astronomical tool for combining dithered images into a single image")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 45/46] gnu: python-stcal: Update to 1.6.0.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
c5dc8528ed91e368eb6e8dbeca3fca02d7d6b627.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-stcal): Update to 1.6.0.

Change-Id: I94667375f4d2d14be6b3d2bdb9beaefbea3a554d
---
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 af0f30756f..175a8ee574 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3128,13 +3128,13 @@ (define-public python-stsci-stimage
(define-public python-stcal
(package
(name "python-stcal")
- (version "1.5.2")
+ (version "1.6.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "stcal" version))
(sha256
- (base32 "0r1a9f476f8ivhrwbcny3rnj9s4plaps6p36c22w73g546d476b7"))))
+ (base32 "12skkbc59alw3asvw36x7nvibx68ccfiqdlgs8b5cvdns5j47f9n"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 46/46] gnu: python-cdflib: Update to 1.2.4.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
345f33bcef1cc020d55d21aee0accaaa5fda5764.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-cdflib): Update to 1.2.4.

Change-Id: If6b654bf4bfc0e195055e03fddd22bb376e15920
---
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 175a8ee574..d7747f051d 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1927,7 +1927,7 @@ (define-public python-ccdproc
(define-public python-cdflib
(package
(name "python-cdflib")
- (version "1.2.3")
+ (version "1.2.4")
(source
(origin
(method git-fetch) ; no tests in pypi archive
@@ -1936,7 +1936,7 @@ (define-public python-cdflib
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0vpgcbc9pmx0qqfia1frnwq3jkgfp8y3ikqdnzs5bs1sr13p9p3w"))))
+ (base32 "0pjd4dwwlza2592zgdccw1s341s3ikg44pwsr1gk8vjix40m46fr"))))
(build-system pyproject-build-system)
(arguments
;; Disable shaky test.
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Feb 00:43 +0100
[PATCH 11/46] gnu: python-astropy: Improve packages style.
(address . 69295@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
dc664183c412db8cecd7d566ed1e317ebd20b268.1708471786.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-astropy): Adjust package style.
[arguments] <#:phases>: {preparations} Simplify it, move step setting up
HOME env to 'prepare-test-environment phase.
{prepare-test-environment}: New phase, consolidating all pre test
procedures.
{check}: Add option to run test in parallel to accelerate them. Remove
from disabled list tests which were passed successfully.

Change-Id: I306ab60b6e155c81035de9584fbd9d06a6381045
---
gnu/packages/astronomy.scm | 86 ++++++++++++++++++++------------------
1 file changed, 46 insertions(+), 40 deletions(-)

Toggle diff (99 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 11cdd9e862..9db5b080cc 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1499,46 +1499,52 @@ (define-public python-astropy
(for-each delete-file-recursively '("expat" "wcslib")))))))
(build-system python-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'preparations
- (lambda _
- ;; Use our own libraries in place of bundles.
- (setenv "ASTROPY_USE_SYSTEM_ALL" "1")
- ;; Some tests require a writable home.
- (setenv "HOME" "/tmp")
- ;; Relax xfail tests.
- (substitute* "pyproject.toml"
- (("xfail_strict = true") "xfail_strict = false"))
- ;; Replace reference to external ply.
- (substitute* "astropy/utils/parsing.py"
- (("astropy.extern.ply") "ply"))
- ;; Replace reference to external configobj.
- (with-directory-excursion "astropy/config"
- (substitute* "configuration.py"
- (("from astropy.extern.configobj ") "")))))
- ;; This file is opened in both install and check phases.
- (add-before 'install 'writable-compiler
- (lambda _ (make-file-writable "astropy/_compiler.c")))
- (add-before 'check 'writable-compiler
- (lambda _ (make-file-writable "astropy/_compiler.c")))
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- ;; Extensions have to be rebuilt before running the tests.
- (invoke "python" "setup.py" "build_ext" "--inplace")
- (invoke "python" "-m" "pytest" "--pyargs" "astropy"
- ;; Skip tests that need remote data.
- "-k" (string-append
- "not remote_data"
- ;; XXX: Check why this tests failing.
- " and not test_ignore_sigint"
- " and not test_parquet_filter"
- ;; See https://github.com/astropy/astropy/issues/15537
- " and not test_pvstar"
- ;; E ModuleNotFoundError: No module named 'wofz'
- " and not test_pickle_functional"))))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'preparations
+ (lambda _
+ ;; Use our own libraries in place of bundles.
+ (setenv "ASTROPY_USE_SYSTEM_ALL" "1")
+ ;; Relax xfail tests.
+ (substitute* "pyproject.toml"
+ (("xfail_strict = true") "xfail_strict = false"))
+ ;; Replace reference to external ply.
+ (substitute* "astropy/utils/parsing.py"
+ (("astropy.extern.ply") "ply"))
+ ;; Replace reference to external configobj.
+ (substitute* "astropy/config/configuration.py"
+ (("from astropy.extern.configobj ") ""))))
+ ;; This file is opened in both install and check phases.
+ (add-before 'install 'writable-compiler
+ (lambda _
+ (make-file-writable "astropy/_compiler.c")))
+ (add-before 'check 'prepare-test-environment
+ (lambda _
+ ;; Some tests require a writable home.
+ (setenv "HOME" "/tmp")
+ (make-file-writable "astropy/_compiler.c")
+ ;; Extensions have to be rebuilt before running the tests.
+ (invoke "python" "setup.py" "build_ext" "--inplace"
+ "-j" (number->string (parallel-job-count)))))
+ ;; TODO: The swap to pyproject-build-system introduced all tests
+ ;; failed due to pytest could not load conftest.py, find out how
+ ;; to resolve it and migrate completely to pyproject-build-system.
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest" "--pyargs" "astropy"
+ ;; with -n : 133.00s
+ ;; without -n : 326.14s
+ "-n" (number->string (parallel-job-count))
+ "-k" (string-append
+ ;; Skip tests that need remote data.
+ "not remote_data"
+ ;; E astropy.samp.errors.SAMPProxyError:
+ ;; <SAMPProxyError 1: 'Timeout expired!'>
+ " and not test_main"
+ ;; E ModuleNotFoundError: No module named 'wofz'
+ " and not test_pickle_functional"))))))))
(native-inputs
(list pkg-config
python-colorlog
--
2.41.0
S
S
Sharlatan Hellseher wrote on 27 Feb 23:55 +0100
[PATCH 00/46] gnu: Astronomy 2024/02 updates.
(address . 69295-done@debbugs.gnu.org)
87a5nl8qkp.fsf@gmail.com
Pushed as 299d1f104a..8c0282cf54 to master.

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

iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmXeaHYACgkQdtcnv/Ys
0rUDZQ//QgPAreru1YgqL9Aw7zu1GDMNtf2ansYT3JD52GSwaG3yxzu4N4S0tAeN
vPLDda+rg4pr4/XJZNe2pgvPadOdUUvZ/paSHmIqJy6cuO3Fx6xV4MIQ7RN4Yg/k
sOJwevhcsOnA2mxWdzmHHEn85zDhjOFP6cqGm2yVoCVg8BhuzIhDiTzlz2HgDMAD
yvcroBQAIoAkdX/kQ18CCyyOQlnQjbgv7QoWD6jXui9Rp/bKT4QJ8pS/bFNUwcbn
gHygeDI8Fv6KO7LMskYvc9Z43PGRgABVua9NVFnSKPxMH81PycUaHuFL0o/JRMQi
0a2eT6ARbkQcbY1LLZX3VB1iJ+TbaywOiXVPP7u6DGH2kKO6teZj7RRhpKRxNg47
2AbG/5xC6BUp0cQb5NLWpZpSOUtC2jJ+fisEzZ4/yU74GimvoFxAdDmpv0ePXh+H
ARyRkgfrmuJN884JEvGOVBFKr4QuYvm+dQyDJpPNPPnVDn9+NYEGfW9shlwth6SO
zsxqyLVA9BIxYwOWvWHv6kgfq87yTorwIibtMJwi2z0LAWvxIvlwa4ieYhOh0hM7
lq6z6XeawE9oFjZu0NNTXnwlqG82aOlpBf2XSykQ7grRi8G1MofowiEfyGxs3Ths
Pi2oYjV7Sqrzwy60xQRXbv/lzr3TYz9QX1VyqpQNvSN2ce/TysU=
=fPyT
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 69295
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