Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-lmfit py-lmfit: updated to 1.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39a13621232c
branches:  trunk
changeset: 431479:39a13621232c
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 13 15:36:27 2020 +0000

description:
py-lmfit: updated to 1.0.1

Version 1.0.1 Release Notes
============================

**Version 1.0.1 is the last release that supports Python 3.5**. All newer version will
require 3.6+ so that we can use formatting-strings and rely on dictionaries being ordered.

New features:
- added thermal distribution model and lineshape
- introduced a new argument ``max_nfev`` to uniformly specify the maximum number of function evalutions
  **Please note: all other arguments (e.g., ``maxfev``, ``maxiter``, ...) will no longer be passed to the underlying
  solver. A warning will be emitted stating that one should use ``max_nfev``.**
- the attribute ``call_kws`` was added to the ``MinimizerResult`` class and contains the keyword arguments that are
  supplied to the solver in SciPy.

Bug fixes:
- fixes to the ``load`` and ``__setstate__`` methods of the Parameter class
- fixed failure of ModelResult.dump() due to missing attributes
- ``guess_from_peak`` function now also works correctly with decreasing x-values or when using
  pandas
- the ``Parameter.set()`` method now correctly first updates the boundaries and then the value

Various:
- fixed typo for the use of expressions in the documentation
- removal of PY2-compatibility and unused code and improved test coverage
- removed deprecated ``isParameter`` function and automatic conversion of an ``uncertainties`` object
- inaccurate FWHM calculations were removed from built-in models, others labeled as estimates
- corrected spelling mistake for the Doniach lineshape and model
- removed unsupported/untested code for IPython notebooks in lmfit/ui/*

diffstat:

 math/py-lmfit/Makefile |   5 ++---
 math/py-lmfit/PLIST    |  11 +----------
 math/py-lmfit/distinfo |  10 +++++-----
 3 files changed, 8 insertions(+), 18 deletions(-)

diffs (57 lines):

diff -r 0976e017d09e -r 39a13621232c math/py-lmfit/Makefile
--- a/math/py-lmfit/Makefile    Wed May 13 15:25:40 2020 +0000
+++ b/math/py-lmfit/Makefile    Wed May 13 15:36:27 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2020/04/28 13:27:03 adam Exp $
+# $NetBSD: Makefile,v 1.10 2020/05/13 15:36:27 adam Exp $
 
-DISTNAME=      lmfit-1.0.0
+DISTNAME=      lmfit-1.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lmfit/}
@@ -13,7 +13,6 @@
 DEPENDS+=      ${PYPKGPREFIX}-asteval>=0.9.16:../../math/py-asteval
 DEPENDS+=      ${PYPKGPREFIX}-numpy>=1.16:../../math/py-numpy
 DEPENDS+=      ${PYPKGPREFIX}-scipy>=1.2:../../math/py-scipy
-DEPENDS+=      ${PYPKGPREFIX}-six>=1.11.0:../../lang/py-six
 DEPENDS+=      ${PYPKGPREFIX}-uncertainties>=3.0.1:../../math/py-uncertainties
 
 USE_LANGUAGES= # none
diff -r 0976e017d09e -r 39a13621232c math/py-lmfit/PLIST
--- a/math/py-lmfit/PLIST       Wed May 13 15:25:40 2020 +0000
+++ b/math/py-lmfit/PLIST       Wed May 13 15:36:27 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2018/07/13 06:22:35 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/05/13 15:36:27 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -37,12 +37,3 @@
 ${PYSITELIB}/lmfit/printfuncs.py
 ${PYSITELIB}/lmfit/printfuncs.pyc
 ${PYSITELIB}/lmfit/printfuncs.pyo
-${PYSITELIB}/lmfit/ui/__init__.py
-${PYSITELIB}/lmfit/ui/__init__.pyc
-${PYSITELIB}/lmfit/ui/__init__.pyo
-${PYSITELIB}/lmfit/ui/basefitter.py
-${PYSITELIB}/lmfit/ui/basefitter.pyc
-${PYSITELIB}/lmfit/ui/basefitter.pyo
-${PYSITELIB}/lmfit/ui/ipy_fitter.py
-${PYSITELIB}/lmfit/ui/ipy_fitter.pyc
-${PYSITELIB}/lmfit/ui/ipy_fitter.pyo
diff -r 0976e017d09e -r 39a13621232c math/py-lmfit/distinfo
--- a/math/py-lmfit/distinfo    Wed May 13 15:25:40 2020 +0000
+++ b/math/py-lmfit/distinfo    Wed May 13 15:36:27 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2020/04/28 13:27:03 adam Exp $
+$NetBSD: distinfo,v 1.9 2020/05/13 15:36:27 adam Exp $
 
-SHA1 (lmfit-1.0.0.tar.gz) = 263c0939fa8fb6b499e9f09aeac2ed65f0bc0f9f
-RMD160 (lmfit-1.0.0.tar.gz) = 82123f8030de979e44f451a2e3a80e2bf879ab28
-SHA512 (lmfit-1.0.0.tar.gz) = 9195fcb528fd9c7d6a3c74ce071724ec1cd556df51785ba54baaeb694821299d30cf49941fd6fbd7fe4ff5651be94c9ee303a5cadbe9be63467b8b29c71829b2
-Size (lmfit-1.0.0.tar.gz) = 258821 bytes
+SHA1 (lmfit-1.0.1.tar.gz) = ef4337a6c647058dfad609a0ee4ca024bf1ec7c8
+RMD160 (lmfit-1.0.1.tar.gz) = e641f717229828c32375e6d4f22c66bc998e3a55
+SHA512 (lmfit-1.0.1.tar.gz) = 1ae3e2cb25625a9b24c261d81c8f1ba0389266724581762f6e0a96140c84e43acd527ab1b83b862bf7b3b4c0b1b9755ee38d0c52e63fe89ea41f2d010b1e5c0d
+Size (lmfit-1.0.1.tar.gz) = 258368 bytes



Home | Main Index | Thread Index | Old Index