GNU bug report logs -
#69295
[PATCH 00/46] gnu: Astronomy 2024/02 updates.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69295 in the body.
You can then email your comments to 69295 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:42:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
.
(Tue, 20 Feb 2024 23:42:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
https://docs.astropy.org/en/v6.0.0/changelog.html. All packages depending on
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.
https://salsa.debian.org/debian-astro-team/saods9
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.
- https://github.com/poliastro/poliastro/issues/1640
- https://github.com/pleiszenburg/hapsira
Build all mentioned packages and make sure they are still build on x86_64-linux
--8<---------------cut here---------------start------------->8---
./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
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
Building the following 10 packages would ensure 59 dependent packages are
rebuilt: splash <at> 3.10.1 python-pymc <at> 5.10.3 python-cesium <at> 0.12.1
python-astroalign <at> 2.5.1 python-ginga <at> 4.1.1 ginga-qt5 <at> 4.1.1
python-poliastro <at> 0.17.0 python-aplpy <at> 2.1.0 python-jwst <at> 1.13.4
python-radiospectra <at> 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
--8<---------------cut here---------------end--------------->8---
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:03 GMT)
Full text and
rfc822 format available.
Message #20 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:03 GMT)
Full text and
rfc822 format available.
Message #23 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:04 GMT)
Full text and
rfc822 format available.
Message #26 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:04 GMT)
Full text and
rfc822 format available.
Message #29 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:05 GMT)
Full text and
rfc822 format available.
Message #32 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/astronomy.scm (python-astropy-iers-data): New variable.
Change-Id: Idd2e099013a4c6a6a28fc3dc8aa656bb58b3d697
---
gnu/packages/astronomy.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:05 GMT)
Full text and
rfc822 format available.
Message #35 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:06 GMT)
Full text and
rfc822 format available.
Message #38 received at 69295 <at> debbugs.gnu.org (full text, mbox):
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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:06 GMT)
Full text and
rfc822 format available.
Message #41 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:07 GMT)
Full text and
rfc822 format available.
Message #44 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:07 GMT)
Full text and
rfc822 format available.
Message #47 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:08 GMT)
Full text and
rfc822 format available.
Message #50 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:08 GMT)
Full text and
rfc822 format available.
Message #53 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:09 GMT)
Full text and
rfc822 format available.
Message #56 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:09 GMT)
Full text and
rfc822 format available.
Message #59 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:09 GMT)
Full text and
rfc822 format available.
Message #62 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:10 GMT)
Full text and
rfc822 format available.
Message #65 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:10 GMT)
Full text and
rfc822 format available.
Message #68 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:11 GMT)
Full text and
rfc822 format available.
Message #71 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:11 GMT)
Full text and
rfc822 format available.
Message #74 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:46:12 GMT)
Full text and
rfc822 format available.
Message #77 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:01 GMT)
Full text and
rfc822 format available.
Message #80 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:02 GMT)
Full text and
rfc822 format available.
Message #83 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:03 GMT)
Full text and
rfc822 format available.
Message #86 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(+)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:04 GMT)
Full text and
rfc822 format available.
Message #89 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:04 GMT)
Full text and
rfc822 format available.
Message #92 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(+)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:05 GMT)
Full text and
rfc822 format available.
Message #95 received at 69295 <at> debbugs.gnu.org (full text, mbox):
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(+)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:06 GMT)
Full text and
rfc822 format available.
Message #98 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:06 GMT)
Full text and
rfc822 format available.
Message #101 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:07 GMT)
Full text and
rfc822 format available.
Message #104 received at 69295 <at> debbugs.gnu.org (full text, mbox):
There is upstream issue https://github.com/aplpy/aplpy/issues/492 to
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(+)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:07 GMT)
Full text and
rfc822 format available.
Message #107 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(+)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:08 GMT)
Full text and
rfc822 format available.
Message #110 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:08 GMT)
Full text and
rfc822 format available.
Message #113 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:09 GMT)
Full text and
rfc822 format available.
Message #116 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(+)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:09 GMT)
Full text and
rfc822 format available.
Message #119 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/astronomy.scm (python-extinction): New variable.
Change-Id: I0f8877f8c79f6dd03150d92269c238cd706cc0ba
---
gnu/packages/astronomy.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:10 GMT)
Full text and
rfc822 format available.
Message #122 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/astronomy.scm (python-sunpy-soar): New variable.
Change-Id: I6e7dd8cb7380df396720fda13f549858d2be440d
---
gnu/packages/astronomy.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:10 GMT)
Full text and
rfc822 format available.
Message #125 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/astronomy.scm (python-radiospectra): New variable.
Change-Id: I98f488671a16ce8e937a76f00b58e70119b7760a
---
gnu/packages/astronomy.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:11 GMT)
Full text and
rfc822 format available.
Message #128 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:11 GMT)
Full text and
rfc822 format available.
Message #131 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/astronomy.scm (python-ginga, ginga-qt5): New variables.
Change-Id: I51358b4b64241c78f4bbc7fa16fdd2721ddc0d28
---
gnu/packages/astronomy.scm | 57 ++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:47:11 GMT)
Full text and
rfc822 format available.
Message #134 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:48:02 GMT)
Full text and
rfc822 format available.
Message #137 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:48:02 GMT)
Full text and
rfc822 format available.
Message #140 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Information forwarded
to
andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org
:
bug#69295
; Package
guix-patches
.
(Tue, 20 Feb 2024 23:48:03 GMT)
Full text and
rfc822 format available.
Message #143 received at 69295 <at> debbugs.gnu.org (full text, mbox):
* 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(-)
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
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Tue, 27 Feb 2024 22:58:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 27 Feb 2024 22:58:02 GMT)
Full text and
rfc822 format available.
Message #148 received at 69295-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Pushed as 299d1f104a..8c0282cf54 to master.
--
Oleg
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 27 Mar 2024 11:24:23 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.