[PATCH 00/34] Astronomy update 2024/07

  • 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 Jul 00:39 +0200
(address . guix-patches@gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
cover.1721514686.git.sharlatanus@gmail.com
Hi Guix!

Non of the Windows upgrades whoopsy could stop me to prepare a patch series on
this day because it's 20th of the current month and it's time for new Astro
packages and refreshing exiting ones to the latest versions ^.-

Let's starts from main highlights:
- stellarium is refreshed to the latest upstream version, it's a lovely
virtual observatory.
- CFITSIO is on the latest available version, quite a de facto software widely
used developing by NASA
- Initiation of bringing https://glueviz.org/ to Guix
- More packages from Astropy affilated list

I've introduced python-pandas. Maybe someone from Python team would have tie
to check the build against the latest version.

- added [10/10]
- [X] python-ads :: Python client to NASA's Astrophysics Data System
- [X] python-dunamai :: Dynamic version generation
- [X] python-echo :: Callback Properties in Python
- [X] python-glue-core :: Multidimensional data visualization project
- [X] python-kanon :: History of astronomy
- [X] python-looseversion :: Version numbering for anarchists and software
realists
- [X] python-mpl-scatter-density :: Matplotlib helpers to make density
scatter plots
- [X] python-poetry-dynamic-versioning :: Poetry plugin enabling VCS tags
dynamic versioning
- [X] python-sbpy :: Python module for small-body planetary astronomy
- [X] python-sncosmo :: Package for supernova cosmology based on astropy

- updated [16/16]
- [X] cfitsio :: 4.4.1->4.4.1
- [X] python-asdf :: 3.2.0->3.3.0
- [X] python-asdf-zarr :: 0.0.3->0.0.4
- [X] python-astropy-iers-data :: 0.2024.6.17.0.31.35->0.2024.7.15.0.31.42
- [X] python-crds :: 11.17.25->11.17.26
- [X] python-czml3 :: 0.7.0->1.0.1
- [X] python-extension-helpers :: 1.0.0->1.1.1
- [X] python-jwst :: 1.14.0->1.15.1
- [X] python-photutils :: 1.12->1.13.0
- [X] python-pytest-openfiles :: 0.5.0->0.6.0
- [X] python-stdatamodels :: 1.10.1->2.0.0
- [X] python-stpipe :: 0.5.2->0.6.0
- [X] python-sunpy :: 5.1.4->5.1.5
- [X] python-tweakwcs :: 0.8.7->0.8.8
- [X] skymaker :: 4.2.0-0.1a69c47->3.10.5, upstream applied proper tag.
- [X] stellarium :: 24.1->24.2

Next month continue with IRAF tests,
bringing more Glue's projects.

Build stats:
Toggle snippet (39 lines)
> ./pre-inst-env guix build python-sncosmo python-looseversion python-glue-core
python-mpl-scatter-density python-echo python-sbpy python-ads python-kanon
python-poetry-dynamic-versioning python-dunamai python-fast-histogram
python-tweakwcs python-sunpy python-stdatamodels python-stpipe
python-pytest-openfiles python-extension-helpers python-photutils python-jwst
python-czml3 python-crds python-astropy-iers-data python-asdf-zarr python-asdf
stellarium skymaker cfitsio python-pytest@8.2.2 python-pluggy@1.5.0

/gnu/store/ns119hfqrd7kz0af3qlf7b9ir2mpqk1g-python-pluggy-1.5.0
/gnu/store/v9y084shj351x9s1dlzr6dl032c0g5dn-python-pytest-8.2.2
/gnu/store/36zj3j2n36kdi2xwi1zls3jsblcdp5jq-cfitsio-4.4.1
/gnu/store/1pi4qc8qvs8jinjvhrnsxwh3maz6gykc-skymaker-3.10.5
/gnu/store/9zpxqd2rwckzy6xi9wmlpq489a3b84ll-stellarium-24.2
/gnu/store/fkdybvr09dm1pvxqic0rsx0pzrk89mrx-python-asdf-3.3.0
/gnu/store/ysqyz642y6hqvkybb7jg9p6m8700w373-python-asdf-zarr-0.0.4
/gnu/store/s8vc67v9ddv5min3c67ydans6vzf4092-python-astropy-iers-data-0.2024.7.15.0.31.42
/gnu/store/jdl0g478f57i7lrbanjp5n0x3q0naanj-python-crds-11.17.26
/gnu/store/zvmv2y4cwbyjchza5qihnijpmjyhwx93-python-czml3-1.0.1
/gnu/store/sfhvcb3mgb9xwbypnj98nyyqfy1hw4wx-python-jwst-1.15.1
/gnu/store/969qhwxdqz7zbpfgskik45p3bdxdx2ps-python-photutils-1.13.0
/gnu/store/sfh1dycvwpi0p6xf3m8cakpqmgw86f3m-python-extension-helpers-1.1.1
/gnu/store/wwybid4chi7y6vmv847p7c2vybsrzlfc-python-pytest-openfiles-0.6.0
/gnu/store/jx1gmdxm2x0cx0bx9f5ll0alqr0q21gc-python-stpipe-0.6.0
/gnu/store/2rs35qldzyjz5pjbnzbzqz5azhk5xrfy-python-stdatamodels-2.0.0
/gnu/store/b576zmal4ayb2jsh92g4csk31sg355b1-python-sunpy-5.1.5
/gnu/store/d0ynp4b2alzwsxvjmyqcxgsgv4xgjh2h-python-tweakwcs-0.8.8
/gnu/store/4p5yj8wrlbbfd4xcshga7gqzarx0fh0y-python-fast-histogram-0.14
/gnu/store/3rxmz18yd4mjskjcvcahksvf2nxnzhnm-python-dunamai-1.21.2
/gnu/store/wy459isgl5w3a7rinvdvh5dikzd304in-python-poetry-dynamic-versioning-1.4.0
/gnu/store/qjwnalk04j3r9bcwbs5zhcrmdki24yh8-python-kanon-0.6.6
/gnu/store/8pa2nx8awqbxfd615mx9fcx23y6m5k2z-python-ads-0.12.6
/gnu/store/kbdfcdflhx2r0rairacm0z166xga4j9c-python-sbpy-0.4.0
/gnu/store/v53plfas0n51p8rvpyihnbd9xapzc1c0-python-echo-0.8.0
/gnu/store/dbzjfyq6vpc44y679pm8v3a01sb84w3q-python-mpl-scatter-density-0.7
/gnu/store/ajmny6xgn3alyqr35q6acwhjs8h8cp6p-python-glue-core-1.21.1
/gnu/store/1gl6kc45997gddfb076d4zp65ziji9pg-python-looseversion-1.3.0
/gnu/store/cxpxslld7ryc92d90r71ar30fdjn0k61-python-sncosmo-2.11.1

Dependent build stats:
Toggle snippet (58 lines)
> ./pre-inst-env guix refresh --list-dependent python-sncosmo
python-looseversion python-glue-core python-mpl-scatter-density python-echo
python-sbpy python-ads python-kanon python-poetry-dynamic-versioning
python-dunamai python-fast-histogram python-tweakwcs python-sunpy
python-stdatamodels python-stpipe python-pytest-openfiles
python-extension-helpers python-photutils python-jwst python-czml3 python-crds
python-astropy-iers-data python-asdf-zarr python-asdf stellarium skymaker
cfitsio python-pytest@8.2.2 python-pluggy@1.5.0

Building the following 35 packages would ensure 99 dependent packages are
rebuilt: alfa@2.2 splash@3.10.3 python-cesium@0.12.1 scamp@2.10.0
python-viresclient@0.11.6 python-sncosmo@2.11.1 python-regularizepsf@0.3.4
python-astroplan@0.10 python-poliastro@0.17.0 python-naima@0.10.0
python-kanon@0.6.6 siril@1.2.3 aoflagger@3.4.0 indi@2.0.8 swarp@2.41.5
gnuastro@0.22 imppg@0.6.5 stellarium@24.2 julia-wcs@0.6.2 sextractor@2.28.0
glnemo2@1.21.0 phd2@2.6.13 julia-fitsio@0.17.1 gwenview@24.05.2 labplot@2.10.1
python-asdf-compression@0.0.1-0.57cc7e7 python-radiospectra@0.5.0
python-astroalign@2.5.1 python-glue-core@1.21.1 python-aplpy@2.1.0
python-statmorph@0.5.7 ginga-qt5@5.1.0 python-sbpy@0.4.0
python-jwst-reffiles@1.0.1 python-asdf-zarr@0.0.4

/gnu/store/ysqyz642y6hqvkybb7jg9p6m8700w373-python-asdf-zarr-0.0.4
/gnu/store/84xcn2nv0fbs1r3mi5bbvk1nizbxw0as-python-jwst-reffiles-1.0.1
/gnu/store/kbdfcdflhx2r0rairacm0z166xga4j9c-python-sbpy-0.4.0
/gnu/store/yj563zbqhj2zbm03fcaj9fxnvcckb4bf-ginga-qt5-5.1.0
/gnu/store/5kssg5pfnqzj9df9rq12sqk2lvq1dgmq-python-statmorph-0.5.7
/gnu/store/9i9x0q1cqyl4b0rfjn1mn03rg7q4cpwk-python-aplpy-2.1.0
/gnu/store/ajmny6xgn3alyqr35q6acwhjs8h8cp6p-python-glue-core-1.21.1
/gnu/store/cs637gjcifi3imm7gj9rfdcqrfpf52wq-python-astroalign-2.5.1
/gnu/store/8wab1lqkbjhadkxrk106j8dyk06hnamz-python-radiospectra-0.5.0
/gnu/store/n6ymz88zf75x5fkivsb1rc1l5pv1bya6-python-asdf-compression-0.0.1-0.57cc7e7
/gnu/store/rkna1j5rkc42ks6xfpxmwl1dr545hv8r-labplot-2.10.1
/gnu/store/djq4rfacn22f7bs18snwawziiv05lkxh-gwenview-24.05.2
/gnu/store/4cza9f5qk8y7326i28ljv904hsavq8mi-julia-fitsio-0.17.1
/gnu/store/klrrb07aysli7pr90v9rlqbk9bbbkdm8-phd2-2.6.13
/gnu/store/8nmxsypv7syl1v568cfi972k997bjmah-glnemo2-1.21.0
/gnu/store/qiqm65f1gpwqvb4354562k4cmk5vnnba-sextractor-2.28.0
/gnu/store/zn15n151bl873q6z5pw2vmrxxjq91g9g-julia-wcs-0.6.2
/gnu/store/9zpxqd2rwckzy6xi9wmlpq489a3b84ll-stellarium-24.2
/gnu/store/rhsp7k9gaf35qhgqwmw4ynfyr0apvv5i-imppg-0.6.5
/gnu/store/i6cmrrfsqdcjdai2aqyx50pgr5c5k7bq-gnuastro-0.22
/gnu/store/q8xal91m54rd6j56jjpfwpkp9hch74f5-swarp-2.41.5
/gnu/store/k0l0j3mh601ihw9jj8ll2dddxakhrr14-indi-2.0.8
/gnu/store/q9vnz58wmrfylzcyfwirn51q4m5w68l3-aoflagger-3.4.0
/gnu/store/nym050j7b129kv55cg9kswlpl4fx13r5-siril-1.2.3
/gnu/store/qjwnalk04j3r9bcwbs5zhcrmdki24yh8-python-kanon-0.6.6
/gnu/store/071mvwx4dlfvm62b09arng6qf6zblj8b-python-naima-0.10.0
/gnu/store/b8i5znj8vh0wz2kq0xcjravvyvvcrbkq-python-poliastro-0.17.0
/gnu/store/y2540nlhvrkc1jyd7dvzlgrmd3mp8x6f-python-astroplan-0.10
/gnu/store/pzyimqdd5rmdn2lhj6f732j5s8plrk27-python-regularizepsf-0.3.4
/gnu/store/cxpxslld7ryc92d90r71ar30fdjn0k61-python-sncosmo-2.11.1
/gnu/store/q5imkcphlwhxincl22j4g4wmgvcw2va1-python-viresclient-0.11.6
/gnu/store/badbkwhfdzwn8ndvwcvdqnhhqsfc4b7z-scamp-2.10.0
/gnu/store/811y20h97ci19mkk1qxaf3v7alfkz83b-python-cesium-0.12.1
/gnu/store/8rkv3a7fywh9bdg8yk4z5jpz45lrrgq8-splash-3.10.3
/gnu/store/ng6yvr2fl556l5l69px8j8ak0m1h5x57-alfa-2.2

Sharlatan Hellseher (34):
gnu: Add python-pluggy-next.
gnu: Add python-pytest-8.
gnu: cfitsio: Update to 4.4.1.
gnu: skymaker: Update to 3.10.5.
gnu: skymaker: Fix indentation.
gnu: stellarium: Update to 24.2.
gnu: python-asdf: Update to 3.3.0.
gnu: python-asdf-zarr: Update to 0.0.4.
gnu: python-astropy-iers-data: Update to 0.2024.7.15.0.31.42.
gnu: python-crds: Update to 11.17.26.
gnu: python-czml3: Update to 1.0.1.
gnu: python-czml3: Adjust indentation.
gnu: python-jwst: Update to 1.15.1.
gnu: python-photutils: Update to 1.13.0.
gnu: python-extension-helpers: Update to 1.1.1.
gnu: python-extension-helpers: Enable tests.
gnu: python-pytest-openfiles: Update to 0.6.0.
gnu: python-pytest-openfiles: Simplify package.
gnu: python-stpipe: Update to 0.6.0.
gnu: python-stpipe: Improve indentation.
gnu: python-stdatamodels: Update to 2.0.0.
gnu: python-sunpy: Update to 5.1.5.
gnu: python-tweakwcs: Update to 0.8.8.
gnu: python-fast-histogram: Adjust inputs.
gnu: Add python-dunamai.
gnu: Add python-poetry-dynamic-versioning.
gnu: Add python-kanon.
gnu: Add python-ads.
gnu: Add python-sbpy.
gnu: Add python-echo.
gnu: Add python-mpl-scatter-density.
gnu: Add python-glue-core.
gnu: Add python-looseversion.
gnu: Add python-sncosmo.

gnu/packages/astronomy.scm | 482 ++++++++++++++++++++++++++------
gnu/packages/check.scm | 30 ++
gnu/packages/python-build.scm | 12 +
gnu/packages/python-check.scm | 16 +-
gnu/packages/python-science.scm | 46 ++-
gnu/packages/python-xyz.scm | 211 ++++++++++++--
6 files changed, 666 insertions(+), 131 deletions(-)


base-commit: 1fa4d658d808202f98003d1488f8e44daee370a9
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 04/34] gnu: skymaker: Update to 3.10.5.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
f6841eb33eb9bf3e70ba639767ee7e355ea263b5.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (skymaker): Update to 3.10.5.

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

