guix_mirror_bot pushed a commit to branch astro-update
in repository guix.

commit e7a1d40c6884a5388dd668bea9fbace5a4f81126
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Dec 16 23:14:39 2025 +0000

    gnu: python-cdflib: Update to 1.3.7.
    
    * gnu/packages/astronomy.scm (python-cdflib): Update to 1.3.7.
    [arguments] <phases>: Add 'fix-pytest-config.
    [native-inputs]: Remove python-pytest-cov.
    
    Change-Id: I86c72969afb0c96ad5207f18490af69475857bd3
---
 gnu/packages/astronomy.scm | 33 +++++++++++++++++++--------------
 1 file changed, 19 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c650ab72d1..298a342d29 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3688,30 +3688,35 @@ bad pixel tracking throughout the reduction process.")
 (define-public python-cdflib
   (package
     (name "python-cdflib")
-    (version "1.3.6")
+    (version "1.3.7")
     (source
      (origin
-       (method git-fetch)               ; no tests in PyPI release
+       (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/MAVENSDC/cdflib";)
-             (commit version)))
+              (url "https://github.com/MAVENSDC/cdflib";)
+              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1rlzmwnlz77n8c62h050jc2njy10bfby671p3w7y6r6y6642xrdi"))))
+        (base32 "1ky54sg21g9mcgg8cimkb5bpmz4kl3yfgd1gk99s687lj1qm9v31"))))
     (build-system pyproject-build-system)
     (arguments
-     (list #:phases
-           #~(modify-phases %standard-phases
-               (add-before 'build 'set-env-version
-                 (lambda _
-                   (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
-               (add-before 'check 'set-home-env
-                 (lambda _
-                   (setenv "HOME" (getcwd)))))))
+     (list
+      ;; tests: 71 passed, 26 skipped, 7 warnings
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-pytest-config
+            (lambda _
+              (substitute* "pyproject.toml"
+                ((" --cov=cdflib --cov-report=xml") ""))))
+          (add-before 'build 'set-env-version
+            (lambda _
+              (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
+          (add-before 'check 'set-home-env
+            (lambda _
+              (setenv "HOME" (getcwd)))))))
     (native-inputs
      (list python-astropy-minimal
            python-pytest
-           python-pytest-cov
            python-pytest-remotedata
            python-setuptools
            python-setuptools-scm

Reply via email to