[PATCH 00/32] gnu: Astronomy 2023/11 updates.

  • Done
  • quality assurance status badge
Details
2 participants
  • Eric Bavier
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
Sharlatan Hellseher
Severity
normal

Debbugs page

Sharlatan Hellseher wrote 1 years ago
(address . guix-patches@gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
cover.1700222319.git.sharlatanus@gmail.com
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/66896which needs to be placed first reported
solved with new QD

Tested on x86_64-linux system, and they do not introduce any regressions.

Toggle quote (1 lines)
> ./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
Sharlatan Hellseher wrote 1 years ago
[PATCH 01/32] gnu: celestia: Update to 1.6.4.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
15771b59dd882a397dd0b58229d25fc25369d70a.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (24 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 02/32] gnu: gpredict: Improve package style.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
1bbfc260ff2278cb6ee4fa88818098c419bf7073.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (50 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 04/32] gnu: python-asdf-3.0: Update to 3.0.1.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
fb1859be4411a90460fd2b19fb2da87c08fc1362.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 03/32] gnu: libpasastro: Update to 1.4.1.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
fd83f394e66bcdb7b3057bcbd3786e4ac1f5e5a8.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (94 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 06/32] gnu: python-casa-formats-io: Update to 0.2.2.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
f081f2de93559cb21d6ecae61852b3a405f96f44.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 05/32] gnu: python-astroalign: Update to 2.5.1.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
fa7967d3932e5b7796fbbebeced3257a03ff898a.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (24 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 07/32] gnu: python-crds: Update to 11.17.9.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
92d21a1ec4564c36fe6e915193a4d1b4101c9b8e.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 08/32] gnu: python-fitsio: Update to 1.2.1.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
59e79df0f7367efe788d48ddf40e299eb79f4777.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 10/32] gnu: python-posix-ipc: Update to 1.1.1.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
1992ecb5ebb21f297e325a3408d43c2ccc50add9.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (24 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 11/32] gnu: python-pynbody: Update to 1.4.2.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
4cbdd903b8244c47e5ae570e7510e1374a8008be.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (24 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 12/32] gnu: python-pynbody: Prepare for cross compilation.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
f51eb889e4634c70d3ffe464f2be7551a8fc3b20.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (20 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 13/32] gnu: python-rad: Update to 0.18.0.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
6630f5a20d32c7f3aa7d6caa719f4acb5cdee12f.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 09/32] gnu: python-jplephem: Update to 2.20.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
ef27ddd2a04d96bbb3455acd95eacaf61a53c307.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 14/32] gnu: python-roman-datamodels: Update to 0.18.0.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
4a50b8e1e3cc4c6dbbc929ae94df125ffb69b4d7.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 16/32] gnu: python-wiimatch: Update to 0.3.2.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
78646af1fd8dbe6b44b538eba873f6ebf6508447.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 15/32] gnu: python-sgp4: Update to 2.23.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
31e9fe693eeb9022c204418e6273e99b16744c84.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 17/32] gnu: splash: Update to 3.9.0.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
e53db973d3d770559bb2f7d9c6eb5e87e6973027.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (24 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 18/32] gnu: python-drms: Simplify package.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
14604cd802ba36c7945fd0808f59cb509d0e8c14.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (26 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 19/32] gnu: python-stsci-imagestats: Swap to pyproject-build-system.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
1148bd661a35520ad0faf111953d97bc88ac1bf8.1700222319.git.sharlatanus@gmail.com
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(-)

Toggle diff (15 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 20/32] gnu: python-astroquery: Improve package style.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
c2ca549fa26d83b3151716df00b208da9f25a702.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (64 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 21/32] gnu: python-extension-helpers: Enable tests.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
9fca2e60618792c74917e2f0e40f1f61ffd8b7b4.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (32 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 22/32] gnu: python-extension-helpers: Improve style.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
6a27993c64e0f50b34b53009650489a889917585.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (88 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 23/32] gnu: python-extension-helpers: Update to 1.1.0.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
0f8167f457bf3a5c5bcc40225d54d45e11082601.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 24/32] gnu: python-poliastro: Improve package style.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
1fd1a2acd6d9e9811abcf661c226abc7c01e0c05.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (45 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 25/32] gnu: parfive: Update to 2.0.2.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
4e67cef648337ab2e47c7695bac476683f0f03ed.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (22 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 26/32] gnu: parfive: Improve package style.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
63f1240d08da23fccd765d07eb775fb38abcaf7e.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (33 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 27/32] gnu: python-pytest-socket: Update to 0.6.0.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
0e4b4f547d60228629760d26c9eccf305bad2ba6.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (23 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 28/32] gnu: python-pytest-socket: Enable tests.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
e615e1c7b2d90bf39f0f85bd320b9b8ee0c941b0.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (52 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 29/32] gnu: python-memory-profiler: Enable all tests.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
9a08cb31b85b4738ad2ef4ef524fe81799f220ca.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (39 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 30/32] gnu: python-synphot: Enable tests.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
6fdfe45a921bd3fe8fcce7b80fbf5d12997a6be1.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (31 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 31/32] gnu: python-stsci-stimage: Enable tests.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
c5920586e46dbafca527683338375269336bd066.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (34 lines)
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
Sharlatan Hellseher wrote 1 years ago
[PATCH 32/32] gnu: python-posix-ipc: Limit tests to target-x86.
(address . 67237@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
b005984cfa6ec6785a5d6e51350b0311ee073823.1700222319.git.sharlatanus@gmail.com
* 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(-)

Toggle diff (20 lines)
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
Eric Bavier wrote 1 years ago
Re: [bug#67237] [PATCH 01/32] gnu: celestia: Update to 1.6.4.
fedaea96020dcf5fda053ba082d2b4c6d4b4dd7d.camel@posteo.net
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:
Toggle quote (3 lines)
> * gnu/packages/astronomy.scm (celestia): Update to 1.6.4.
>
> Change-Id: I581bb402e78584b526d83050cfedb4e8d26a6115
Closed
?
Your comment

This issue is archived.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 67237
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help