Toggle diff (47 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index bbffe744ab..ae2593e8e4 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1467,27 +1467,24 @@ (define-public splash
(license license:gpl2+)))
(define-public skymaker
- ;; XXX: No version tag available in GitHub.
- ;; See: https://github.com/astromatic/skymaker/issues/3
- (let ((commit "1a69c4716bdc9b5c6d4a917b0bc2dbd47635c459")
- (revision "0"))
(package
(name "skymaker")
- (version (git-version "4.2.0" revision commit))
+ (version "3.10.5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/astromatic/skymaker")
- (commit commit)))
+ (commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1vin4vgvcmqmwjdchsxnap374559rksz55xmaliawnl3qpzxn1nk"))))
+ (base32 "0kcy0lfm25gihahpr41ghhw3b8znzczzg9rrlkfih043h2pfsm5l"))))
(build-system gnu-build-system)
(arguments
(list
#:configure-flags
#~(list
+ "CPPFLAGS=-fcommon"
(string-append
"--with-fftw-libdir=" #$(this-package-input "fftwf") "/lib")
(string-append
@@ -1503,7 +1500,7 @@ (define-public skymaker
object lists in ASCII generated by the Stuff program to produce realistic
astronomical fields. SkyMaker is part of the
@uref{https://www.astromatic.net/projects/efigi, EFIGI} development project.")
- (license license:gpl3+))))
+ (license license:gpl3+)))
(define-public stackistry
(package
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 08/34] gnu: python-asdf-zarr: Update to 0.0.4.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
5dd4a0bfcb38ebae2aa1937b9db821442da06493.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-asdf-zarr): Update to 0.0.4.

Change-Id: I4bb166d2b2c89d9159a52da91ea581a0c41614e1
---
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 7623b72fb4..31da463f26 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4832,13 +4832,13 @@ (define python-asdf-unit-schemas
(define-public python-asdf-zarr
(package
(name "python-asdf-zarr")
- (version "0.0.3")
+ (version "0.0.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asdf_zarr" version))
(sha256
- (base32 "0ax7c9xarh6fi2yxm1z2p90mc3d57q23a7wc8av30xg8ririrl4s"))))
+ (base32 "0xddz4hnsypyvqxhi43alaqh2vl1ripcl4p63qn6dk2v90lra8c0"))))
(build-system pyproject-build-system)
(propagated-inputs
(list python-asdf python-fsspec python-zarr))
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 01/34] gnu: Add python-pluggy-next.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
db9051c44d3463a74480d66b56f964b50f1d7494.1721514686.git.sharlatanus@gmail.com
* gnu/packages/python-build.scm (python-pluggy-next): New variable.

