* [bug#72219] [PATCH 01/34] gnu: Add python-pluggy-next.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 02/34] gnu: Add python-pytest-8 Sharlatan Hellseher
` (33 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* gnu/packages/python-build.scm (python-pluggy-next): New variable.
Change-Id: If3ec3f930a799df9602db71112a6c6a5272b524c
---
gnu/packages/python-build.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 02/34] gnu: Add python-pytest-8.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 01/34] gnu: Add python-pluggy-next Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 03/34] gnu: cfitsio: Update to 4.4.1 Sharlatan Hellseher
` (32 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher
* gnu/packages/check.scm (python-pytest-8): New variable.
Change-Id: Ie584a48a2749cc7b196e373fe4e6e08f47165620
---
gnu/packages/check.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 03/34] gnu: cfitsio: Update to 4.4.1.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 01/34] gnu: Add python-pluggy-next Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 02/34] gnu: Add python-pytest-8 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 04/34] gnu: skymaker: Update to 3.10.5 Sharlatan Hellseher
` (31 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 04/34] gnu: skymaker: Update to 3.10.5.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (2 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 03/34] gnu: cfitsio: Update to 4.4.1 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 05/34] gnu: skymaker: Fix indentation Sharlatan Hellseher
` (30 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 05/34] gnu: skymaker: Fix indentation.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (3 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 04/34] gnu: skymaker: Update to 3.10.5 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 06/34] gnu: stellarium: Update to 24.2 Sharlatan Hellseher
` (29 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (skymaker): Fix indentation.
Change-Id: I2eeecb451d3da7004794ba55f687a2630ef20bcd
---
gnu/packages/astronomy.scm | 62 +++++++++++++++++++-------------------
1 file changed, 31 insertions(+), 31 deletions(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 06/34] gnu: stellarium: Update to 24.2.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (4 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 05/34] gnu: skymaker: Fix indentation Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 07/34] gnu: python-asdf: Update to 3.3.0 Sharlatan Hellseher
` (28 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (stellarium): Update to 24.2.
Change-Id: I316fee7463b9185fa264fdcd68e55f424b2d8f32
---
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 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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 07/34] gnu: python-asdf: Update to 3.3.0.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (5 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 06/34] gnu: stellarium: Update to 24.2 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 08/34] gnu: python-asdf-zarr: Update to 0.0.4 Sharlatan Hellseher
` (27 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 08/34] gnu: python-asdf-zarr: Update to 0.0.4.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (6 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 07/34] gnu: python-asdf: Update to 3.3.0 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 09/34] gnu: python-astropy-iers-data: Update to 0.2024.7.15.0.31.42 Sharlatan Hellseher
` (26 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 09/34] gnu: python-astropy-iers-data: Update to 0.2024.7.15.0.31.42.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (7 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 08/34] gnu: python-asdf-zarr: Update to 0.0.4 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 10/34] gnu: python-crds: Update to 11.17.26 Sharlatan Hellseher
` (25 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 10/34] gnu: python-crds: Update to 11.17.26.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (8 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 09/34] gnu: python-astropy-iers-data: Update to 0.2024.7.15.0.31.42 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 11/34] gnu: python-czml3: Update to 1.0.1 Sharlatan Hellseher
` (24 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 11/34] gnu: python-czml3: Update to 1.0.1.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (9 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 10/34] gnu: python-crds: Update to 11.17.26 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 12/34] gnu: python-czml3: Adjust indentation Sharlatan Hellseher
` (23 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 12/34] gnu: python-czml3: Adjust indentation.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (10 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 11/34] gnu: python-czml3: Update to 1.0.1 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 13/34] gnu: python-jwst: Update to 1.15.1 Sharlatan Hellseher
` (22 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-czml3): Adjust indentation.
Change-Id: I28fefff7cec5d6c1d69ce4b760da607289ce6e1e
---
gnu/packages/astronomy.scm | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 13/34] gnu: python-jwst: Update to 1.15.1.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (11 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 12/34] gnu: python-czml3: Adjust indentation Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 14/34] gnu: python-photutils: Update to 1.13.0 Sharlatan Hellseher
` (21 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 14/34] gnu: python-photutils: Update to 1.13.0.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (12 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 13/34] gnu: python-jwst: Update to 1.15.1 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 15/34] gnu: python-extension-helpers: Update to 1.1.1 Sharlatan Hellseher
` (20 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 15/34] gnu: python-extension-helpers: Update to 1.1.1.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (13 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 14/34] gnu: python-photutils: Update to 1.13.0 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 16/34] gnu: python-extension-helpers: Enable tests Sharlatan Hellseher
` (19 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 16/34] gnu: python-extension-helpers: Enable tests.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (14 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 15/34] gnu: python-extension-helpers: Update to 1.1.1 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 17/34] gnu: python-pytest-openfiles: Update to 0.6.0 Sharlatan Hellseher
` (18 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 17/34] gnu: python-pytest-openfiles: Update to 0.6.0.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (15 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 16/34] gnu: python-extension-helpers: Enable tests Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 18/34] gnu: python-pytest-openfiles: Simplify package Sharlatan Hellseher
` (17 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 18/34] gnu: python-pytest-openfiles: Simplify package.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (16 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 17/34] gnu: python-pytest-openfiles: Update to 0.6.0 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 19/34] gnu: python-stpipe: Update to 0.6.0 Sharlatan Hellseher
` (16 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 19/34] gnu: python-stpipe: Update to 0.6.0.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (17 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 18/34] gnu: python-pytest-openfiles: Simplify package Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 20/34] gnu: python-stpipe: Improve indentation Sharlatan Hellseher
` (15 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 20/34] gnu: python-stpipe: Improve indentation.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (18 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 19/34] gnu: python-stpipe: Update to 0.6.0 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 21/34] gnu: python-stdatamodels: Update to 2.0.0 Sharlatan Hellseher
` (14 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-stpipe): Improve indentation.
Change-Id: I0889f1374aa0024c34eaf9a670c3d8beda40011a
---
gnu/packages/astronomy.scm | 42 ++++++++++++++++++++++----------------
1 file changed, 24 insertions(+), 18 deletions(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 21/34] gnu: python-stdatamodels: Update to 2.0.0.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (19 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 20/34] gnu: python-stpipe: Improve indentation Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 22/34] gnu: python-sunpy: Update to 5.1.5 Sharlatan Hellseher
` (13 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 22/34] gnu: python-sunpy: Update to 5.1.5.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (20 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 21/34] gnu: python-stdatamodels: Update to 2.0.0 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 23/34] gnu: python-tweakwcs: Update to 0.8.8 Sharlatan Hellseher
` (12 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 23/34] gnu: python-tweakwcs: Update to 0.8.8.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (21 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 22/34] gnu: python-sunpy: Update to 5.1.5 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 24/34] gnu: python-fast-histogram: Adjust inputs Sharlatan Hellseher
` (11 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 24/34] gnu: python-fast-histogram: Adjust inputs.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (22 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 23/34] gnu: python-tweakwcs: Update to 0.8.8 Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 25/34] gnu: Add python-dunamai Sharlatan Hellseher
` (10 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* 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(-)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 25/34] gnu: Add python-dunamai.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (23 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 24/34] gnu: python-fast-histogram: Adjust inputs Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 26/34] gnu: Add python-poetry-dynamic-versioning Sharlatan Hellseher
` (9 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* gnu/packages/python-xyz.scm (python-dunamai): New variable.
Change-Id: Iabb0221c615ee345d1e557d2d428254929823283
---
gnu/packages/python-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 26/34] gnu: Add python-poetry-dynamic-versioning.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (24 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 25/34] gnu: Add python-dunamai Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 27/34] gnu: Add python-kanon Sharlatan Hellseher
` (8 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* 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(+)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 27/34] gnu: Add python-kanon.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (25 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 26/34] gnu: Add python-poetry-dynamic-versioning Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 28/34] gnu: Add python-ads Sharlatan Hellseher
` (7 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-kanon): New variable.
Change-Id: Ibff5d7b92f819c41bfb7f6b76e73c5815c8f3cae
---
gnu/packages/astronomy.scm | 83 ++++++++++++++++++++++++++++++++++++++
1 file changed, 83 insertions(+)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 28/34] gnu: Add python-ads.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (26 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 27/34] gnu: Add python-kanon Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 29/34] gnu: Add python-sbpy Sharlatan Hellseher
` (6 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-ads): New variable.
Change-Id: Ia4ae54c90cd77ff15c8171a992ddc1ce823557e8
---
gnu/packages/astronomy.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 29/34] gnu: Add python-sbpy.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (27 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 28/34] gnu: Add python-ads Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 30/34] gnu: Add python-echo Sharlatan Hellseher
` (5 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-sbpy): New variable.
Change-Id: I456f1400ce072d3a2e4cd263349f57c5779f36c5
---
gnu/packages/astronomy.scm | 68 ++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 30/34] gnu: Add python-echo.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (28 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 29/34] gnu: Add python-sbpy Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 31/34] gnu: Add python-mpl-scatter-density Sharlatan Hellseher
` (4 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* gnu/packages/python-xyz.scm (python-echo): New variable.
Change-Id: Id506a7b4ed9681227372455f9d96a0957eb845a7
---
gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 31/34] gnu: Add python-mpl-scatter-density.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (29 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 30/34] gnu: Add python-echo Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 32/34] gnu: Add python-glue-core Sharlatan Hellseher
` (3 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* 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(+)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 32/34] gnu: Add python-glue-core.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (30 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 31/34] gnu: Add python-mpl-scatter-density Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 33/34] gnu: Add python-looseversion Sharlatan Hellseher
` (2 subsequent siblings)
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-glue-core): New variable.
Change-Id: I7fde0a36e35bf30e42cc419fdf4573a3924e032d
---
gnu/packages/astronomy.scm | 45 ++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 33/34] gnu: Add python-looseversion.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (31 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 32/34] gnu: Add python-glue-core Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 34/34] gnu: Add python-sncosmo Sharlatan Hellseher
2024-07-30 9:39 ` bug#72219: [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* gnu/packages/python-xyz.scm (python-looseversion): New variable.
Change-Id: I862f10cf5c7285e171335abee429ae76140271dd
---
gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [bug#72219] [PATCH 34/34] gnu: Add python-sncosmo.
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (32 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 33/34] gnu: Add python-looseversion Sharlatan Hellseher
@ 2024-07-20 22:40 ` Sharlatan Hellseher
2024-07-30 9:39 ` bug#72219: [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-20 22:40 UTC (permalink / raw)
To: 72219; +Cc: Sharlatan Hellseher, Andreas Enge, Eric Bavier,
Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-sncosmo): New variable.
Change-Id: I49b42a89e9bcabda1fa7193e40c5c43fbeaf1613
---
gnu/packages/astronomy.scm | 77 ++++++++++++++++++++++++++++++++++++++
1 file changed, 77 insertions(+)
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
^ permalink raw reply related [flat|nested] 36+ messages in thread
* bug#72219: [PATCH 00/34] Astronomy update 2024/07
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
` (33 preceding siblings ...)
2024-07-20 22:40 ` [bug#72219] [PATCH 34/34] gnu: Add python-sncosmo Sharlatan Hellseher
@ 2024-07-30 9:39 ` Sharlatan Hellseher
34 siblings, 0 replies; 36+ messages in thread
From: Sharlatan Hellseher @ 2024-07-30 9:39 UTC (permalink / raw)
To: 72219-done
[-- Attachment #1: Type: text/plain, Size: 55 bytes --]
Pushed as b5c33f99e3...1b7d53dad7 to master.
--
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 36+ messages in thread