Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-lmfit for openSUSE:Factory 
checked in at 2023-01-17 17:35:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-lmfit (Old)
 and      /work/SRC/openSUSE:Factory/.python-lmfit.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-lmfit"

Tue Jan 17 17:35:08 2023 rev:4 rq:1058764 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-lmfit/python-lmfit.changes        
2021-12-30 15:56:07.908687447 +0100
+++ /work/SRC/openSUSE:Factory/.python-lmfit.new.32243/python-lmfit.changes     
2023-01-17 17:35:18.637179977 +0100
@@ -1,0 +2,43 @@
+Fri Jan 13 15:42:09 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to v1.1.0
+  ## New features:
+  * add Pearson4Model (@lellid; PR #800)
+  * add SplineModel (PR #804)
+  * add R^2 rsquared statistic to fit outputs and reports for Model
+    fits (Issue #803; PR #810)
+  * add calculation of dely for model components of composite
+    models (Issue #761; PR #826)
+  ## Bug fixes/enhancements:
+  * make sure variable spercent is always defined in
+    params_html_table functions (reported by @MySlientWind; Issue
+    #768, PR #770)
+  * always initialize the variables success and covar the
+    MinimizerResult (reported by Marc W. Pound; PR #771)
+  * build package following PEP517/PEP518; use pyproject.toml and
+    setup.cfg; leave setup.py for now (PR #777)
+  * components used to create a CompositeModel can now have
+    different independent variables (@Julian-Hochhaus; Discussion
+    #787; PR #788)
+  * fixed function definition for StepModel(form='linear'), was not
+    consistent with the other ones (@matpompili; PR #794)
+  * fixed height factor for Gaussian2dModel, was not correct
+    (@matpompili; PR #795)
+  * for covariances with negative diagonal elements, we set the
+    covariance to None (PR #813)
+  * fixed linear mode for RectangleModel (@arunpersaud; Issue #815;
+    PR #816)
+  * report correct initial values for parameters with bounds (Issue
+    #820; PR #821)
+  * allow recalculation of confidence intervals (@jagerber48; PR
+    #798)
+  * include 'residual' in JSON output of ModelResult.dumps
+    (@mac01021; PR #830)
+  * supports and is tested against Python 3.11; updated minimum
+    required version of SciPy, NumPy, and asteval (PR #832)
+  ## Deprecations:
+  * remove support for Python 3.6 which reached EOL on 2021-12-23
+    (PR #790)
+- Clean check section from extra example
+
+-------------------------------------------------------------------

Old:
----
  lmfit-1.0.3.tar.gz

New:
----
  lmfit-1.1.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-lmfit.spec ++++++
--- /var/tmp/diff_new_pack.dVd3Vv/_old  2023-01-17 17:35:19.249183527 +0100
+++ /var/tmp/diff_new_pack.dVd3Vv/_new  2023-01-17 17:35:19.253183550 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-lmfit
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,35 +16,35 @@
 #
 
 
-%{?!python_module:%define python_module() python3-%{**}}
-%define         skip_python2 1
-%define         skip_python36 1
 Name:           python-lmfit
-Version:        1.0.3
+Version:        1.1.0
 Release:        0
 Summary:        Least-Squares Minimization with Bounds and Constraints
 License:        BSD-3-Clause AND MIT
 URL:            https://lmfit.github.io/lmfit-py/
 Source:         
https://files.pythonhosted.org/packages/source/l/lmfit/lmfit-%{version}.tar.gz
+BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-asteval >= 0.9.22
-Requires:       python-numpy >= 1.18
-Requires:       python-scipy >= 1.3
+Requires:       python-asteval >= 0.9.28
+Requires:       python-numpy >= 1.19
+Requires:       python-scipy >= 1.6
+Requires:       python-uncertainties >= 3.1.4
 Recommends:     python-dill
 Recommends:     python-emcee
 Recommends:     python-matplotlib
 Recommends:     python-pandas
-Recommends:     python-uncertainties >= 3.0.1
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module asteval >= 0.9.22}
-BuildRequires:  %{python_module numpy >= 1.18}
+BuildRequires:  %{python_module asteval >= 0.9.28}
+BuildRequires:  %{python_module numpy >= 1.19}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module scipy >= 1.4}
-BuildRequires:  %{python_module uncertainties >= 3.0.1}
+BuildRequires:  %{python_module scipy >= 1.6}
+BuildRequires:  %{python_module uncertainties >= 3.1.4}
 # /SECTION
 %python_subpackages
 
@@ -74,57 +74,14 @@
 sed -i '/addopts/d' setup.cfg
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%{python_exec -c "import sys, lmfit, numpy, scipy, asteval, uncertainties;
-print('Python: {}\n\n'
-'lmfit: {}, scipy: {}, numpy: {}, asteval: {}, uncertainties: {}'.format(
-    sys.version,
-    lmfit.__version__,
-    scipy.__version__,
-    numpy.__version__,
-    asteval.__version__,
-    uncertainties.__version__
-))"}
-
-cat << 'EOF' >> testexample.py
-import numpy as np
-
-import lmfit
-from lmfit.lineshapes import gaussian
-from lmfit.models import PseudoVoigtModel
-
-x = np.linspace(0, 10, 201)
-np.random.seed(0)
-y = gaussian(x, 10.0, 6.15, 0.8)
-y += gaussian(x, 8.0, 6.35, 1.1)
-y += gaussian(x, 0.25, 6.00, 7.5)
-y += np.random.normal(size=len(x), scale=0.5)
-
-# with NaN values in the input data
-y[55] = y[91] = np.nan
-mod = PseudoVoigtModel()
-params = mod.make_params(amplitude=20, center=5.5,
-                         sigma=1, fraction=0.25)
-params['fraction'].vary = False
-
-# with propagate, should get no error, but bad results
-result = mod.fit(y, params, x=x, nan_policy='propagate')
-lmfit.report_fit(result)
-
-print(result.__dict__)
-EOF
-
-cat testexample.py
-
-%python_exec testexample.py
-
-# We don't care about speed
+# We don't care about speed on obs
 donttest="speed"
 # these tests fail on non x86_64. Upstream does not care: 
https://github.com/lmfit/lmfit-py/issues/692
 donttest+=" or test_model_nan_policy"
@@ -136,7 +93,7 @@
 %pytest -k "not ($donttest)"
 
 %files %{python_files}
-%doc README.rst THANKS.txt
+%doc README.rst AUTHORS.txt
 %license LICENSE
 %{python_sitelib}/lmfit
 %{python_sitelib}/lmfit-%{version}*-info

++++++ lmfit-1.0.3.tar.gz -> lmfit-1.1.0.tar.gz ++++++
++++ 4543 lines of diff (skipped)

Reply via email to