From 5cfc2ad4f7c30d3cf867a664c171b3e515b71c77e3268cb309eb2235ed73cad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 22 Aug 2023 19:05:32 +0000 Subject: [PATCH] Accepting request 1105049 from home:mcalabkova:branches:devel:languages:python:numeric MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 1.2.2 * add create_params function * add ModelResult.summary() to return many resulting fit statistics and attributes into a JSON-able dict. * update tests for latest versions of NumPy and SciPy. * Coercing of user input data and independent data for Model to float64 ndarrays is somewhat less aggressive and will not increase the precision of numpy ndarrays * improve Model.make_params and create_params to take optional dict of Parameter attributes * Outputs of residual functions, including Model._residual, are more explicitly coerced to 1d-arrays of datatype Float64. This decreases the expectation for the user-supplied code to return ndarrays, and increases the tolerance for more “array-like” objects or ndarrays that are not Float64 or 1-dimensional. OBS-URL: https://build.opensuse.org/request/show/1105049 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-lmfit?expand=0&rev=9 --- lmfit-1.1.0.tar.gz | 3 --- lmfit-1.2.2.tar.gz | 3 +++ python-lmfit.changes | 19 +++++++++++++++++++ python-lmfit.spec | 3 ++- 4 files changed, 24 insertions(+), 4 deletions(-) delete mode 100644 lmfit-1.1.0.tar.gz create mode 100644 lmfit-1.2.2.tar.gz diff --git a/lmfit-1.1.0.tar.gz b/lmfit-1.1.0.tar.gz deleted file mode 100644 index 26de7d1..0000000 --- a/lmfit-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a2755b708ad7bad010178da28f082f55cbee7a084a625b452632e2d77b5391fb -size 308634 diff --git a/lmfit-1.2.2.tar.gz b/lmfit-1.2.2.tar.gz new file mode 100644 index 0000000..cded35e --- /dev/null +++ b/lmfit-1.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:044a052a11a61da0576274504c17eb7e2803b41128e25821e96632207f23c88c +size 336346 diff --git a/python-lmfit.changes b/python-lmfit.changes index d2c5470..77e123d 100644 --- a/python-lmfit.changes +++ b/python-lmfit.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Aug 21 10:32:37 UTC 2023 - Markéta Machová + +- Update to 1.2.2 + * add create_params function + * add ModelResult.summary() to return many resulting fit statistics + and attributes into a JSON-able dict. + * update tests for latest versions of NumPy and SciPy. + * Coercing of user input data and independent data for Model to + float64 ndarrays is somewhat less aggressive and will not increase + the precision of numpy ndarrays + * improve Model.make_params and create_params to take optional dict + of Parameter attributes + * Outputs of residual functions, including Model._residual, are more + explicitly coerced to 1d-arrays of datatype Float64. This decreases the + expectation for the user-supplied code to return ndarrays, and increases + the tolerance for more “array-like” objects or ndarrays that are not + Float64 or 1-dimensional. + ------------------------------------------------------------------- Fri Jan 13 15:42:09 UTC 2023 - Ben Greiner diff --git a/python-lmfit.spec b/python-lmfit.spec index 7879927..4f0817d 100644 --- a/python-lmfit.spec +++ b/python-lmfit.spec @@ -17,7 +17,7 @@ Name: python-lmfit -Version: 1.1.0 +Version: 1.2.2 Release: 0 Summary: Least-Squares Minimization with Bounds and Constraints License: BSD-3-Clause AND MIT @@ -89,6 +89,7 @@ donttest+=" or test_shgo_scipy_vs_lmfit_2" # fails on 32-bit if [ $(getconf LONG_BIT) -ne 64 ]; then donttest+=" or (test_itercb_minimizer_class and leastsq and False)" + donttest+=" or (test_aborted_solvers and brute)" fi %pytest -k "not ($donttest)"