Change-Id: If3ec3f930a799df9602db71112a6c6a5272b524c
---
gnu/packages/python-build.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)

Toggle diff (25 lines)
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 71f9e5c7da..72da369208 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -87,6 +87,18 @@ (define-public python-pluggy
(home-page "https://pypi.org/project/pluggy/")
(license license:expat)))
+(define-public python-pluggy-next
+ (package/inherit python-pluggy
+ (name "python-pluggy")
+ (version "1.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pluggy" version))
+ (sha256
+ (base32 "1w8c3mpliqm9biqw75ci8cfj1x5pb6g5zwblqp27ijgxjj7aizrc"))))
+ (build-system pyproject-build-system)))
+
(define-public python-toml
(package
(name "python-toml")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 02/34] gnu: Add python-pytest-8.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
1a2de918836ed5b250461b38f8ed0ee22f7e64a9.1721514686.git.sharlatanus@gmail.com
* gnu/packages/check.scm (python-pytest-8): New variable.

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

Toggle diff (43 lines)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 3bfcf5a37e..77e5bd6ef6 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1388,6 +1388,36 @@ (define-public python-pytest
and many external plugins.")
(license license:expat)))
+(define-public python-pytest-8
+ (package/inherit python-pytest
+ (name "python-pytest")
+ (version "8.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest" version))
+ (sha256
+ (base32 "0xvr25qvmdh6z03jpgg24adhgqkvkal2g2v8vk63j6909q8bhjyy"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-k" (string-append
+ "not test_code_highlight_continuation"
+ " and not test_code_highlight"
+ " and not test_code_highlight_custom_theme"
+ " and not test_code_highlight_invalid_theme"
+ " and not test_code_highlight_invalid_theme_mode"
+ " and not test_code_highlight_simple"
+ " and not test_color_yes"
+ " and not test_comparisons_handle_colors"
+ " and not test_empty_NO_COLOR_and_FORCE_COLOR_ignored"
+ " and not test_remove_dir_prefix"))))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs python-pytest)
+ (append python-exceptiongroup)
+ (replace "python-pluggy" python-pluggy-next)))))
+
(define-public python-pytest-next
(package/inherit python-pytest
(name "python-pytest")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 03/34] gnu: cfitsio: Update to 4.4.1.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
af8bc4bbb8421dd5d740f88e4b586c00c4fb3470.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (cfitsio): Update to 4.4.1.

Change-Id: Ia589fb141192b59ee5e422a8106da89dff931e85
---
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 01ef7304d9..bbffe744ab 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -536,7 +536,7 @@ (define-public celestia-gtk
(define-public cfitsio
(package
(name "cfitsio")
- (version "4.4.0")
+ (version "4.4.1")
(source
(origin
(method url-fetch)
@@ -544,7 +544,7 @@ (define-public cfitsio
"https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/"
"cfitsio-" version ".tar.gz"))
(sha256
- (base32 "1abb4ky6pjyi9f9ly8qjmkb5h25d5xxqlrxrgjg86q77bbwhr44m"))))
+ (base32 "098x1l8ijwsjp2ivp3v7pamrmpgwj5xmgb4yppm9w3w044zxr8b6"))))
(build-system gnu-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 05/34] gnu: skymaker: Fix indentation.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
d2b03f666498c1f0eb450aab18f25004ceb40d46.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (skymaker): Fix indentation.

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

