guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 7cab49708474126baea8afac2518e855a1a707bd
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Oct 22 22:52:37 2025 +0200

    gnu: python-lmfit: Update to 1.3.4.
    
    * gnu/packages/python-xyz.scm (python-lmfit): Update to 1.3.4.
    [build-system]: Switch to pyproject-build-system.
    [propagated-inputs]: Add python-dill.
    [native-inputs]: Add python-pytest-cov, python-setuptools.
    
    Change-Id: I3b44ed9627ba34f0b61f02a3fca13b084562f77f
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2c86767506..37fc957e00 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20822,19 +20822,30 @@ using the @code{ast} module.")
 (define-public python-lmfit
   (package
     (name "python-lmfit")
-    (version "1.0.2")
+    (version "1.3.4")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "lmfit" version))
        (sha256
         (base32
-         "0iab33jjb60f8kn0k0cqb0vjp1mdskks2n3kpn97zkw5cvjhq2b7"))))
-    (build-system python-build-system)
+         "15z4zcyc4crfdw22qnbaq8wrf552jgl83gd3nk2zc5zp8f6c48iw"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; Costly tests that may fail with multiprocessing.context.TimeoutError.
+      #~(list "--ignore=tests/test_jacobian_pickling.py")
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; XXX: Unclear why, but the phase seems broken.
+          ;; asteval>=1.0 is not understood correctly.
+          (delete 'sanity-check))))
     (propagated-inputs
-     (list python-asteval python-numpy python-scipy python-uncertainties))
+     (list python-asteval python-dill python-numpy python-scipy
+           python-uncertainties))
     (native-inputs
-     (list python-pytest))
+     (list python-pytest python-pytest-cov python-setuptools))
     (home-page "https://lmfit.github.io/lmfit-py/";)
     (synopsis "Least-Squares minimization with bounds and constraints")
     (description

Reply via email to