* [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates.
@ 2023-11-17 12:04 Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 01/32] gnu: celestia: Update to 1.6.4 Sharlatan Hellseher
` (31 more replies)
0 siblings, 32 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:04 UTC (permalink / raw)
To: 67237
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, jgart
Hi Guix!
Please review November's patch series updating and improving packages related
to (gnu packages astronomy).
To Update python-spherical-geometry there is pending QD update in
https://issues.guix.gnu.org/66896 which needs to be placed first reported
upstream https://github.com/spacetelescope/spherical_geometry/issues/227 and
solved with new QD
Tested on x86_64-linux system, and they do not introduce any regressions.
> ./pre-inst-env guix build --rounds=2 python-stsci-stimage python-synphot python-memory-profiler python-pytest-socket parfive python-poliastro python-extension-helpers python-astroquery python-stsci-imagestats python-drms splash python-wiimatch python-sgp4 python-roman-datamodels python-rad python-pynbody python-posix-ipc python-jplephem python-fitsio python-crds python-casa-formats-io python-astroalign python-asdf libpasastro gpredict celestia
/gnu/store/h3fg00sdrqyipx92jjq260xbjfqy5vzj-celestia-1.6.4
/gnu/store/1m28grg2cmhx16bfkgm62nxpkfj5mabm-gpredict-2.2.1
/gnu/store/7n7piap15awvdflqba5dnw670z8bk74z-libpasastro-1.4.1
/gnu/store/inq664xkx31v4pwhaqd25h94jqhyjy7j-python-asdf-3.0.1
/gnu/store/5fl0byrld8wkxz2r3d72yrywm3iy6lya-python-astroalign-2.5.1
/gnu/store/6ik6bzmy91l56gbxscxlrls7nfs4l031-python-casa-formats-io-0.2.2
/gnu/store/vh8a6aakb679zs2n4asmgr7g0rkk8r9x-python-crds-11.17.9
/gnu/store/3pfhsdbm79ra4ipvml2wzlmgn971qjas-python-fitsio-1.2.1
/gnu/store/dlfyxnr2g720ghl5g9ginvrjh0spiqgc-python-jplephem-2.20
/gnu/store/59sa9gj5s1mr3jawiax7vz6y6wplylaq-python-posix-ipc-1.1.1
/gnu/store/v212kaws8m4s5r8l23qvfcwjzc713v6v-python-pynbody-1.4.2
/gnu/store/g0g67cfihrf1vnhrazrh9g48xlyavbph-python-rad-0.18.0
/gnu/store/cg50p4yh0nxxy0ng9i9gw3hramn20l2q-python-roman-datamodels-0.18.0
/gnu/store/w0w81qy9j3fl66w4mifrqm4bdf4x8vbd-python-sgp4-2.23
/gnu/store/b59mr6y67xcg4xzysj8fbj7k1b2rsd77-python-wiimatch-0.3.2
/gnu/store/g716pwqcq9wnwgzxd8lp1gcjci16d59r-splash-3.9.0
/gnu/store/3xvl3byxy3a1hr0bnhddig0zkdl2vyxy-python-drms-0.6.4
/gnu/store/acpfhn8d14rhnha50vg67n1d1xrski88-python-stsci-imagestats-1.6.3
/gnu/store/ibshda7w2bs3cl6vixrpzazbh30fhb1j-python-astroquery-0.4.6
/gnu/store/b5nr8hkxf5fvyjaaabnajiwz58zpv9fl-python-extension-helpers-1.1.0
/gnu/store/5764g4i2wvyfqm15kz38gnsdsvwwgpl0-python-poliastro-0.17.0
/gnu/store/s1b603437aph8jawhcajrk9qgqbkl13m-parfive-2.0.2
/gnu/store/8yf8102qkrxy2lznx1xscxdxhkv3gd0h-python-pytest-socket-0.6.0
/gnu/store/2b4d4kv8ilrjgd7apr0nb3yx8z12v15f-python-memory-profiler-0.61
/gnu/store/n6fd3b4lskfsgnfxc4kisrkp0cv73jc6-python-synphot-1.2.1
/gnu/store/0i341ilw7x4mvshlhbxdc8ks1417sd70-python-stsci-stimage-0.2.6
Building the following 8 packages would ensure 53 dependent packages are
rebuilt: python-pynbody@1.4.2 python-asdf@3.0.1 python-poliastro@0.17.0
python-astroalign@2.5.1 python-tslearn@0.6.2 python-sunpy@5.0.1
python-jwst@1.12.5 python-spectral-cube@0.6.3
./pre-inst-env guix build python-pynbody@1.4.2 python-asdf@3.0.1 python-poliastro@0.17.0 python-astroalign@2.5.1 python-tslearn@0.6.2 python-sunpy@5.0.1 python-jwst@1.12.5 python-spectral-cube@0.6.3
/gnu/store/9xvnxvsf3w8n5wbymmdxx1v54bfqllhh-python-spectral-cube-0.6.3
/gnu/store/nkq1sppm8j5gdhxl6x34mia105zs7gkg-python-jwst-1.12.5
/gnu/store/vpkbyzd2q1klxmh3mf196mii3svnz1wn-python-sunpy-5.0.1
/gnu/store/mbbdr29ag8djlpp7g8q1cxbdgjr51ncc-python-tslearn-0.6.2
/gnu/store/5fl0byrld8wkxz2r3d72yrywm3iy6lya-python-astroalign-2.5.1
/gnu/store/5764g4i2wvyfqm15kz38gnsdsvwwgpl0-python-poliastro-0.17.0
/gnu/store/inq664xkx31v4pwhaqd25h94jqhyjy7j-python-asdf-3.0.1
/gnu/store/v212kaws8m4s5r8l23qvfcwjzc713v6v-python-pynbody-1.4.2
Sharlatan Hellseher (32):
gnu: celestia: Update to 1.6.4.
gnu: gpredict: Improve package style.
gnu: libpasastro: Update to 1.4.1.
gnu: python-asdf-3.0: Update to 3.0.1.
gnu: python-astroalign: Update to 2.5.1.
gnu: python-casa-formats-io: Update to 0.2.2.
gnu: python-crds: Update to 11.17.9.
gnu: python-fitsio: Update to 1.2.1.
gnu: python-jplephem: Update to 2.20.
gnu: python-posix-ipc: Update to 1.1.1.
gnu: python-pynbody: Update to 1.4.2.
gnu: python-pynbody: Prepare for cross compilation.
gnu: python-rad: Update to 0.18.0.
gnu: python-roman-datamodels: Update to 0.18.0.
gnu: python-sgp4: Update to 2.23.
gnu: python-wiimatch: Update to 0.3.2.
gnu: splash: Update to 3.9.0.
gnu: python-drms: Simplify package.
gnu: python-stsci-imagestats: Swap to pyproject-build-system.
gnu: python-astroquery: Improve package style.
gnu: python-extension-helpers: Enable tests.
gnu: python-extension-helpers: Improve style.
gnu: python-extension-helpers: Update to 1.1.0.
gnu: python-poliastro: Improve package style.
gnu: parfive: Update to 2.0.2.
gnu: parfive: Improve package style.
gnu: python-pytest-socket: Update to 0.6.0.
gnu: python-pytest-socket: Enable tests.
gnu: python-memory-profiler: Enable all tests.
gnu: python-synphot: Enable tests.
gnu: python-stsci-stimage: Enable tests.
gnu: python-posix-ipc: Limit tests to target-x86.
gnu/packages/astronomy.scm | 281 ++++++++++++++++++----------------
gnu/packages/python-check.scm | 70 +++------
gnu/packages/python-web.scm | 23 ++-
gnu/packages/python-xyz.scm | 72 +++++----
4 files changed, 224 insertions(+), 222 deletions(-)
base-commit: a0d337e79c87d7c38c79d0291974f490cb137a52
--
2.41.0
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 01/32] gnu: celestia: Update to 1.6.4.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
@ 2023-11-17 12:15 ` Sharlatan Hellseher
2023-11-19 2:02 ` bug#67237: " Eric Bavier
2023-11-17 12:15 ` [bug#67237] [PATCH 02/32] gnu: gpredict: Improve package style Sharlatan Hellseher
` (30 subsequent siblings)
31 siblings, 1 reply; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:15 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (celestia): Update to 1.6.4.
Change-Id: I581bb402e78584b526d83050cfedb4e8d26a6115
---
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 47913a1282..386a5302d6 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1385,7 +1385,7 @@ (define-public swarp
(define-public celestia
(package
(name "celestia")
- (version "1.6.3")
+ (version "1.6.4")
(source
(origin
(method git-fetch)
@@ -1394,7 +1394,7 @@ (define-public celestia
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0dzci5n7gcnm1vq916gsn9zddkhbzhbsakqxrpnmvzibsqznn6c8"))))
+ (base32 "0nz9k5nd2zmrbwj1qhsfwmvqymqk8c4yjxpybck44isrild2ah9j"))))
(build-system gnu-build-system)
(arguments
(list
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 02/32] gnu: gpredict: Improve package style.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 01/32] gnu: celestia: Update to 1.6.4 Sharlatan Hellseher
@ 2023-11-17 12:15 ` Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 03/32] gnu: libpasastro: Update to 1.4.1 Sharlatan Hellseher
` (29 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:15 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (gpredict): Improve package style. Reorder
fields to be similar with others to ease review.
[native-inputs]: Remove labels.
[arguments]: Use G-expressions. Drop trailing #t in phases.
Change-Id: I0e0216825ce2c9e77632a43dd604ab4abbdf3e83
---
gnu/packages/astronomy.scm | 27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 386a5302d6..e03660969b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3153,23 +3153,21 @@ (define-public gpredict
(sha256
(base32 "0hwf97kng1zy8rxyglw04x89p0bg07zq30hgghm20yxiw2xc8ng7"))))
(build-system gnu-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "CFLAGS=-O2 -g -fcommon")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ ;; Remove reference to non-existent file.
+ (substitute* "po/POTFILES.in"
+ (("src/gtk-sat-tree\\.c") "")))))))
(native-inputs
- `(("intltool" ,intltool)
- ("gettext" ,gettext-minimal)
- ("pkg-config" ,pkg-config)))
+ (list gettext-minimal intltool pkg-config))
(inputs
(list curl glib goocanvas gtk+))
- (arguments
- `(#:configure-flags '("CFLAGS=-O2 -g -fcommon")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-tests
- (lambda _
- ;; Remove reference to non-existent file.
- (substitute* "po/POTFILES.in"
- (("src/gtk-sat-tree\\.c")
- ""))
- #t)))))
+ (home-page "http://gpredict.oz9aec.net/index.php")
(synopsis "Satellite tracking and orbit prediction application")
(description
"Gpredict is a real-time satellite tracking and orbit prediction
@@ -3177,7 +3175,6 @@ (define-public gpredict
position and other data in lists, tables, maps, and polar plots (radar view).
Gpredict can also predict the time of future passes for a satellite, and
provide you with detailed information about each pass.")
- (home-page "http://gpredict.oz9aec.net/index.php")
(license license:gpl2+)))
(define-public sgp4
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 03/32] gnu: libpasastro: Update to 1.4.1.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 01/32] gnu: celestia: Update to 1.6.4 Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 02/32] gnu: gpredict: Improve package style Sharlatan Hellseher
@ 2023-11-17 12:15 ` Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 04/32] gnu: python-asdf-3.0: Update to 3.0.1 Sharlatan Hellseher
` (28 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:15 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (libpasastro): Update to 1.4.1.
Change-Id: I8ad8e9c23c08897f84cbf0b35c1197320bbdeb86
---
gnu/packages/astronomy.scm | 74 ++++++++++++++++++--------------------
1 file changed, 35 insertions(+), 39 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index e03660969b..ed68bd483a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2974,44 +2974,40 @@ (define-public libskry
(license license:gpl3+)))
(define-public libpasastro
- ;; NOTE: (Sharlatan-20210122T215921+0000): the version tag has a build
- ;; error on spice which is resolved with the latest commit.
- (let ((commit "e3c218d1502a18cae858c83a9a8812ab197fcb60")
- (revision "1"))
- (package
- (name "libpasastro")
- (version (git-version "1.4.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/pchev/libpasastro")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0asp2sn34nds5va2ghppwc41vb6j3d1mf049j949rgrll817kx47"))))
- (build-system gnu-build-system)
- (arguments
- `(#:tests? #f
- #:make-flags
- (list
- ,(match (or (%current-target-system) (%current-system))
- ((or "aarch64-linux" "armhf-linux" "i686-linux" "x86_64-linux")
- "OS_TARGET=linux")
- (_ #f))
- ,(match (or (%current-target-system) (%current-system))
- ("i686-linux" "CPU_TARGET=i386")
- ("x86_64-linux" "CPU_TARGET=x86_64")
- ((or "armhf-linux" "aarch64-linux") "CPU_TARGET=armv7l")
- (_ #f))
- (string-append "PREFIX=" (assoc-ref %outputs "out")))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure))))
- (home-page "https://github.com/pchev/libpasastro")
- (synopsis "Interface to astronomy library for use from Pascal program")
- (description
- "This package provides shared libraries to interface Pascal program with
+ (package
+ (name "libpasastro")
+ (version "1.4.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pchev/libpasastro")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1h92p9ph3zi4w8krny1azd9wgwna2nf07ims983jcky1chkfm0is"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f
+ #:make-flags
+ (list
+ ,(match (or (%current-target-system) (%current-system))
+ ((or "aarch64-linux" "armhf-linux" "i686-linux" "x86_64-linux")
+ "OS_TARGET=linux")
+ (_ #f))
+ ,(match (or (%current-target-system) (%current-system))
+ ("i686-linux" "CPU_TARGET=i386")
+ ("x86_64-linux" "CPU_TARGET=x86_64")
+ ((or "armhf-linux" "aarch64-linux") "CPU_TARGET=armv7l")
+ (_ #f))
+ (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (home-page "https://github.com/pchev/libpasastro")
+ (synopsis "Interface to astronomy library for use from Pascal program")
+ (description
+ "This package provides shared libraries to interface Pascal program with
standard astronomy libraries:
@itemize
@@ -3020,7 +3016,7 @@ (define-public libpasastro
@item @code{libpaswcs.so}: Interface with libwcs to work with FITS WCS.
@item @code{libpasspice.so}: To work with NAIF/SPICE kernel.
@end itemize\n")
- (license license:gpl2+))))
+ (license license:gpl2+)))
(define-public libxisf
(package
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 04/32] gnu: python-asdf-3.0: Update to 3.0.1.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (2 preceding siblings ...)
2023-11-17 12:15 ` [bug#67237] [PATCH 03/32] gnu: libpasastro: Update to 1.4.1 Sharlatan Hellseher
@ 2023-11-17 12:15 ` Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 05/32] gnu: python-astroalign: Update to 2.5.1 Sharlatan Hellseher
` (27 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:15 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-asdf-3.0): Update to 3.0.1.
Change-Id: Icd6e1c048cad82d5cad25c5638b8300f438116b0
---
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 ed68bd483a..522d62a05e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3765,13 +3765,13 @@ (define-public python-tweakwcs
(define-public python-asdf-3.0
(package
(name "python-asdf")
- (version "3.0.0")
+ (version "3.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asdf" version))
(sha256
- (base32 "1a6lf75q9w8fsyq3hn6a7fyldkkyqxddlq21fwdfjwij40dzh3s8"))))
+ (base32 "1jsk7b4mx04l0a08j832vnl309dba3gjnha9mbd61dzs9ridrfna"))))
(build-system pyproject-build-system)
(native-inputs
(list python-fsspec
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 05/32] gnu: python-astroalign: Update to 2.5.1.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (3 preceding siblings ...)
2023-11-17 12:15 ` [bug#67237] [PATCH 04/32] gnu: python-asdf-3.0: Update to 3.0.1 Sharlatan Hellseher
@ 2023-11-17 12:15 ` Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 06/32] gnu: python-casa-formats-io: Update to 0.2.2 Sharlatan Hellseher
` (26 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:15 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-astroalign): Update to 2.5.1.
Change-Id: If850a659270c8a3640bd20382f5b5fb05b998594
---
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 522d62a05e..5dfdd6f0d8 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4216,7 +4216,7 @@ (define-public python-roman-datamodels
(define-public python-astroalign
(package
(name "python-astroalign")
- (version "2.5.0")
+ (version "2.5.1")
(source
(origin
;; There are no tests in the PyPI tarball.
@@ -4226,7 +4226,7 @@ (define-public python-astroalign
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0br1v2l48jx214a1bcdr8wz1wggcswcbz4cqv8d19fd46fc4qlhy"))))
+ (base32 "1kr5cszcxvrdbksy7mvv3ps1h1jzrn4yamfr6x7whkbi6bpqf7xp"))))
(build-system pyproject-build-system)
(native-inputs
(list python-astropy
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 06/32] gnu: python-casa-formats-io: Update to 0.2.2.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (4 preceding siblings ...)
2023-11-17 12:15 ` [bug#67237] [PATCH 05/32] gnu: python-astroalign: Update to 2.5.1 Sharlatan Hellseher
@ 2023-11-17 12:15 ` Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 07/32] gnu: python-crds: Update to 11.17.9 Sharlatan Hellseher
` (25 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:15 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-casa-formats-io): Update to 0.2.2.
Change-Id: I1a95f2e09fff36e1488302e5929fc405837f4cde
---
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 5dfdd6f0d8..cafb0d826a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1726,13 +1726,13 @@ (define-public python-bayesicfitting
(define-public python-casa-formats-io
(package
(name "python-casa-formats-io")
- (version "0.2.1")
+ (version "0.2.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "casa-formats-io" version))
(sha256
(base32
- "07cchih2ws6jf6q1a4xhkv0jk96s3w08kzxx9l1911wzqk0pw9pj"))))
+ "16qwr6yq86qgdb0lvnmfm5mn6g2d29b1vrmfv26v77kxm6szxr8h"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 07/32] gnu: python-crds: Update to 11.17.9.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (5 preceding siblings ...)
2023-11-17 12:15 ` [bug#67237] [PATCH 06/32] gnu: python-casa-formats-io: Update to 0.2.2 Sharlatan Hellseher
@ 2023-11-17 12:15 ` Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 08/32] gnu: python-fitsio: Update to 1.2.1 Sharlatan Hellseher
` (24 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:15 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-crds): Update to 11.17.9.
Change-Id: Id493858c82ee6b52cb0a7f15a918349f305f9ad3
---
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 cafb0d826a..8519cfb6ac 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1835,13 +1835,13 @@ (define-public python-cdflib
(define-public python-crds
(package
(name "python-crds")
- (version "11.17.7")
+ (version "11.17.9")
(source (origin
(method url-fetch)
(uri (pypi-uri "crds" version))
(sha256
(base32
- "10cxhb1xss21p992bfd5jm8bix1n12h0fd8m5sp6bcsgn6zs94v0"))))
+ "0ha7ibs5lmqs9pcr546jyxzgrmx1xyqps7fsp220rvlsbsisdgm0"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 08/32] gnu: python-fitsio: Update to 1.2.1.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (6 preceding siblings ...)
2023-11-17 12:15 ` [bug#67237] [PATCH 07/32] gnu: python-crds: Update to 11.17.9 Sharlatan Hellseher
@ 2023-11-17 12:15 ` Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 09/32] gnu: python-jplephem: Update to 2.20 Sharlatan Hellseher
` (23 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:15 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-fitsio): Update to 1.2.1.
Change-Id: Icc28cc340bcd23958f17bb437a76c5cdc8e58383
---
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 8519cfb6ac..325eee6fc0 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -589,13 +589,13 @@ (define-public python-astroml
(define-public python-fitsio
(package
(name "python-fitsio")
- (version "1.2.0")
+ (version "1.2.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "fitsio" version))
(sha256
- (base32 "04fbg1ffj7qrlzw50xzzkfnlk6qjjqq96j0im7phprmwb1rbvzzh"))
+ (base32 "19him5rcpjyz14ghkmifnd1xl3ivlyy84h45k6j2pyr5ixc60ky6"))
(modules '((guix build utils)))
(snippet
;; Remove the bundled cfitsio. When update the package check the
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 09/32] gnu: python-jplephem: Update to 2.20.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (7 preceding siblings ...)
2023-11-17 12:15 ` [bug#67237] [PATCH 08/32] gnu: python-fitsio: Update to 1.2.1 Sharlatan Hellseher
@ 2023-11-17 12:15 ` Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 10/32] gnu: python-posix-ipc: Update to 1.1.1 Sharlatan Hellseher
` (22 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:15 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-jplephem): Update to 2.20.
Change-Id: Ie5100d1d6f790a15d5fef2f63f916c0e7063aa89
---
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 325eee6fc0..23a4d50df5 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3386,13 +3386,13 @@ (define-public sunclock
(define-public python-jplephem
(package
(name "python-jplephem")
- (version "2.19")
+ (version "2.20")
(source
(origin
(method url-fetch)
(uri (pypi-uri "jplephem" version))
(sha256
- (base32 "1kvdzwyh0invinvcnwfr14r9zbqzcwkdh0cpzw1m4vkdcm64aqn1"))))
+ (base32 "1yp1l3n07849411099f976ps0pyv8jk8k5l9da9nhv54ir86v65v"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 10/32] gnu: python-posix-ipc: Update to 1.1.1.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (8 preceding siblings ...)
2023-11-17 12:15 ` [bug#67237] [PATCH 09/32] gnu: python-jplephem: Update to 2.20 Sharlatan Hellseher
@ 2023-11-17 12:15 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 11/32] gnu: python-pynbody: Update to 1.4.2 Sharlatan Hellseher
` (21 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:15 UTC (permalink / raw)
To: 67237
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, jgart
* gnu/packages/python-xyz.scm (python-posix-ipc): Update to 1.1.1.
Change-Id: I3519bc025425ce6d5b15a830d6915d7322e54a1c
---
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 e521c1580d..318ce539db 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32988,7 +32988,7 @@ (define-public python-queuelib
(define-public python-posix-ipc
(package
(name "python-posix-ipc")
- (version "1.0.5")
+ (version "1.1.1")
(source
(origin
;; The source distributed on PyPI is prebuild.
@@ -32998,7 +32998,7 @@ (define-public python-posix-ipc
(commit (string-append "rel" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "17y4d0pmvp199c5hbs602ailhlh9f9zv89kmpbd8jhyl6rgaxsvs"))))
+ (base32 "1wwp0ys8640nb31syabic1z524r1qx3q2v8h4d65am3a728l5bn4"))))
(build-system python-build-system)
(arguments
(list #:phases
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 11/32] gnu: python-pynbody: Update to 1.4.2.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (9 preceding siblings ...)
2023-11-17 12:15 ` [bug#67237] [PATCH 10/32] gnu: python-posix-ipc: Update to 1.1.1 Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 12/32] gnu: python-pynbody: Prepare for cross compilation Sharlatan Hellseher
` (20 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-pynbody): Update to 1.4.2.
Change-Id: I1ccfa506b3e1fc57b547ffc21059ee3f5547ce04
---
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 23a4d50df5..85180e40ad 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3530,7 +3530,7 @@ (define-public python-pyerfa
(define-public python-pynbody
(package
(name "python-pynbody")
- (version "1.4.1")
+ (version "1.4.2")
(source
(origin
(method git-fetch) ;PyPi doesn't have not prebuit version.
@@ -3539,7 +3539,7 @@ (define-public python-pynbody
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1vl1yif3bsazcil6saghrpa4qsg47fnr7xnkjpqnp44b7ipww27r"))
+ (base32 "1lwjs8vf3pc4a64c93fa5k6r276g1c60722swns2r10ig1s4wk0a"))
(modules '((guix build utils)))
(snippet
;; Symlink goes to not existing directory.
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 12/32] gnu: python-pynbody: Prepare for cross compilation.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (10 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 11/32] gnu: python-pynbody: Update to 1.4.2 Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 13/32] gnu: python-rad: Update to 0.18.0 Sharlatan Hellseher
` (19 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-pynbody)[arguments]{phases}: Add
'set-compiler phase.
Change-Id: I64feabbdd76679d5a86a85a9f50cd0be90f60c1c
---
gnu/packages/astronomy.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 85180e40ad..e42b87144c 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3575,7 +3575,12 @@ (define-public python-pynbody
"--ignore=tests/sph_smooth_test.py"
"--ignore=tests/subfind_test.py"
"--ignore=tests/subfindhdf_gadget4_test.py"
- "--ignore=tests/tipsy_test.py")))
+ "--ignore=tests/tipsy_test.py")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'set-compiler
+ (lambda _
+ (setenv "CC" #$(cc-for-target)))))))
(native-inputs
(list python-cython
python-pandas
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 13/32] gnu: python-rad: Update to 0.18.0.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (11 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 12/32] gnu: python-pynbody: Prepare for cross compilation Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 14/32] gnu: python-roman-datamodels: " Sharlatan Hellseher
` (18 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-rad): Update to 0.18.0.
Change-Id: I1e7ba8f99bce25ab5c719e82755505e32d0acf66
---
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 e42b87144c..edb3e33c19 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4115,13 +4115,13 @@ (define-public python-gwcs
(define-public python-rad
(package
(name "python-rad")
- (version "0.17.1")
+ (version "0.18.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "rad" version))
(sha256
(base32
- "11jhh3qmd00g8sn6hcfshbpb2qy1rfj0xkxn30pd63lqazg4ra3p"))))
+ "1wgnbhldgq0j55yzg33y11vd5k5nzwckiccxywvmq518qh19pky5"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 14/32] gnu: python-roman-datamodels: Update to 0.18.0.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (12 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 13/32] gnu: python-rad: Update to 0.18.0 Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 15/32] gnu: python-sgp4: Update to 2.23 Sharlatan Hellseher
` (17 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-roman-datamodels): Update to 0.18.0.
Change-Id: Ic60c1cd7574cba42bfb29069283d90804775f583
---
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 edb3e33c19..136c9bb2f6 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4177,13 +4177,13 @@ (define-public python-radio-beam
(define-public python-roman-datamodels
(package
(name "python-roman-datamodels")
- (version "0.17.1")
+ (version "0.18.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "roman_datamodels" version))
(sha256
(base32
- "1y12cp8172i4a314gmhpi86jw6pfylz1adh0rzr5zqmvd3mrjqlj"))))
+ "0crlmd99p2nyqmrbykdqqng7v8zb4sibm8j9aqrq3ppak3r3r7q1"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 15/32] gnu: python-sgp4: Update to 2.23.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (13 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 14/32] gnu: python-roman-datamodels: " Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 16/32] gnu: python-wiimatch: Update to 0.3.2 Sharlatan Hellseher
` (16 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-sgp4): Update to 2.23.
Change-Id: I135ef49c969e3bbc1635f9df966953fbc9bb0c67
---
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 136c9bb2f6..28fdf66855 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2373,13 +2373,13 @@ (define-public python-reproject
(define-public python-sgp4
(package
(name "python-sgp4")
- (version "2.22")
+ (version "2.23")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sgp4" version))
(sha256
- (base32 "1yc6gcbhz80i875j0wf6ikx7rzs0m7m1qp72dmdhdjidmpma5w0p"))))
+ (base32 "0aalbmldks6ykgkcxwkvnp04q0avhv903m5zwvg8i7zvl99xrbfq"))))
(build-system python-build-system)
(propagated-inputs
(list python-numpy))
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 16/32] gnu: python-wiimatch: Update to 0.3.2.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (14 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 15/32] gnu: python-sgp4: Update to 2.23 Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 17/32] gnu: splash: Update to 3.9.0 Sharlatan Hellseher
` (15 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-wiimatch): Update to 0.3.2.
Change-Id: I2344c4b7e90e2652393b89c8e2bdf83644d0c711
---
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 28fdf66855..a5f1e99262 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4279,13 +4279,13 @@ (define-public python-skyfield
(define-public python-wiimatch
(package
(name "python-wiimatch")
- (version "0.3.1")
+ (version "0.3.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "wiimatch" version))
(sha256
(base32
- "0x6p5z6a2cqinckwlpinjxagvmswl149s1jn6ihmdxk4k0h8rrz0"))))
+ "15kq7z30m9i286ncs9xvpaq3dq1p5fa47jz21prq146qwr7j6dm8"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-numpy python-scipy))
(native-inputs (list python-codecov python-pytest python-pytest-cov
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 17/32] gnu: splash: Update to 3.9.0.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (15 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 16/32] gnu: python-wiimatch: Update to 0.3.2 Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 18/32] gnu: python-drms: Simplify package Sharlatan Hellseher
` (14 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (splash): Update to 3.9.0.
Change-Id: Ic7fdf1cd8aacfec00777075440b4f53adfe37d22
---
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 a5f1e99262..fa3ad52350 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1121,7 +1121,7 @@ (define-public siril
(define-public splash
(package
(name "splash")
- (version "3.8.4")
+ (version "3.9.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1129,7 +1129,7 @@ (define-public splash
(commit (string-append "v" version))))
(sha256
(base32
- "1l18sqz5mpab9wb5hlbfy18wfwq6fpijc3p9wa5bv6lrcymvpirp"))
+ "19r5j4jrxhp3gf865ns59vvfnn5a303dqgmb8y2kgcsx26fci1hs"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 18/32] gnu: python-drms: Simplify package.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (16 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 17/32] gnu: splash: Update to 3.9.0 Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 19/32] gnu: python-stsci-imagestats: Swap to pyproject-build-system Sharlatan Hellseher
` (13 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-drms): Simplify package.
[build-system]: Swap to pyproject-build-system.
[arguments]: Drop them.
Change-Id: I9d8e82e63b850b220489454ba984f22f4cad3ad3
---
gnu/packages/astronomy.scm | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index fa3ad52350..523030a0f7 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1924,18 +1924,7 @@ (define-public python-drms
(uri (pypi-uri "drms" version))
(sha256
(base32 "0mkrmr55fgca441z7hvsyri6x9cjsh0sfas3hrj0k1k10k8vszbw"))))
- (build-system python-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests?
- #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (setenv "JSOC_EMAIL" "jsoc@sunpy.org")
- (invoke "python" "-m" "pytest" "-vv")))))))
+ (build-system pyproject-build-system)
(native-inputs
(list python-astropy
python-pytest-astropy
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 19/32] gnu: python-stsci-imagestats: Swap to pyproject-build-system.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (17 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 18/32] gnu: python-drms: Simplify package Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 20/32] gnu: python-astroquery: Improve package style Sharlatan Hellseher
` (12 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
The next release of the package will include test suite based on
python-pytest, prepare for that.
* gnu/packages/astronomy.scm (python-stsci-imagestats)[build-system]:
Swap to python-stsci-imagestats.
Change-Id: I5a70ef744ac7ad46f9e4474d84661b6b15028c9b
---
gnu/packages/astronomy.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 523030a0f7..e9caced125 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2663,7 +2663,7 @@ (define-public python-stsci-imagestats
(sha256
(base32
"14457izlbnks84dyza75ib3nvx2w8nhlqm9vc1zb7hbhknb5gjvw"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list #:tests? #f)) ;No tests
(propagated-inputs (list python-numpy))
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 20/32] gnu: python-astroquery: Improve package style.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (18 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 19/32] gnu: python-stsci-imagestats: Swap to pyproject-build-system Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 21/32] gnu: python-extension-helpers: Enable tests Sharlatan Hellseher
` (11 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-astroquery): Improve package style.
[build-system]: Swap to pyproject-build-system.
[arguments]{phases}: Rename 'writable-home phase to
'prepare-test-environment to reflect the purpose, Add extra step
configuring Pytest.
[native-inputs]: Remove python-flask, python-jinja2. Add
python-astropy-healpix, python-regions.
Change-Id: Id3909a13e451a2f9d5f4f28511e9f04c6bceb738
---
gnu/packages/astronomy.scm | 41 +++++++++++++++++++++++---------------
1 file changed, 25 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index e9caced125..d12dccc208 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1614,19 +1614,27 @@ (define-public python-astroquery
(uri (pypi-uri "astroquery" version))
(sha256
(base32 "1vhkzsqlgn3ji5by2rdf2gwklhbyzvpzb1iglalhqjkkrdaaaz1h"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- (list #:phases
- #~(modify-phases %standard-phases
- (add-before 'check 'writable-home
- (lambda _ ; some tests need a writable home
- (setenv "HOME" (getcwd))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "-m" "pytest" "--pyargs" "astroquery"
- ;; Skip tests that require online data.
- "-m" "not remote_data")))))))
+ (list
+ #:test-flags
+ #~(list "--pyargs" "astroquery"
+ "-m" "not remote_data")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'prepare-test-environment
+ (lambda _
+ (setenv "HOME" (getcwd)) ; some tests need a writable home
+ ;; To solve pytest/conftest issue. Pytest tries to load all
+ ;; files with word 'test' in them.
+ ;;
+ ;; ImportError while loading conftest ...
+ ;; _pytest.pathlib.ImportPathMismatchError: ...
+ ;;
+ (call-with-output-file "pytest.ini"
+ (lambda (port)
+ (format port "[pytest]
+python_files = test_*.py"))))))))
(propagated-inputs
(list python-astropy
python-beautifulsoup4
@@ -1636,12 +1644,13 @@ (define-public python-astroquery
python-pyvo
python-requests))
(native-inputs
- (list python-flask
- python-jinja2
+ (list python-astropy-healpix
python-matplotlib
+ ;; python-mocpy : Not packed yet, optional
python-pytest-astropy
- python-pytest-dependency))
- (home-page "https://www.astropy.org/astroquery/")
+ python-pytest-dependency
+ python-regions))
+ (home-page "https://astroquery.readthedocs.io/en/latest/index.html")
(synopsis "Access online astronomical data resources")
(description "Astroquery is a package that contains a collection of tools
to access online Astronomical data. Each web service has its own sub-package.")
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 21/32] gnu: python-extension-helpers: Enable tests.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (19 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 20/32] gnu: python-astroquery: Improve package style Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 22/32] gnu: python-extension-helpers: Improve style Sharlatan Hellseher
` (10 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, jgart
* gnu/packages/python-xyz.scm (python-extension-helpers): Enable tests.
[arguments]{phases}: Add 'prepare-test-environment phase.
Change-Id: I6effa60f3ccd334d11b5f86162742f2272f737b1
---
gnu/packages/python-xyz.scm | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 318ce539db..6d3e30a91e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4254,9 +4254,22 @@ (define-public python-extension-helpers
(sha256
(base32 "1rjha07ds633fb81hn3i2yzk3v2flbi6qa091ix4mkvrgk3gl6ya"))))
(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))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'prepare-test-environment
+ (lambda _
+ ;; To solve pytest/conftest issue. Pytest tries to load all
+ ;; files with word 'test' in them.
+ ;;
+ ;; ImportError while loading conftest ...
+ ;; _pytest.pathlib.ImportPathMismatchError: ...
+ ;;
+ (call-with-output-file "pytest.ini"
+ (lambda (port)
+ (format port "[pytest]
+python_files = test_*.py"))))))))
(native-inputs
(list python-coverage
python-pytest
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 22/32] gnu: python-extension-helpers: Improve style.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (20 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 21/32] gnu: python-extension-helpers: Enable tests Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 23/32] gnu: python-extension-helpers: Update to 1.1.0 Sharlatan Hellseher
` (9 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, jgart
* gnu/packages/python-xyz.scm (python-extension-helpers): Improve
package style by applying indentation.
Change-Id: Icf337ea724244448a3aac8ecec8033ae3cd958e3
---
gnu/packages/python-xyz.scm | 70 ++++++++++++++++++-------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6d3e30a91e..3f9019d248 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4244,46 +4244,46 @@ (define-public python-exceptiongroup
(license license:expat)))
(define-public python-extension-helpers
-(package
- (name "python-extension-helpers")
- (version "1.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "extension-helpers" version))
- (sha256
+ (package
+ (name "python-extension-helpers")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "extension-helpers" version))
+ (sha256
(base32 "1rjha07ds633fb81hn3i2yzk3v2flbi6qa091ix4mkvrgk3gl6ya"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-before 'check 'prepare-test-environment
- (lambda _
- ;; To solve pytest/conftest issue. Pytest tries to load all
- ;; files with word 'test' in them.
- ;;
- ;; ImportError while loading conftest ...
- ;; _pytest.pathlib.ImportPathMismatchError: ...
- ;;
- (call-with-output-file "pytest.ini"
- (lambda (port)
- (format port "[pytest]
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'prepare-test-environment
+ (lambda _
+ ;; To solve pytest/conftest issue. Pytest tries to load all
+ ;; files with word 'test' in them.
+ ;;
+ ;; ImportError while loading conftest ...
+ ;; _pytest.pathlib.ImportPathMismatchError: ...
+ ;;
+ (call-with-output-file "pytest.ini"
+ (lambda (port)
+ (format port "[pytest]
python_files = test_*.py"))))))))
- (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
+ (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
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] 34+ messages in thread
* [bug#67237] [PATCH 23/32] gnu: python-extension-helpers: Update to 1.1.0.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (21 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 22/32] gnu: python-extension-helpers: Improve style Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 24/32] gnu: python-poliastro: Improve package style Sharlatan Hellseher
` (8 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, jgart
* gnu/packages/python-xyz.scm (python-extension-helpers): Update to 1.1.0.
Change-Id: Ic6f8f5b5b293697cf949a5944d9e2303bcb2733e
---
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 3f9019d248..73a5f2d5ad 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4246,13 +4246,13 @@ (define-public python-exceptiongroup
(define-public python-extension-helpers
(package
(name "python-extension-helpers")
- (version "1.0.0")
+ (version "1.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "extension-helpers" version))
(sha256
- (base32 "1rjha07ds633fb81hn3i2yzk3v2flbi6qa091ix4mkvrgk3gl6ya"))))
+ (base32 "0a82qprdvrm3b8y065n4ri45ji5dhmg9yivlq77gilgqldw0qij9"))))
(build-system pyproject-build-system)
(arguments
(list
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 24/32] gnu: python-poliastro: Improve package style.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (22 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 23/32] gnu: python-extension-helpers: Update to 1.1.0 Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 25/32] gnu: parfive: Update to 2.0.2 Sharlatan Hellseher
` (7 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/package/astronomy.scm (python-poliastro): Improve package style.
[arguments]: Swap to use {test-flags} and standard {check} phase.
Change-Id: I0dde01af97adc883e8a3ce82a8448f4d10fdab64
---
gnu/packages/astronomy.scm | 27 +++++++++++----------------
1 file changed, 11 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index d12dccc208..f19f40a69d 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2118,27 +2118,22 @@ (define-public python-poliastro
(build-system pyproject-build-system)
(arguments
(list
+ #:test-flags
+ #~(list "-m" "not remote_data"
+ ;; TODO: Review failing tests later when any upstream
+ ;; suggestions are provided:
+ ;; https://github.com/poliastro/poliastro/issues/1618
+ "-k" (string-append "not test_czml_add_trajectory"
+ " and not test_czml_custom_packet"
+ " and not test_czml_ground_station"
+ " and not test_czml_groundtrack"
+ " and not test_czml_preamble"))
#:phases
#~(modify-phases %standard-phases
;; NOTE: Tests take about 7-10 minutes to pass.
(add-before 'check 'prepare-test-environment
(lambda _
- (setenv "HOME" "/tmp")
- ;; TODO: Review failing tests later when any upstream
- ;; suggestions are provided:
- ;; https://github.com/poliastro/poliastro/issues/1618
- (substitute* "tests/test_czml.py"
- (("def test_czml_add_trajectory") "def __off_test_czml_add_trajectory")
- (("def test_czml_custom_packet") "def __off_test_czml_custom_packet")
- (("def test_czml_ground_station") "def __off_test_czml_ground_station")
- (("def test_czml_groundtrack") "def __off_test_czml_groundtrack")
- (("def test_czml_preamble") "def __off_test_czml_preamble"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "-m" "pytest"
- ;; Skip tests that need remote data.
- "-m" "not remote_data")))))))
+ (setenv "HOME" "/tmp"))))))
(native-inputs
(list python-coverage
python-hypothesis
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 25/32] gnu: parfive: Update to 2.0.2.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (23 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 24/32] gnu: python-poliastro: Improve package style Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 26/32] gnu: parfive: Improve package style Sharlatan Hellseher
` (6 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, jgart
* gnu/packages/python-web.scm (parfive): Update to 2.0.2.
Change-Id: Ie06cf90d17b419f22dea7e312eb1124c679bdfdd
---
gnu/packages/python-web.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8d5af5bd46..4b6f20745c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1197,13 +1197,13 @@ (define-public httpie
(define-public parfive
(package
(name "parfive")
- (version "2.0.1")
+ (version "2.0.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "parfive" version))
(sha256
(base32
- "19dcbb6g56l5s3ih0bhs3p4acgc0gf4zdzpj4w87m69li2nhmgpx"))))
+ "0pf8rzfwxpkn84xzb4v8m1fy3k7kjlh8f9ln4y5xqlnbqpwi30lh"))))
(build-system python-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 26/32] gnu: parfive: Improve package style.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (24 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 25/32] gnu: parfive: Update to 2.0.2 Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 27/32] gnu: python-pytest-socket: Update to 0.6.0 Sharlatan Hellseher
` (5 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, jgart
* gnu/packages/python-web.scm (parfive): Update package style.
[build-system]: Swap to python-build-system.
[arguments]{phases}: Remove 'disable-test-requiring-network phase. Use
standard 'check phase. {test-flags}: Disable tests requiring network
access.
Change-Id: I5d233079f629398232f134c41fad6ea516c44c7f
---
gnu/packages/python-web.scm | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4b6f20745c..cc95643f07 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1204,18 +1204,15 @@ (define-public parfive
(sha256
(base32
"0pf8rzfwxpkn84xzb4v8m1fy3k7kjlh8f9ln4y5xqlnbqpwi30lh"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- (list #:phases #~(modify-phases %standard-phases
- (add-before 'check 'disable-test-requiring-network
- (lambda _
- (substitute* "parfive/tests/test_downloader.py"
- (("def test_ftp")
- "def __off_test_ftp"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "-m" "pytest" "-vvv" "parfive")))))))
+ (list
+ #:test-flags
+ ;; Disable tests requiring network access.
+ #~(list "-k" (string-append "not test_ftp"
+ " and not test_download_unique"
+ " and not test_custom_user_agent"
+ " and not test_multipart"))))
(propagated-inputs (list python-aiofiles python-aioftp python-aiohttp
python-tqdm))
(native-inputs (list python-pytest
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 27/32] gnu: python-pytest-socket: Update to 0.6.0.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (25 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 26/32] gnu: parfive: Improve package style Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 28/32] gnu: python-pytest-socket: Enable tests Sharlatan Hellseher
` (4 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, jgart
* gnu/packages/python-check.scm (python-pytest-socket): Update to 0.6.0.
[source]: File name changed in PyPI repository.
Change-Id: I3dd984c6f752377b43decd201d184fc2da8daf60
---
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 ea74472270..e7de83539d 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -422,13 +422,13 @@ (define-public python-vcrpy
(define-public python-pytest-socket
(package
(name "python-pytest-socket")
- (version "0.5.1")
+ (version "0.6.0")
(source (origin
(method url-fetch)
- (uri (pypi-uri "pytest-socket" version))
+ (uri (pypi-uri "pytest_socket" version))
(sha256
(base32
- "1dkr86nxkxc0ka3rdnpmk335m8gl1zh1sy8i7w4w1jsidbf82jvw"))))
+ "0f3irpd8lwmm3pb1fqnvwg82kpkhsnzsmw8jg7yd85c349kisg1n"))))
(build-system python-build-system)
(arguments
;; FIXME: Tests fail a lot, probably requiring Internet access.
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 28/32] gnu: python-pytest-socket: Enable tests.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (26 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 27/32] gnu: python-pytest-socket: Update to 0.6.0 Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 29/32] gnu: python-memory-profiler: Enable all tests Sharlatan Hellseher
` (3 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, jgart
* gnu/packages/python-check.scm (python-pytest-socket): Improve package
style, enable tests.
[build-system]: Swap to pyproject-build-system.
[arguments]{tests-flags}: Disable test requiring network access.
{phases}: Swap to use standard phases.
Change-Id: I7cdd98bc501caddc982bb5ffa21354e3987242f9
---
gnu/packages/python-check.scm | 38 +++++++++++++----------------------
1 file changed, 14 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index e7de83539d..7412c04ce0 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -429,31 +429,21 @@ (define-public python-pytest-socket
(sha256
(base32
"0f3irpd8lwmm3pb1fqnvwg82kpkhsnzsmw8jg7yd85c349kisg1n"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- ;; FIXME: Tests fail a lot, probably requiring Internet access.
- (list #:tests? #f
- #:phases #~(modify-phases %standard-phases
- (replace 'build
- (lambda _
- (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
- #$version)
- (setenv "SOURCE_DATE_EPOCH" "315532800")
- (invoke "python"
- "-m"
- "build"
- "--wheel"
- "--no-isolation"
- ".")))
- (add-before 'check 'disable-unsupported-test
- (lambda _
- (substitute* "tests/test_async.py"
- (("def test_asynctest")
- "def __off_test_asynctest"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "-m" "pytest" "-vvv")))))))
+ (list
+ #:test-flags
+ #~(list "-k"
+ (string-append
+ ;; Disable tests requiring network access.
+ "not test_urlopen_disabled"
+ " and not test_parametrize_with_socket_enabled_and_allow_hosts"
+ " and not test_enabled_urllib_succeeds"
+ " and not test_urllib_succeeds_by_default"
+ " and not test_disabled_urllib_fails"
+ " and not test_httpx_fails"
+ " and not test_asynctest"
+ " and not test_global_disable_and_allow_host"))))
(native-inputs (list python-httpx
python-poetry-core
python-pypa-build
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 29/32] gnu: python-memory-profiler: Enable all tests.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (27 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 28/32] gnu: python-pytest-socket: Enable tests Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 30/32] gnu: python-synphot: Enable tests Sharlatan Hellseher
` (2 subsequent siblings)
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, jgart
* gnu/packages/python-check.scm (python-memory-profiler): Enable all
available tests.
[arguments]{phases}: Remove 'disable-failing-tests phase. Use custom
'check phase.
Change-Id: Icce21131d9526c81a4cdfa7aa43be85c8f981065
---
gnu/packages/python-check.scm | 26 ++++----------------------
1 file changed, 4 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 7412c04ce0..c98a1f4dd9 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1755,28 +1755,10 @@ (define-public python-memory-profiler
(list
#:phases
#~(modify-phases %standard-phases
- ;; XXX: @profile is not loaded in some test files and there are 3
- ;; tests fail, disable them for now.
- (add-after 'unpack 'disable-failing-tests
- (lambda _
- (with-directory-excursion "test"
- (for-each delete-file
- '("test_as.py"
- "test_func.py"
- "test_gen.py"
- "test_loop.py"
- "test_loop_decorated.py"
- "test_mprofile.py"
- "test_nested.py"
- "test_precision_command_line.py"
- "test_unicode.py")))
- (substitute* "test/test_attributes.py"
- (("def test_with_profile") "def __off_test_with_profile"))
- (substitute* "test/test_stream_unicode.py"
- (("def test_unicode") "def __off_test_unicode"))
- (substitute* "test/test_tracemalloc.py"
- (("def test_memory_profiler")
- "def __off_test_memory_profiler")))))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "make" "test")))))))
(native-inputs
(list python-pytest python-pytest-fixture-config python-safety))
(propagated-inputs (list python-psutil))
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 30/32] gnu: python-synphot: Enable tests.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (28 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 29/32] gnu: python-memory-profiler: Enable all tests Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 31/32] gnu: python-stsci-stimage: " Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 32/32] gnu: python-posix-ipc: Limit tests to target-x86 Sharlatan Hellseher
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-synphot): Enable tests.
[arguments]{phases}: Add 'prepare-test-environment phase.
Change-Id: Ie577ef16794fbd99ec73e39bdc8d8e1645e35532
---
gnu/packages/astronomy.scm | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index f19f40a69d..bf419ae526 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3712,9 +3712,21 @@ (define-public python-synphot
(build-system pyproject-build-system)
(arguments
(list
- ;; XXX: Test needs more love to pass.
- ;; ERROR collecting synphot/tests/test_utils.py
- #:tests? #f))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'prepare-test-environment
+ (lambda _
+ (invoke "python" "setup.py" "build_ext" "--inplace")
+ ;; To solve pytest/conftest issue. Pytest tries to load all
+ ;; files with word 'test' in them.
+ ;;
+ ;; ImportError while loading conftest ...
+ ;; _pytest.pathlib.ImportPathMismatchError: ...
+ ;;
+ (call-with-output-file "pytest.ini"
+ (lambda (port)
+ (format port "[pytest]
+python_files = test_*.py"))))))))
(propagated-inputs (list python-astropy python-numpy python-scipy))
(native-inputs (list python-pytest python-pytest-astropy
python-setuptools-scm))
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 31/32] gnu: python-stsci-stimage: Enable tests.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (29 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 30/32] gnu: python-synphot: Enable tests Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 32/32] gnu: python-posix-ipc: Limit tests to target-x86 Sharlatan Hellseher
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237; +Cc: Sharlatan Hellseher, Andreas Enge, Efraim Flashner, Eric Bavier
* gnu/packages/astronomy.scm (python-stsci-stimage): Enable tests.
[arguments]{phases}: Add custom 'check phase.
[native-inputs]: Add python-waf and indent list.
Change-Id: Ifceace1d89aff97e938c4fb95f33525477499949
---
gnu/packages/astronomy.scm | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index bf419ae526..c063285b52 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2695,11 +2695,23 @@ (define-public python-stsci-stimage
(build-system pyproject-build-system)
(arguments
(list
- ;; XXX: Fix failing tests. There are errors to load test files.
- #:tests? #f))
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Test steps are taken from GitHub Actions.
+ ;; See https://github.com/spacetelescope/stsci.stimage/issues/27
+ (replace 'check
+ (lambda _
+ (copy-file (string-append
+ #$(this-package-native-input "python-waf") "/bin/waf")
+ "waf")
+ (invoke "python" "waf" "configure" "build" "do_tests"))))))
(propagated-inputs (list python-numpy))
- (native-inputs (list python-codecov python-pytest python-pytest-cov
- python-setuptools-scm))
+ (native-inputs
+ (list python-codecov
+ python-pytest
+ python-pytest-cov
+ python-setuptools-scm
+ python-waf))
(home-page "https://stscistimage.readthedocs.io/en/latest/")
(synopsis "STScI image processing")
(description "This package provides an astronomical Python package with
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#67237] [PATCH 32/32] gnu: python-posix-ipc: Limit tests to target-x86.
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
` (30 preceding siblings ...)
2023-11-17 12:16 ` [bug#67237] [PATCH 31/32] gnu: python-stsci-stimage: " Sharlatan Hellseher
@ 2023-11-17 12:16 ` Sharlatan Hellseher
31 siblings, 0 replies; 34+ messages in thread
From: Sharlatan Hellseher @ 2023-11-17 12:16 UTC (permalink / raw)
To: 67237
Cc: Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, jgart
* gnu/packages/python-xyz.scm (python-posix-ipc): Fix build on not X86
platform by disabling unit tests.
[arguments]{tests?}: Only run unit tests on target-x86.
Change-Id: I96a1fbd4e732135c9e2f26c547248f057c7778bf
---
gnu/packages/python-xyz.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 73a5f2d5ad..805bd2b54d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33014,7 +33014,12 @@ (define-public python-posix-ipc
(base32 "1wwp0ys8640nb31syabic1z524r1qx3q2v8h4d65am3a728l5bn4"))))
(build-system python-build-system)
(arguments
- (list #:phases
+ ;; XXX: Disable failing tests on not x86_64-linux systems:
+ ;; - OSError: [Errno 38] Function not implemented
+ ;; - Test simple threaded notification
+ ;; https://github.com/osvenskan/posix_ipc/issues/35
+ (list #:tests? (target-x86?)
+ #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-cc-path
(lambda _
--
2.41.0
^ permalink raw reply related [flat|nested] 34+ messages in thread
* bug#67237: [PATCH 01/32] gnu: celestia: Update to 1.6.4.
2023-11-17 12:15 ` [bug#67237] [PATCH 01/32] gnu: celestia: Update to 1.6.4 Sharlatan Hellseher
@ 2023-11-19 2:02 ` Eric Bavier
0 siblings, 0 replies; 34+ messages in thread
From: Eric Bavier @ 2023-11-19 2:02 UTC (permalink / raw)
To: Sharlatan Hellseher, 67237-done; +Cc: Andreas Enge, Efraim Flashner
Thanks for all the updates!
I've pushed this series in commits 1d43cd5818..b7abea0fd6
Cheers,
`~Eric
On Fri, 2023-11-17 at 12:15 +0000, Sharlatan Hellseher wrote:
> * gnu/packages/astronomy.scm (celestia): Update to 1.6.4.
>
> Change-Id: I581bb402e78584b526d83050cfedb4e8d26a6115
^ permalink raw reply [flat|nested] 34+ messages in thread
end of thread, other threads:[~2023-11-19 2:03 UTC | newest]
Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-17 12:04 [bug#67237] [PATCH 00/32] gnu: Astronomy 2023/11 updates Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 01/32] gnu: celestia: Update to 1.6.4 Sharlatan Hellseher
2023-11-19 2:02 ` bug#67237: " Eric Bavier
2023-11-17 12:15 ` [bug#67237] [PATCH 02/32] gnu: gpredict: Improve package style Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 03/32] gnu: libpasastro: Update to 1.4.1 Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 04/32] gnu: python-asdf-3.0: Update to 3.0.1 Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 05/32] gnu: python-astroalign: Update to 2.5.1 Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 06/32] gnu: python-casa-formats-io: Update to 0.2.2 Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 07/32] gnu: python-crds: Update to 11.17.9 Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 08/32] gnu: python-fitsio: Update to 1.2.1 Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 09/32] gnu: python-jplephem: Update to 2.20 Sharlatan Hellseher
2023-11-17 12:15 ` [bug#67237] [PATCH 10/32] gnu: python-posix-ipc: Update to 1.1.1 Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 11/32] gnu: python-pynbody: Update to 1.4.2 Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 12/32] gnu: python-pynbody: Prepare for cross compilation Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 13/32] gnu: python-rad: Update to 0.18.0 Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 14/32] gnu: python-roman-datamodels: " Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 15/32] gnu: python-sgp4: Update to 2.23 Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 16/32] gnu: python-wiimatch: Update to 0.3.2 Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 17/32] gnu: splash: Update to 3.9.0 Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 18/32] gnu: python-drms: Simplify package Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 19/32] gnu: python-stsci-imagestats: Swap to pyproject-build-system Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 20/32] gnu: python-astroquery: Improve package style Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 21/32] gnu: python-extension-helpers: Enable tests Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 22/32] gnu: python-extension-helpers: Improve style Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 23/32] gnu: python-extension-helpers: Update to 1.1.0 Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 24/32] gnu: python-poliastro: Improve package style Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 25/32] gnu: parfive: Update to 2.0.2 Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 26/32] gnu: parfive: Improve package style Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 27/32] gnu: python-pytest-socket: Update to 0.6.0 Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 28/32] gnu: python-pytest-socket: Enable tests Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 29/32] gnu: python-memory-profiler: Enable all tests Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 30/32] gnu: python-synphot: Enable tests Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 31/32] gnu: python-stsci-stimage: " Sharlatan Hellseher
2023-11-17 12:16 ` [bug#67237] [PATCH 32/32] gnu: python-posix-ipc: Limit tests to target-x86 Sharlatan Hellseher
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).