Toggle diff (78 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ae2593e8e4..98e08fb6bd 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1467,40 +1467,40 @@ (define-public splash
(license license:gpl2+)))
(define-public skymaker
- (package
- (name "skymaker")
- (version "3.10.5")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/astromatic/skymaker")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0kcy0lfm25gihahpr41ghhw3b8znzczzg9rrlkfih043h2pfsm5l"))))
- (build-system gnu-build-system)
- (arguments
- (list
- #:configure-flags
- #~(list
- "CPPFLAGS=-fcommon"
- (string-append
- "--with-fftw-libdir=" #$(this-package-input "fftwf") "/lib")
- (string-append
- "--with-fftw-incdir=" #$(this-package-input "fftwf") "/include"))))
- (native-inputs
- (list autoconf automake libtool pkg-config))
- (inputs
- (list fftwf))
- (home-page "https://www.astromatic.net/software/skymaker")
- (synopsis "Astronomical image simulator")
- (description
- "SkyMaker is a program that simulates astronomical images. It accepts
+ (package
+ (name "skymaker")
+ (version "3.10.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/astromatic/skymaker")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0kcy0lfm25gihahpr41ghhw3b8znzczzg9rrlkfih043h2pfsm5l"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list
+ "CPPFLAGS=-fcommon"
+ (string-append
+ "--with-fftw-libdir=" #$(this-package-input "fftwf") "/lib")
+ (string-append
+ "--with-fftw-incdir=" #$(this-package-input "fftwf") "/include"))))
+ (native-inputs
+ (list autoconf automake libtool pkg-config))
+ (inputs
+ (list fftwf))
+ (home-page "https://www.astromatic.net/software/skymaker")
+ (synopsis "Astronomical image simulator")
+ (description
+ "SkyMaker is a program that simulates astronomical images. It accepts
object lists in ASCII generated by the Stuff program to produce realistic
astronomical fields. SkyMaker is part of the
@uref{https://www.astromatic.net/projects/efigi, EFIGI} development project.")
- (license license:gpl3+)))
+ (license license:gpl3+)))
(define-public stackistry
(package
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 06/34] gnu: stellarium: Update to 24.2.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
184bc0bc3f824f9afe899a94cd17cec768e1a0a7.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (stellarium): Update to 24.2.

Change-Id: I316fee7463b9185fa264fdcd68e55f424b2d8f32
---
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 98e08fb6bd..96a5bd4004 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1566,7 +1566,7 @@ (define-public stackistry
(define-public stellarium
(package
(name "stellarium")
- (version "24.1")
+ (version "24.2")
(source
(origin
(method git-fetch)
@@ -1575,7 +1575,7 @@ (define-public stellarium
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "15r8vg1xb4q8vwy10dfs4543bg6r3463sgrpkqk6fpxx46d8axxp"))))
+ (base32 "01iq1cxbhr3xknzpk4spflxj3msf9wk19b4lqlifi1pwaz18pb5n"))))
(build-system cmake-build-system)
;; TODO: Complete documentation build and split into dedicated outputs.
(arguments
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 07/34] gnu: python-asdf: Update to 3.3.0.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
7d54b1076193a20064721d3245a8da39880d5b6f.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-asdf): Update to 3.3.0.
[native-inputs]: Remove python-pytest; add python-pytest-8.

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

Toggle diff (39 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 96a5bd4004..7623b72fb4 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -740,18 +740,18 @@ (define-public python-aplpy
(define-public python-asdf
(package
(name "python-asdf")
- (version "3.2.0")
+ (version "3.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asdf" version))
(sha256
- (base32 "1wj556g15gwp6ir5hg083l15sifdsf23giqkx0jbn4lgdwjffbgr"))))
+ (base32 "0pwy8p3idz40a1z07d0lvvd0mwwya8g52wrp72frgpagjkvj3ska"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- #~(list "-n" "auto" "-p" "no:legacypath")
+ #~(list "-p" "no:legacypath")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-pypojrect-toml
@@ -767,7 +767,9 @@ (define-public python-asdf
(list python-fsspec
python-packaging
python-psutil
- python-pytest
+ ;; 3.3.0+ requries newer version of pytest, see
+ ;; <https://github.com/asdf-format/asdf/issues/1804>.
+ python-pytest-8
python-pytest-doctestplus
python-pytest-remotedata
python-pytest-xdist
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 15/34] gnu: python-extension-helpers: Update to 1.1.1.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
5606a0f41d4618513c70d847022bda173e02bb3e.1721514686.git.sharlatanus@gmail.com
* gnu/packages/python-xyz.scm (python-extension-helpers): Update to 1.1.1.

Change-Id: Ia5fa0b445232314134d0127add75fcf2082bbc59
---
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 fcf01f3d04..036bda6262 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5047,13 +5047,13 @@ (define-public python-exceptiongroup
(define-public python-extension-helpers
(package
(name "python-extension-helpers")
- (version "1.0.0")
+ (version "1.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "extension-helpers" version))
(sha256
- (base32 "1rjha07ds633fb81hn3i2yzk3v2flbi6qa091ix4mkvrgk3gl6ya"))))
+ (base32 "001zd6gfs9yrwjny1fxzycxx0kcasshlyl6rh1kgzm13ll2d6pgr"))))
(build-system pyproject-build-system)
;; FIXME: pytest failed to load test suit, find out why.
;; - _pytest.pathlib.ImportPathMismatchError: ('extension_helpers.conftes
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 09/34] gnu: python-astropy-iers-data: Update to 0.2024.7.15.0.31.42.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
2b07e95fd8eae3ffc3ae813f1ca85212c508a2d2.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-astropy-iers-data): Update to 0.2024.7.15.0.31.42.

Change-Id: I14116d99a5852b389e1b7695c479a6a98c86f8fd
---
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 31da463f26..c642e4dbcd 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1782,13 +1782,13 @@ (define-public python-astropy-iers-data
;; In case of changing the source method git-fetch, consider to check the
;; tag as it's not following the PyPI version, see
;; <https://github.com/astropy/astropy-iers-data/issues/17>.
- (version "0.2024.6.17.0.31.35")
+ (version "0.2024.7.15.0.31.42")
(source
(origin
(method url-fetch)
(uri (pypi-uri "astropy_iers_data" version))
(sha256
- (base32 "1sqp7g3akbv0d10jil5rkssldc5j57xqnl7wyg2dy5ayk2hdrq56"))))
+ (base32 "18wpqjyjqpxhp1x9rh1dxqmmif2amsbwwbw0zwfjh0dyrbb28c3h"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 10/34] gnu: python-crds: Update to 11.17.26.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
a499c3ee151f5539d64bd842c0637178ffe1bf52.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-crds): Update to 11.17.26.

Change-Id: Ifdee55f01db207bb36d8e408d393d51865927579
---
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 c642e4dbcd..20063c3b06 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2172,13 +2172,13 @@ (define-public python-cmyt
(define-public python-crds
(package
(name "python-crds")
- (version "11.17.25")
+ (version "11.17.26")
(source
(origin
(method url-fetch)
(uri (pypi-uri "crds" version))
(sha256
- (base32 "18j0mn11nfgnbx42h1hzhfmyzg9ww9bgmrjxss8ni98kdj35q9kv"))))
+ (base32 "1qw1j3gz8l2z4ra33hl4zblc90kvwjf2ajb343n0xmf7lzs1gwc7"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 17/34] gnu: python-pytest-openfiles: Update to 0.6.0.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
6e5b99f70a1d9fb51d76bb5aee6b619505e143ef.1721514686.git.sharlatanus@gmail.com
* gnu/packages/python-check.scm (python-pytest-openfiles): Update to 0.6.0.

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

Toggle diff (23 lines)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index cb46af3490..b6e401b443 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -840,13 +840,13 @@ (define-public python-pytest-metadata
(define-public python-pytest-openfiles
(package
(name "python-pytest-openfiles")
- (version "0.5.0")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "pytest-openfiles" version))
+ (uri (pypi-uri "pytest_openfiles" version))
(sha256
- (base32 "0n0a7fdc9m86360y96l23fvdmd6rw04bl6h5xqgl9qxfv08jk70p"))))
+ (base32 "14x9f1l9a5ghf527i5qfcfa003mkrky1dhx2hfwq5nma9v1n0lgz"))))
(build-system python-build-system)
(arguments
'(#:phases
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 18/34] gnu: python-pytest-openfiles: Simplify package.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
3a3ec20af8809309ced91febedfa894ea7c456f3.1721514686.git.sharlatanus@gmail.com
* gnu/packages/python-check.scm (python-pytest-openfiles)
[build-system]: Swap to pyproject-build-system.
[arguments]: <#:phases>: Use default 'chck phase.

Change-Id: I3bbbacd8694afdfee020f11d37f5c035bdad73f9
---
gnu/packages/python-check.scm | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index b6e401b443..74e833686f 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -847,15 +847,7 @@ (define-public python-pytest-openfiles
(uri (pypi-uri "pytest_openfiles" version))
(sha256
(base32 "14x9f1l9a5ghf527i5qfcfa003mkrky1dhx2hfwq5nma9v1n0lgz"))))
- (build-system python-build-system)
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- ;; Make the installed plugin discoverable by Pytest.
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv"))))))
+ (build-system pyproject-build-system)
(native-inputs
(list python-setuptools-scm python-pytest))
(propagated-inputs
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 11/34] gnu: python-czml3: Update to 1.0.1.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
eb87b7106f8c8beb582454b882963959d38296c1.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-czml3): Update to 1.0.1.

Change-Id: Ib9d21c24befcebb81455dafd4563570b97570613
---
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 20063c3b06..4f51cbfc63 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2217,7 +2217,7 @@ (define-public python-crds
(define-public python-czml3
(package
(name "python-czml3")
- (version "0.7.0")
+ (version "1.0.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2226,7 +2226,7 @@ (define-public python-czml3
(file-name (git-file-name name version))
(sha256
(base32
- "0pbwcsmc9nw591rck586ca9hwwhmm54rjjmp8gflhzq8b7f48lkc"))))
+ "1vm9ajpnwxncvsl1ix3jarqyi14b0703g12wsr8b0agkrjlpmvmx"))))
(build-system pyproject-build-system)
(propagated-inputs
(list python-attrs
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 12/34] gnu: python-czml3: Adjust indentation.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
3cc0eca93ad5aeb8e5d98e6c2b45d52861a60f68.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-czml3): Adjust indentation.

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

Toggle diff (31 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 4f51cbfc63..65a9b733a1 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2218,15 +2218,15 @@ (define-public python-czml3
(package
(name "python-czml3")
(version "1.0.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/poliastro/czml3")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1vm9ajpnwxncvsl1ix3jarqyi14b0703g12wsr8b0agkrjlpmvmx"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/poliastro/czml3")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1vm9ajpnwxncvsl1ix3jarqyi14b0703g12wsr8b0agkrjlpmvmx"))))
(build-system pyproject-build-system)
(propagated-inputs
(list python-attrs
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 13/34] gnu: python-jwst: Update to 1.15.1.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
8a4d5b1296d437f419aa99fe9b427e060fc6bc0f.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-jwst): Update to 1.15.1.

Change-Id: I19b2c0eb1a27857c5df1b2c356248c279adeab81
---
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 65a9b733a1..73deeef890 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4147,13 +4147,13 @@ (define-public python-jplephem
(define-public python-jwst
(package
(name "python-jwst")
- (version "1.14.0")
+ (version "1.15.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "jwst" version))
(sha256
(base32
- "0knl2x0z3djsln8mi3a4bkxjz49iwmnr1v6wwsk13zvpkfq21vv4"))
+ "1nl5fixakqvjhg9q5biivwaqpi6lzx9w4fq0n6imwccag2gv1va3"))
(modules '((guix build utils)))
(snippet
'(begin
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 20/34] gnu: python-stpipe: Improve indentation.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
0c4945e765f8d1b70eb4f098987744c0ff8ec26d.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-stpipe): Improve indentation.

Change-Id: I0889f1374aa0024c34eaf9a670c3d8beda40011a
---
gnu/packages/astronomy.scm | 42 ++++++++++++++++++++++----------------
1 file changed, 24 insertions(+), 18 deletions(-)

Toggle diff (61 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index b5eb1527d0..e3494c9b07 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3523,30 +3523,36 @@ (define-public python-stpipe
(package
(name "python-stpipe")
(version "0.6.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "stpipe" version))
- (sha256
- (base32
- "0iipbz5ydxxxk44q8ab0ylk7jpxjfhag4vgkhvpj67zs4s45sd8a"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; Replace reference to external configobj.
- (substitute* (find-files "." "\\.py$")
- (("from astropy.extern import configobj") "import configobj")
- (("from astropy.extern.configobj import validate") "import validate")
- (("from astropy.extern.configobj.configobj import ") "from configobj import ")
- (("from astropy.extern.configobj.validate import ") "from validate import "))))))
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "stpipe" version))
+ (sha256
+ (base32 "0iipbz5ydxxxk44q8ab0ylk7jpxjfhag4vgkhvpj67zs4s45sd8a"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Replace reference to external configobj.
+ (substitute* (find-files "." "\\.py$")
+ (("from astropy.extern import configobj") "import configobj")
+ (("from astropy.extern.configobj import validate") "import validate")
+ (("from astropy.extern.configobj.configobj import ") "from configobj import ")
+ (("from astropy.extern.configobj.validate import ") "from validate import "))))))
(arguments
(list
;; See https://github.com/spacetelescope/stpipe/issues/114
#:test-flags #~(list "-k" "not test_roman_datamodel")))
(build-system pyproject-build-system)
(propagated-inputs
- (list python-asdf python-astropy python-crds python-stdatamodels))
- (native-inputs (list python-pytest python-pytest-doctestplus
- python-pytest-openfiles python-setuptools-scm))
+ (list python-asdf
+ python-astropy
+ python-crds
+ python-stdatamodels))
+ (native-inputs
+ (list python-pytest
+ python-pytest-doctestplus
+ python-pytest-openfiles
+ python-setuptools-scm))
(home-page "https://github.com/spacetelescope/stpipe")
(synopsis "Framework for calibration pipeline software")
(description
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 14/34] gnu: python-photutils: Update to 1.13.0.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
f3324658cbacf36c37308ac00224621bfb373cc3.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-photutils): Update to 1.13.0.
[native-inputs]: Remove python-cython; add python-cython-3.

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

Toggle diff (31 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 73deeef890..da63bbc5d0 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2499,13 +2499,13 @@ (define-public python-photutils
(name "python-photutils")
;; PyPI version for source archive is missing minor 0, See
;; <https://github.com/astropy/photutils/issues/1727>
- (version "1.12")
+ (version "1.13.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "photutils" version))
(sha256
- (base32 "0y4kcj6qjnzwjswc0c2iimh11b0jz6b9ianbh58w4gnb4y71lr6r"))))
+ (base32 "1lhpcxh2adknzlmrddqd712yzpwdlqlw9jn49ajj4kz5z7822dns"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -2548,7 +2548,7 @@ (define-public python-photutils
python-shapely
python-tqdm))
(native-inputs
- (list python-cython
+ (list python-cython-3
python-extension-helpers
python-pytest-astropy
python-pytest-xdist
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 16/34] gnu: python-extension-helpers: Enable tests.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
e82dff70f04dac642170c05cab79f8e2ec5b9080.1721514686.git.sharlatanus@gmail.com
* gnu/packages/python-xyz.scm (python-extension-helpers): Adjust
indentation.
[source]: Swap to git checkout which contains tests.
[arguments]: <#:tests-flags>: Disable one failing tests.
<#:phases>: Add 'set-version phase. Use custom 'check phase.
[native-inputs]: Remove python-coverage. Add python-tomli.

Change-Id: I8a04811e43bc0f1c2e0761aca87c4888a1444fc1
---
gnu/packages/python-xyz.scm | 66 +++++++++++++++++++++++--------------
1 file changed, 42 insertions(+), 24 deletions(-)

Toggle diff (82 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 036bda6262..7ef8488bfc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5045,33 +5045,51 @@ (define-public python-exceptiongroup
(license license:expat)))
(define-public python-extension-helpers
-(package
- (name "python-extension-helpers")
- (version "1.1.1")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "extension-helpers" version))
- (sha256
- (base32 "001zd6gfs9yrwjny1fxzycxx0kcasshlyl6rh1kgzm13ll2d6pgr"))))
- (build-system pyproject-build-system)
- ;; FIXME: pytest failed to load test suit, find out why.
- ;; - _pytest.pathlib.ImportPathMismatchError: ('extension_helpers.conftes
- (arguments (list #:tests? #f))
- (native-inputs
- (list python-coverage
- python-pytest
- python-pytest-astropy
- python-pytest-cov
- python-setuptools-scm))
- (home-page "https://extension-helpers.readthedocs.io")
- (synopsis "Astropy ecosystem utilities for building and installing packages")
- (description
- "The extension-helpers package includes convenience helpers to assist with
+ (package
+ (name "python-extension-helpers")
+ (version "1.1.1")
+ (source
+ (origin
+ (method git-fetch) ; no tests in the PyPI tarball
+ (uri (git-reference
+ (url "https://github.com/astropy/extension-helpers")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1lkhypg21ydx03z03dppbf05zff40dyl0kn6nichzfdfpqnr5055"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; It tries to install it via pip: E ModuleNotFoundError: No module named
+ ;; 'helpers_test_package_fd9cc3a9_11fa_4a1a_b80e_c5b043949604'
+ #:test-flags #~(list "-k" "not test_only_pyproject[True]")
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; LookupError: setuptools-scm was unable to detect version for
+ ;; /tmp/guix-build-python-extension-helpers-1.1.1.drv-0/source.
+ (add-before 'build 'set-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
+ (replace 'check
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" "/tmp")
+ (with-directory-excursion "/tmp"
+ (apply invoke "pytest" "-v" test-flags))))))))
+ (native-inputs
+ (list python-pytest
+ python-pytest-astropy
+ python-pytest-cov
+ python-setuptools-scm
+ python-tomli))
+ (home-page "https://extension-helpers.readthedocs.io")
+ (synopsis "Astropy ecosystem utilities for building and installing packages")
+ (description
+ "The extension-helpers package includes convenience helpers to assist with
building Python packages with compiled C/Cython extensions. It is developed by
the Astropy project but is intended to be general and usable by any Python
package.")
- (license license:bsd-3)))
+ (license license:bsd-3)))
(define-public python-extras
(package
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 19/34] gnu: python-stpipe: Update to 0.6.0.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
fa150977abed5e05422da428d5fa3c34a7033309.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-stpipe): Update to 0.6.0.

Change-Id: I381ba0d90aeb78055669c3d063bc82ae54ad42df
---
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 da63bbc5d0..b5eb1527d0 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3522,13 +3522,13 @@ (define-public python-stdatamodels
(define-public python-stpipe
(package
(name "python-stpipe")
- (version "0.5.2")
+ (version "0.6.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "stpipe" version))
(sha256
(base32
- "0r29m143ll1j9irixazrkqggzg9xbkcw7fl9xmi69zpxbh5mjgz0"))
+ "0iipbz5ydxxxk44q8ab0ylk7jpxjfhag4vgkhvpj67zs4s45sd8a"))
(modules '((guix build utils)))
(snippet
'(begin
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 26/34] gnu: Add python-poetry-dynamic-versioning.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
ad1f3e52559ca75b8e153cb8178f2fe65aac597c.1721514687.git.sharlatanus@gmail.com
* gnu/packages/python-xyz.scm (python-poetry-dynamic-versioning): New
variable.

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

Toggle diff (53 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 195437c72d..d36c96004e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1765,6 +1765,46 @@ (define-public python-plotille
scatter plots, histograms and heatmaps in the terminal using braille dots.")
(license license:expat)))
+(define-public python-poetry-dynamic-versioning
+ (package
+ (name "python-poetry-dynamic-versioning")
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "poetry_dynamic_versioning" version))
+ (sha256
+ (base32 "19v9jrawbx1nwnwrd6giyzwfq50y2mjzkrsx0ga2sbx2a2yphlbj"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "--ignore=tests/test_integration.py"
+ ;; E RuntimeError: Unable to detect version control system. Not
+ ;; installed: Git, Mercurial, Darcs, Subversion, Bazaar, Fossil,
+ ;; Pijul.
+ "-k"
+ (string-append
+ "not test__get_version__defaults"
+ " and not test__get_version__format_jinja"
+ " and not test__get_version__format_jinja_with_enforced_style"
+ " and not test__get_version__format_jinja_imports_with_module_only"
+ " and not test__get_version__format_jinja_imports_with_module_and_item"))))
+ (native-inputs
+ (list python-poetry-core
+ python-pytest))
+ (propagated-inputs
+ (list poetry
+ python-dunamai
+ python-jinja2
+ python-tomlkit))
+ (home-page "https://github.com/mtkennerly/poetry-dynamic-versioning")
+ (synopsis "Poetry plugin enabling VCS tags dynamic versioning")
+ (description
+ "This package provides a build backend that patches Poetry Core to enable
+the versioning system in PEP 517 build frontends.")
+ (license license:expat)))
+
(define-public python-portpicker
(package
(name "python-portpicker")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 21/34] gnu: python-stdatamodels: Update to 2.0.0.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
8d8f928ac6588ef1cdd84bee3bb78dec55e1b70f.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-stdatamodels): Update to 2.0.0.

Change-Id: I98fcdc66ea6bf161503139a6192316a3748f0215
---
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 e3494c9b07..43b0f217c1 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3477,13 +3477,13 @@ (define-public python-stcal
(define-public python-stdatamodels
(package
(name "python-stdatamodels")
- (version "1.10.1")
+ (version "2.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "stdatamodels" version))
(sha256
- (base32 "1h0imp6j9qrjadhvvqcgrx6dq94qhi0023c8c8r2wddhqrh0h5lg"))))
+ (base32 "0a47xf1zv71kv166z6rd9v75bw0jjmg70180af4yi4v4y7gnxvmm"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 22/34] gnu: python-sunpy: Update to 5.1.5.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
cdc9ac4acbf0c3a50427e8323f50dc0230d6bdda.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-sunpy): Update to 5.1.5.

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

Toggle diff (29 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 43b0f217c1..9814557b99 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2952,19 +2952,19 @@ (define-public python-sgp4
(define-public python-sunpy
(package
(name "python-sunpy")
- (version "5.1.4")
+ (version "5.1.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sunpy" version))
(sha256
- (base32 "0c41h0ml8wh1jfjpny824jpjnaw6rrm6vklvjk2h1sw2iza71syb"))))
+ (base32 "1jdkkcv247chsj08wrxxv0m577ji5cg7mxx5pw7q0ahmnq93xk2p"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
#~(list
- "-n" "auto"
+ "--numprocesses" "auto"
"-k" (string-append
;; XXX: Failed: DID NOT RAISE <class 'ModuleNotFoundError'>
;; It struggles to find python-opencsv package info with
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 23/34] gnu: python-tweakwcs: Update to 0.8.8.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
2d967df8f803989b150b30fdf0282818f3235f76.1721514686.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-tweakwcs): Update to 0.8.8.

Change-Id: I9a324c7ec06e960da0fdd23c3b005c0351af8fef
---
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 9814557b99..e8a1f52f26 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5118,13 +5118,13 @@ (define-public python-skyfield
(define-public python-tweakwcs
(package
(name "python-tweakwcs")
- (version "0.8.7")
+ (version "0.8.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "tweakwcs" version))
(sha256
- (base32 "0cch4z5zmmi1s02n1wdwss8p7qhrzyiajkaik0gga510kgdsvx48"))))
+ (base32 "148as0x1szk1wv13bwk947qs3rw5xj2286ccdbhzfzarng58a386"))))
(build-system pyproject-build-system)
(propagated-inputs
(list python-astropy
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 24/34] gnu: python-fast-histogram: Adjust inputs.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
5606b510e79a09fe64edfab6b8ab66bb9bc7f9eb.1721514686.git.sharlatanus@gmail.com
* gnu/packages/python-science.scm (python-fast-histogram): Fix lint
warnings and adjust inputs.
[native-inputs]: Add python-setuptools-scm.

Change-Id: Ic51660d7542114f2bb45be4720ab4d899633e56d
---
gnu/packages/python-science.scm | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)

Toggle diff (33 lines)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 8ba3432637..7012a942d3 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1551,17 +1551,20 @@ (define-public python-fast-histogram
(lambda _
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
(propagated-inputs (list python-numpy))
- (native-inputs (list python-hypothesis python-pytest))
+ (native-inputs
+ (list python-hypothesis
+ python-pytest
+ python-setuptools-scm))
(home-page "https://github.com/astrofrog/fast-histogram")
(synopsis "Fast simple 1D and 2D histograms")
(description
"The fast-histogram mini-package aims to provide simple and fast
-histogram functions for regular bins that don't compromise on performance. It
+histogram functions for regular bins that don't compromise on performance. It
doesn't do anything complicated - it just implements a simple histogram
-algorithm in C and keeps it simple. The aim is to have functions that are fast
-but also robust and reliable. The result is a 1D histogram function here that
-is 7-15x faster than @code{numpy.histogram}, and a 2D histogram function that
-is 20-25x faster than @code{numpy.histogram2d}.")
+algorithm in C and keeps it simple. The aim is to have functions that are
+fast but also robust and reliable. The result is a 1D histogram function here
+that is 7-15x faster than @code{numpy.histogram}, and a 2D histogram function
+that is 20-25x faster than @code{numpy.histogram2d}.")
(license license:bsd-3)))
(define-public python-fastcluster
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 25/34] gnu: Add python-dunamai.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
4c678ae477d1e4a80f6defb86d2da080445fdd36.1721514686.git.sharlatanus@gmail.com
* gnu/packages/python-xyz.scm (python-dunamai): New variable.

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

Toggle diff (54 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7ef8488bfc..195437c72d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23435,6 +23435,47 @@ (define-public python-dulwich
;; Can be used with either license.
(license (list license:asl2.0 license:gpl2+))))
+(define-public python-dunamai
+ (package
+ (name "python-dunamai")
+ (version "1.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "dunamai" version))
+ (sha256
+ (base32 "1i35i8ym6n8mpgrq31hivrvfciy12gv26jwlzimmkx9jy2spz0h5"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-k" "not test__version__from_git__shallow")
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; These steps are taked from NixOS package definition:
+ ;; nixpkgs/pkgs/development/python-modules/dunamai/default.nix
+ (add-before 'check 'pre-check
+ (lambda _
+ (setenv "PATH" (string-append #$output "/bin:" (getenv "PATH")))
+ (setenv "HOME" "/tmp")
+ (invoke "git" "config" "--global" "user.email" "nobody@example.com")
+ (invoke "git" "config" "--global" "user.name" "Nobody"))))))
+ (propagated-inputs
+ (list python-packaging))
+ (native-inputs
+ (list git-minimal
+ python-poetry-core
+ python-pytest))
+ (home-page "https://github.com/mtkennerly/dunamai")
+ (synopsis "Dynamic version generation")
+ (description
+ "Dunamai is Python library and command line tool for producing dynamic,
+standards-compliant version strings, derived from tags in your version control
+system. This facilitates uniquely identifying nightly or per-commit builds in
+continuous integration and releasing new versions of your software simply by
+creating a tag.")
+ (license license:expat)))
+
(define-public python-pbkdf2
(package
(name "python-pbkdf2")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 27/34] gnu: Add python-kanon.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
f7f24203b3b40d459daef5aecb11cbf356637e79.1721514687.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-kanon): New variable.

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

Toggle diff (96 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index e8a1f52f26..fa832ee93f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2381,6 +2381,89 @@ (define-public python-hvpy
@url{Helioviewer API, https://api.helioviewer.org/docs/v2/}.")
(license license:bsd-2)))
+(define-public python-kanon
+ (package
+ (name "python-kanon")
+ (version "0.6.6")
+ (source
+ (origin
+ (method git-fetch) ; no release in PyPI
+ (uri (git-reference
+ (url "https://github.com/ALFA-project-erc/kanon")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0sg9yrsas5xmhbw6mhfyxsxh9i060af6v02whr9fqgv687fiyrhc"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list ;"--numprocesses" "auto"
+ ;; XXX: This tests failing a lot.
+ "-k" (string-append "not test_attribute_forwardin"
+ " and not test_declination"
+ " and not test_init_basedquantity"
+ " and not test_ptolemy_viz"
+ " and not test_ptolemy_viz"
+ " and not test_quantity"
+ " and not test_read"
+ " and not test_shifting"
+ " and not test_sun_true_position"
+ " and not test_sun_true_position")
+ "--ignore=kanon/tables/__init__.py")
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; See <https://github.com/ALFA-project-erc/kanon/issues/149>.
+ (delete 'sanity-check)
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("version = \"0.0.0\"") (string-append "version = \"" #$version "\""))
+ ;; RuntimeError: Unable to detect version control
+ ;; system. Checked: Git. Not installed: Mercurial, Darcs,
+ ;; Subversion, Bazaar, Fossil, Pijul. See
+ ;; <https://github.com/blacklanternsecurity/bbot/issues/1257>.
+ (("enable = true") "enable = false"))))
+ (add-before 'check 'prepare-test-environment
+ (lambda _
+ (setenv "HOME" "/tmp"))))))
+ (native-inputs
+ (list git-minimal
+ python-poetry-core
+ python-poetry-dynamic-versioning
+ python-pytest-astropy
+ python-pytest-xdist
+ python-requests-mock))
+ (propagated-inputs
+ (list python-astropy
+ python-matplotlib
+ python-numpy
+ python-pandas-1
+ python-requests
+ python-scipy
+ ;; Optional
+ python-ipykernel
+ python-papermill))
+ (home-page "https://dishas.obspm.fr")
+ (synopsis "History of astronomy")
+ (description "This package provides a history of astronomy library.
+Current Features:
+@itemize
+@item define standard positional numeral systems with standard arithmetics
+(BasedReal)
+@item set your own precision contexts and algorithms on arithmetical
+operations (PrecisionContext)
+@item keep track of all operations
+@item build or import ancient astronomical tables
+@item perform arithmetical and statistical operations
+@item support for BasedReal values
+@item define new calendar types
+@item date conversions
+@item collection of mathematical models used for all kinds of geocentric
+astronomical tables
+@end itemize")
+ (license license:bsd-3)))
+
(define-public python-mpl-animators
(package
(name "python-mpl-animators")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 28/34] gnu: Add python-ads.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
79d4504b350f1d63cc0773951669fcada6d560d1.1721514687.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-ads): New variable.

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

Toggle diff (46 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index fa832ee93f..c25e49e411 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -89,6 +89,7 @@ (define-module (gnu packages astronomy)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
#:use-module (gnu packages video)
+ #:use-module (gnu packages web)
#:use-module (gnu packages wxwidgets)
#:use-module (gnu packages xiph)
#:use-module (gnu packages xml)
@@ -677,6 +678,31 @@ (define-public psfex
model-fitting photometry or morphological analyses.")
(license license:gpl3+)))
+(define-public python-ads
+ (package
+ (name "python-ads")
+ (version "0.12.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ads" version))
+ (sha256
+ (base32 "18aizbsmhwz99flz8n101mi0n0lk3m3qqzfvmxrmjwqvydfypjml"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-httpretty))
+ (propagated-inputs
+ (list python-mock
+ python-requests
+ python-six
+ python-werkzeug))
+ (home-page "http://www.github.com/andycasey/ads/")
+ (synopsis "Python client to NASA's Astrophysics Data System")
+ (description
+ "This package provdies a Python Module to Interact with NASA's
+@acronym{Astrophysics Data System,ADS} that Doesn't Suck™.")
+ (license license:expat)))
+
(define-public python-aplpy
(package
(name "python-aplpy")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 29/34] gnu: Add python-sbpy.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
5c140b14ee050e63958ce9ecec28b6bf63330e4f.1721514687.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-sbpy): New variable.

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

Toggle diff (88 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c25e49e411..307d85578f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -57,6 +57,7 @@ (define-module (gnu packages astronomy)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages image-processing)
+ #:use-module (gnu packages jupyter)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libusb)
#:use-module (gnu packages lua)
@@ -4641,6 +4642,73 @@ (define-public python-pysynphot
spectra, and data.")
(license license:bsd-3))))
+(define-public python-sbpy
+ (package
+ (name "python-sbpy")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sbpy" version))
+ (sha256
+ (base32 "18f3056fgzpvjj43m845wl9znl4dqxs8f8qv3gpay7kik4l8a1fc"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; See <https://github.com/NASA-Planetary-Science/sbpy/issues/397>.
+ #~(list "--ignore=sbpy/spectroscopy/tests/test_specgrad.py"
+ ;; See <https://github.com/NASA-Planetary-Science/sbpy/issues/398>
+ "-k" (string-append "not test_from_fluxd"
+ " and not test_bandpass"
+ " and not test_spectral_density_vega_bp"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-home-env
+ (lambda _
+ ;; Tests require HOME to be set.
+ ;; No such file or directory: '/homeless-shelter/.astropy'
+ (setenv "HOME" "/tmp"))))))
+ (propagated-inputs
+ (list python-ads
+ python-astropy
+ python-astroquery
+ python-ginga
+ python-numpy
+ python-photutils
+ python-pyyaml
+ python-scipy
+ python-synphot))
+ (native-inputs
+ (list python-pytest
+ python-pytest-astropy
+ python-pytest-doctestplus
+ python-pytest-remotedata
+ python-pytest-xdist
+ python-setuptools-scm))
+ (home-page "https://sbpy.org")
+ (synopsis "Python module for small-body planetary astronomy")
+ (description
+ "@code{sbpy} is a package for small-body planetary astronomy. It is
+meant to supplement functionality provided by @code{astropy} with functions
+and methods that are frequently used in the context of planetary astronomy
+with a clear focus on asteroids and comets.
+Features:
+@itemize
+@item observation planning tools tailored to moving objects
+@item photometry models for resolved and unresolved observations
+@item wrappers and tools for astrometry and orbit fitting
+@item spectroscopy analysis tools and models for reflected solar light and
+emission from gas
+@item cometary gas and dust coma simulation and analysis tools
+@item asteroid thermal models for flux estimation and size/albedo estimation
+@item image enhancement tools for comet comae and PSF subtraction tools
+@item lightcurve and shape analysis tools
+@item access tools for various databases for orbital and physical data, as
+well as ephemerides services
+@end itemize")
+ (license license:bsd-3)))
+
(define-public python-sep
(package/inherit libsep
(name "python-sep")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 30/34] gnu: Add python-echo.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
b04a7b33fd4ea69fe5d98fecee5ae4ea04573557.1721514687.git.sharlatanus@gmail.com
* gnu/packages/python-xyz.scm (python-echo): New variable.

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

Toggle diff (49 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d36c96004e..1ac9884c59 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2382,6 +2382,42 @@ (define-public python-easygui
simple function calls.")
(license license:bsd-3)))
+(define-public python-echo
+ (package
+ (name "python-echo")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "echo" version))
+ (sha256
+ (base32 "1hr2kgjmf5gcjbg1mry03ca1dayfwy8mi8as42jfg0apsa3bfvvj"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'start-xorg-server
+ (lambda _
+ ;; The test suite requires a running X server.
+ (system "Xvfb :99 -screen 0 1024x768x24 &")
+ (setenv "DISPLAY" ":99.0"))))))
+ (propagated-inputs
+ (list python-numpy
+ python-qtpy
+ python-pyqt-6))
+ (native-inputs
+ (list python-pytest
+ python-pytest-cov
+ python-setuptools-scm
+ xorg-server-for-tests))
+ (home-page "https://github.com/glue-viz/echo")
+ (synopsis "Callback Properties in Python")
+ (description
+ "Echo is a small library for attaching callback functions to property
+state changes.")
+ (license license:expat)))
+
(define-public python-pymd4c
(package
(name "python-pymd4c")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 31/34] gnu: Add python-mpl-scatter-density.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
fe713d8a30e270d536c000b5a4b083836c0a2a56.1721514687.git.sharlatanus@gmail.com
* gnu/packages/python-science.scm (python-mpl-scatter-density): New variable.

Change-Id: Id4ea80b2c62642affbe1944e0c5126a1c53d16c3
---
gnu/packages/python-science.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 7012a942d3..4bb8ac342d 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -779,6 +779,37 @@ (define-public python-meshzoo
spheres, cubes, etc.")
(license license:gpl3+)))
+(define-public python-mpl-scatter-density
+ (package
+ (name "python-mpl-scatter-density")
+ (version "0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mpl-scatter-density" version))
+ (sha256
+ (base32 "083n4xkwjmxvij9i1xhfnxz8vk39ay0baam4nf0khvcihw47bkna"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; See <https://github.com/astrofrog/mpl-scatter-density/issues/42>.
+ #:test-flags #~(list "-k" "not test_default_dpi")))
+ (propagated-inputs
+ (list python-fast-histogram
+ python-matplotlib
+ python-numpy))
+ (native-inputs
+ (list python-pytest
+ python-pytest-cov
+ python-pytest-mpl
+ python-setuptools-scm))
+ (home-page "https://github.com/astrofrog/mpl-scatter-density")
+ (synopsis "Matplotlib helpers to make density scatter plots")
+ (description
+ "This package provides functionality to make it easy to make scatter
+density maps, both for interactive and non-interactive use.")
+ (license license:bsd-2)))
+
(define-public python-pyamg
(package
(name "python-pyamg")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 32/34] gnu: Add python-glue-core.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
9ee20ccf056c7477a428d99f6659888a297ac4dc.1721514687.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-glue-core): New variable.

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

Toggle diff (58 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 307d85578f..df9f50285f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1147,6 +1147,51 @@ (define-public ginga-qt5
(prepend python-pyqt)))
(synopsis "Qt5 image viewer build based on python-ginga library")))
+(define-public python-glue-core
+ (package
+ (name "python-glue-core")
+ (version "1.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "glue_core" version))
+ (sha256
+ (base32 "1xms896ds70sbym1cr5lrbjl4i8vixy3mcc6qsg1b3ppvky76vmn"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs
+ (list ;; python-astrodendro ; optional, not packed
+ python-astropy
+ python-dill
+ python-echo
+ python-fast-histogram
+ python-ipython
+ python-matplotlib
+ python-mpl-scatter-density
+ python-numpy
+ python-openpyxl
+ python-pandas
+ ;; python-pyavm ; optional, not packed
+ python-scikit-image
+ python-scipy
+ python-setuptools
+ python-shapely
+ python-spectral-cube
+ python-xlrd))
+ (native-inputs
+ (list python-h5py
+ python-objgraph
+ python-pytest
+ python-pytest-cov
+ python-pytest-mpl
+ python-setuptools
+ python-setuptools-scm))
+ (home-page "http://glueviz.org")
+ (synopsis "Multidimensional data visualization project")
+ (description
+ "Glue is a python project to link visualizations of scientific datasets
+across many files.")
+ (license license:bsd-3)))
+
(define-public wcslib
(package
(name "wcslib")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 33/34] gnu: Add python-looseversion.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
3f8ba850a4eb6052896ce722eb998c574e55438e.1721514687.git.sharlatanus@gmail.com
* gnu/packages/python-xyz.scm (python-looseversion): New variable.

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

Toggle diff (41 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1ac9884c59..226653cd65 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -34534,6 +34534,34 @@ (define-public python-logical-unification
symbolic expressions in pure Python using the technique of logical unification.")
(license license:bsd-3)))
+(define-public python-looseversion
+ (package
+ (name "python-looseversion")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "looseversion" version))
+ (sha256
+ (base32 "17k625ws83lwksa7yyy4mn0i39lmxgrzxihn22l335dvyvrnbppb"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; No tests provided.
+ #:tests? #f))
+ (native-inputs
+ (list python-hatchling))
+ (home-page "https://github.com/effigies/looseversion")
+ (synopsis "Version numbering for anarchists and software realists")
+ (description
+ "This package provides a drop-in replacement for the original
+@code{LooseVersion}. It implements an identical interface and comparison
+logic to @code{LooseVersion}. The only major change is that a
+@code{looseversion.LooseVersion} is comparable to a
+@code{distutils.version.LooseVersion}, which means tools should not need to
+worry whether all dependencies that use LooseVersion have migrated.")
+ (license license:psfl)))
+
(define-public python-cons
(package
(name "python-cons")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 21 Jul 00:40 +0200
[PATCH 34/34] gnu: Add python-sncosmo.
(address . 72219@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
784a25ab2e5b3d57dabf779d36a2549a22f4ed60.1721514687.git.sharlatanus@gmail.com
* gnu/packages/astronomy.scm (python-sncosmo): New variable.

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

Toggle diff (90 lines)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index df9f50285f..2ee206c766 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1192,6 +1192,83 @@ (define-public python-glue-core
across many files.")
(license license:bsd-3)))
+(define-public python-sncosmo
+ (package
+ (name "python-sncosmo")
+ (version "2.11.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sncosmo" version))
+ (sha256
+ (base32 "0nmhrvaw22zxpmykl70a91mc88pxmw0x5fdxjiz3hdzkdbqrg0x9"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; Disable tests requireing remote access to download test data.
+ #~(list
+ "-k" (string-append "not test_megacampsf_bandpass"
+ " and not test_builtins_remote_aa"
+ " and not test_builtins_remote_nm"
+ " and not test_builtins_remote_um"
+ " and not test_builtins_remote_wfc3"
+ " and not test_builtins_megacampsf"
+ " and not test_builtins_timeseries_ascii"
+ " and not test_builtins_timeseries_fits"
+ " and not test_builtins_salt2model"
+ " and not test_builtins_salt3model"
+ " and not test_builtins_2011fe"
+ " and not test_builtins_mlcs2k2"
+ " and not test_builtins_snemo"
+ " and not test_builtins_sugar"
+ " and not test_builtins_magsys_fits"
+ " and not test_builtins_magsys_csp"
+ " and not test_builtins_magsys_ab_b12"
+ " and not test_builtins_magsys_jla"
+ " and not test_csp_magsystem"
+ " and not test_compositemagsystem_band_error"
+ " and not test_G10"
+ " and not test_C11"
+ " and not test_salt2source_timeseries_vs_snfit"
+ " and not test_salt2source_rcov_vs_snfit"
+ " and not test_bandflux"
+ " and not test_bandflux_multi"
+ " and not test_bandflux_zpsys"
+ " and not test_bandfluxcov"
+ " and not test_bandmag"
+ " and not test_sugarsource"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "setup.cfg"
+ ;; pyyaml>=6.0.1
+ (("6.0.1") "6.0"))))
+ (add-before 'check 'prepare-test-environment
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+ (propagated-inputs
+ (list python-astropy
+ python-extinction
+ python-looseversion
+ python-numpy
+ python-pyyaml
+ python-scipy))
+ (native-inputs
+ (list ;; python-iminuit ; not packed, optional
+ python-cython
+ python-pytest
+ python-pytest-astropy
+ python-pytest-cov))
+ (home-page "https://sncosmo.readthedocs.org")
+ (synopsis "Package for supernova cosmology based on astropy")
+ (description
+ "SNCosmo is a Python library for supernova cosmology analysis. It aims
+to make such analysis both as flexible and clear as possible.")
+ (license license:bsd-3)))
+
(define-public wcslib
(package
(name "wcslib")
--
2.41.0
S
S
Sharlatan Hellseher wrote on 30 Jul 11:39 +0200
[PATCH 00/34] Astronomy update 2024/07
(address . 72219-done@debbugs.gnu.org)
87y15jmd6o.fsf@gmail.com
Pushed as b5c33f99e3...1b7d53dad7 to master.

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

iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmaotL8ACgkQdtcnv/Ys
0rXsKxAAoaQVtAAw+jBTMzrRKPo60Py7Ew/gbzRcxdqMI94z4YrYDU6LvX6VwyW+
A17TD2JBAgfCdlaBG62gc6315szeIrFWK11QMabTDYGpJ+cBig1DGyhoeQuDLgx6
FUw+FqEkBSzDn49RDnYZyJ6PcgbXcASM7qfwvcCDiKjZ4XCFJwB62Z8Fiis81GPL
Z3bF6RPrnTs6pVhLB9m4dSXNrSTaZmSAT031bxITgzRoAqhLtT4S0EEKYu/c4QrW
B4CLmiWGikbOINHyMCtkRNKoFwUcIvDY0ptEselePxH/ugelA5e1temiPLHeCGeU
g8rwPKbD9YA79UqmHyrLoqZ6ITMI73b8JA2wRbFPToojf+w/XpuHAVP6eJFfm4UI
JbU39M2QrBSA7Gps7JPCGIveoz7Jr8j5UJ9cQlGMI+2PfAQCP7250OkUtIBrSQWI
P0glREN/FObgJr5aEfM5VuJLmNU6k22TWSv2pRE8pv4ipmf89ALqoDUdRdXANO/0
zCzSFunog1B3MppPWfk+3jKmgdeM54vsJDr5YPew6V86qve+hAoAOqPizT4IyWH9
+6XEd/OKNO0oZ+uzIqqhvwx67+qxpO9B5o/Dfao1oXflxtQtZgHgtXDADEFMsoK5
DMxZMkPH0p8GCCdDOK6fD9/X6vUaQswJ7WemhtawrXth5c85hgU=
=hnkY
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

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

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