~ruther/guix-local

bcf332f0603231d2286de9006aae36a90ea39ec6 — Sharlatan Hellseher 3 months ago 8dc07ea
gnu: python-reproject: Update to 0.19.0.

* gnu/packages/astronomy.scm (python-reproject): Update to 0.19.0.
[arguments] <test-flags>: Read options from pyproject.toml, skip 3 shaky
tests.
[inputs]: Remove python-asdf, python-gwcs, python-pyvo, python-shapely, and
python-sunpy-minimal.
[propagated-inputs]: Remove python-cloudpickle; add python-dask-image,
python-pillow, and python-pyavm.
[native-inputs]: Add python-asdf, python-gwcs, python-pyvo,
python-shapely, and python-sunpy-minimal.

Change-Id: I50792fc53a1e9d661704da1fe080b01c29bf1fb5
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 16 insertions(+), 15 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +16 -15
@@ 8220,24 8220,24 @@ PSF} describing how the optical system spreads light from sources.")
(define-public python-reproject
  (package
    (name "python-reproject")
    (version "0.14.1") ;XXX: Newer versions need to be built with NumPy 2+
    (version "0.19.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "reproject" version))
       (sha256
        (base32 "0yg5dga054xdwsx75q204h04gmrw0mgayc74l4rpymcbkckymj2k"))))
        (base32 "1jbjq54kp438zbjpmd3kxm9r4h6p7dgq11ywf3iajn0j6k4nlpds"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      ;; tests: 2062 passed, 398 skipped, 3 warnings
      ;; tests: 2288 passed, 566 skipped, 99 warnings
      #:test-flags
      #~(list "--arraydiff"
              "--arraydiff-default-format=fits"
              "--numprocesses" (number->string (min 8 (parallel-job-count)))
              ;; ValueError: Could not determine celestial frame corresponding
              ;; to the specified WCS object
              "-k" "not test_solar_wcs")
      #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
              ;; AssertionError: assert 'Broadcasting is being used' in ''
              "-k" (string-append
                    "not test_reproject_parallel_broadcasting[none]"
                    " and not test_reproject_parallel_broadcasting[None]"
                    " and not test_reproject_parallel_broadcasting[memmap]"))
      #:phases
      #~(modify-phases %standard-phases
          (replace 'check


@@ 8251,24 8251,25 @@ PSF} describing how the optical system spreads light from sources.")
              (for-each delete-file-recursively
                        (find-files #$output "__pycache__" #:directories? #t)))))))
    (native-inputs
     (list python-cython
     (list python-asdf
           python-cython
           python-extension-helpers
           python-gwcs
           python-pytest-astropy
           python-pytest-xdist
           python-setuptools-scm))
    (inputs
     (list python-asdf
           python-gwcs
           python-pyvo
           python-setuptools-scm
           python-shapely
           python-sunpy-minimal))
    (propagated-inputs
     (list python-astropy
           python-astropy-healpix
           python-cloudpickle
           python-dask
           python-dask-image
           python-fsspec
           python-numpy
           python-pillow
           python-pyavm
           python-scipy
           python-zarr))
    (home-page "https://reproject.readthedocs.io")