From 7cab49708474126baea8afac2518e855a1a707bd Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 22 Oct 2025 22:52:37 +0200 Subject: [PATCH] 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 --- 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 2c86767506a2211b02882ec24414d3199c5103c7..37fc957e0088418f89e875f13ae8c4b7dc02d5f2 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