Bug#906419: lmfit-py: FTBFS: test failure

Damyan Ivanov dmn at debian.org
Fri Aug 17 12:25:23 BST 2018


Source: lmfit-py
Version: 0.9.7+dfsg-1
Severity: serious
Justification: fails to build from source

Hi,

lmfit-py fails to build in a current sid/amd64 chroot:

======================================================================
ERROR: test_itercb.test_itercb
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_lmfit/build/tests/test_itercb.py", line 24, in test_itercb
    out = mod.fit(y, pars, x=x, iter_cb=per_iteration)
  File "lmfit/model.py", line 736, in fit
    output.fit(data=data, weights=weights)
  File "lmfit/model.py", line 951, in fit
    _ret = self.minimize(method=self.method)
  File "lmfit/minimizer.py", line 1649, in minimize
    return function(**kwargs)
  File "lmfit/minimizer.py", line 1302, in leastsq
    lsout = scipy_leastsq(self.__residual, vars, **lskws)
  File "/usr/lib/python2.7/dist-packages/scipy/optimize/minpack.py", line 394, in leastsq
    gtol, maxfev, epsfcn, factor, diag)
ValueError: The array returned by a function changed size between calls

----------------------------------------------------------------------
Ran 207 tests in 13.039s

FAILED (SKIP=2, errors=1)
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_lmfit/build; python2.7 -m nose tests
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13

This can be also observed on reproducible-builds pages: 
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/lmfit-py.html


Full build log attached.

-- dam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lmfit-py_amd64-2018-08-17T08:48:30Z.build.gz
Type: application/gzip
Size: 16524 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180817/eb071d13/attachment-0001.gz>


More information about the debian-science-maintainers mailing list