guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit b0af84f7c06d7db94f72cbcbfec3846760613f33
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Dec 9 21:12:01 2025 +0000

    gnu: python-astroml: Fix build.
    
    * gnu/packages/astronomy.scm (python-astroml)[arguments]<test-flags>:
    Skip 2 more tests.
    [native-inputs]: Remove python-pytest-cov and python-wheel; add
    python-pytest, python-pytest-astropy, and python-setuptools.
    
    Change-Id: I38df8b11f652713d961d792d36efca25bfd8140b
---
 gnu/packages/astronomy.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 086af6379c..89e3368109 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2946,7 +2946,9 @@ of functions to execute the desired steps in the 
mock-observing process.")
         "--ignore=astroML/density_estimation/tests/test_hist_binwidth.py"
         ;; Disalbe tests with NumPy, see
         ;; <https://github.com/astroML/astroML/issues/281>.
-        "--ignore=astroML/tests/test_resample.py")
+        "--ignore=astroML/tests/test_resample.py"
+        "-k" (string-append "not 
astroML.density_estimation.empirical.EmpiricalDistribution"
+                            " and not 
astroML.utils.utils.log_multivariate_gaussian"))
       #:phases
       '(modify-phases %standard-phases
          (add-after 'unpack 'patch-build-system
@@ -2973,11 +2975,12 @@ of functions to execute the desired steps in the 
mock-observing process.")
            (lambda _
              (setenv "HOME" "/tmp"))))))
     (native-inputs
-     (list python-pytest-astropy-header
-           python-pytest-cov
+     (list python-pytest
+           python-pytest-astropy
+           python-pytest-astropy-header
            python-pytest-doctestplus
            python-pytest-remotedata
-           python-wheel))
+           python-setuptools))
     (propagated-inputs
      (list python-astropy
            python-matplotlib

Reply via email to