summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-06-01 10:26:44 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 23:02:06 +0100
commit4e93d946bb0f4d1a313db3685c74d2cbf897ab1a (patch)
tree3e51ba1dd6aede5d0a2374037c5d20a4a79c3837 /gnu/packages/python-science.scm
parentfe9e1a0d2593a4d71cb9288f800971da942bc80c (diff)
gnu: python-scipy: Update to 1.17.1.
* gnu/packages/python-science.scm (python-scipy): Update to 1.17.1. [arguments] <test-flags>: Rework skipped tests, run more. [inputs]: Remove boost-1.88 and pybind11-2; add boost and pybind11. [native-inputs]: Remove python-click, python-doit, python-numpydoc, python-pycodestyle, python-pydevtool, python-rich-click, and python-typing-extensions. Change-Id: Ib7aa47ec497c1f15c7309387313e52a029f4919d
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm35
1 files changed, 11 insertions, 24 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index d92439b5e72..41242b54baa 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -3677,7 +3677,7 @@ cross-validation.")
3677(define-public python-scipy 3677(define-public python-scipy
3678 (package 3678 (package
3679 (name "python-scipy") 3679 (name "python-scipy")
3680 (version "1.16.3") 3680 (version "1.17.1")
3681 ;; TODO: PyPI archive bundles extra in subprojects: 3681 ;; TODO: PyPI archive bundles extra in subprojects:
3682 ;; - https://github.com/boostorg/math 3682 ;; - https://github.com/boostorg/math
3683 ;; - https://github.com/scipy/HiGHS 3683 ;; - https://github.com/scipy/HiGHS
@@ -3688,16 +3688,16 @@ cross-validation.")
3688 (method url-fetch) 3688 (method url-fetch)
3689 (uri (pypi-uri "scipy" version)) 3689 (uri (pypi-uri "scipy" version))
3690 (sha256 3690 (sha256
3691 (base32 "1jxf6mjr3whbh23p8bnlcyiss5rsamq37qgys8xz8qi781cpds01")))) 3691 (base32 "1h4pn8i33cf5jzlh6hs6sjg10i8x1ch35y5f4v11d26bv09f1n4m"))))
3692 (build-system pyproject-build-system) 3692 (build-system pyproject-build-system)
3693 (arguments 3693 (arguments
3694 (list 3694 (list
3695 ;; tests: 78689 passed, 4982 skipped, 319 xfailed, 19 xpassed, 2660 warnings 3695 ;; tests: 81362 passed, 7493 skipped, 313 xfailed, 28 xpassed, 225 warnings
3696 #:configure-flags 3696 #:configure-flags
3697 ''(("setup-args" . #("-Duse-system-libraries=all"))) 3697 ''(("setup-args" . #("-Duse-system-libraries=all")))
3698 #:test-flags 3698 #:test-flags
3699 #~(list "--durations=10" 3699 #~(list "--durations=10"
3700 "--numprocesses" (number->string (min 4 (parallel-job-count))) 3700 "--numprocesses" (number->string (min 8 (parallel-job-count)))
3701 "--pyargs" "scipy" 3701 "--pyargs" "scipy"
3702 "-k" (string-join 3702 "-k" (string-join
3703 ;; Network access is required. 3703 ;; Network access is required.
@@ -3711,26 +3711,20 @@ cross-validation.")
3711 ;; AssertionError: Items are not equal: ACTUAL: 3711 ;; AssertionError: Items are not equal: ACTUAL:
3712 ;; np.complex128(inf+nanj) DESIRED: (inf+0j) 3712 ;; np.complex128(inf+nanj) DESIRED: (inf+0j)
3713 "test_expm1_complex" 3713 "test_expm1_complex"
3714 ;; AssertionError: Not equal to tolerance rtol=1e-07, atol=0
3715 "test_log1p_complex"
3716 ;; AssertionError: Not equal to tolerance rtol=5e-09, atol=0
3717 "test_nctdtr_accuracy[3.0-5.0--2.0-1.5645373999149622e-09-5e-09]"
3718 ;; Bad results (X out of Y) for the following points 3714 ;; Bad results (X out of Y) for the following points
3719 ;; (in output 0): 3715 ;; (in output 0):
3720 "test_spherical_in_complex" 3716 "test_spherical_in_complex"
3721 "test_spherical_jn_complex" 3717 "test_spherical_jn_complex"
3722 "test_spherical_kn" 3718 "test_spherical_kn"
3723 "test_spherical_yn_complex" 3719 "test_spherical_yn_complex"
3724 ;; Not equal to tolerance rtol=1e-07, atol=0 3720 ;; Not equal to tolerance <...>
3721 "test_log1p_complex"
3725 "test_negative_real_gh14582[spherical_in-False]" 3722 "test_negative_real_gh14582[spherical_in-False]"
3726 "test_negative_real_gh14582[spherical_in-True]" 3723 "test_negative_real_gh14582[spherical_in-True]"
3727 "test_negative_real_gh14582[spherical_jn-False]" 3724 "test_negative_real_gh14582[spherical_jn-False"
3728 "test_negative_real_gh14582[spherical_jn-True]" 3725 "test_negative_real_gh14582[spherical_jn-True]"
3729 "test_negative_real_gh14582[spherical_yn-False]" 3726 "test_negative_real_gh14582[spherical_yn-False]"
3730 "test_negative_real_gh14582[spherical_yn-True]" 3727 "test_negative_real_gh14582[spherical_yn-True]")
3731 ;; Failed: DID NOT WARN. No warnings of type (<class
3732 ;; 'RuntimeWarning'>,) were emitted.
3733 "test_boost_eval_issue_14606")
3734 " and not ")) 3728 " and not "))
3735 #:phases 3729 #:phases
3736 #~(modify-phases %standard-phases 3730 #~(modify-phases %standard-phases
@@ -3756,26 +3750,19 @@ cross-validation.")
3756 (native-inputs 3750 (native-inputs
3757 (list gfortran 3751 (list gfortran
3758 pkg-config 3752 pkg-config
3759 python-click
3760 python-doit
3761 python-hypothesis 3753 python-hypothesis
3762 python-meson 3754 python-meson
3763 python-mpmath 3755 python-mpmath
3764 python-numpydoc
3765 python-pooch 3756 python-pooch
3766 python-pycodestyle
3767 python-pydevtool
3768 python-pytest 3757 python-pytest
3769 python-pytest-timeout 3758 python-pytest-timeout
3770 python-pytest-xdist 3759 python-pytest-xdist
3771 python-pythran 3760 python-pythran
3772 python-rich-click 3761 python-threadpoolctl))
3773 python-threadpoolctl
3774 python-typing-extensions))
3775 (inputs 3762 (inputs
3776 (list boost-1.88 3763 (list boost
3777 openblas 3764 openblas
3778 pybind11-2 3765 pybind11
3779 qhull 3766 qhull
3780 xsimd)) 3767 xsimd))
3781 (propagated-inputs 3768 (propagated-inputs