Bug#950053: pysal FTBFS: test failures
Adrian Bunk
bunk at debian.org
Tue Jan 28 17:50:33 GMT 2020
Source: pysal
Version: 2.0.0-1
Severity: serious
Tags: ftbfs
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pysal.html
...
======================================================================
ERROR: test_spatial (pysal.model.spreg.tests.test_twosls_sparse.TestTSLS)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/pysal-2.0.0/.pybuild/cpython3_3.8_pysal/build/pysal/model/spreg/tests/test_twosls_sparse.py", line 217, in test_spatial
reg = TSLS(self.y, self.X, self.yd, self.q, spat_diag=True, w=w)
File "/build/1st/pysal-2.0.0/.pybuild/cpython3_3.8_pysal/build/pysal/model/spreg/twosls.py", line 458, in __init__
SUMMARY.TSLS(reg=self, vm=vm, w=w, spat_diag=spat_diag)
File "/build/1st/pysal-2.0.0/.pybuild/cpython3_3.8_pysal/build/pysal/model/spreg/summary_output.py", line 104, in TSLS
beta_diag(reg, reg.robust)
File "/build/1st/pysal-2.0.0/.pybuild/cpython3_3.8_pysal/build/pysal/model/spreg/summary_output.py", line 714, in beta_diag
reg.pr2 = diagnostics_tsls.pr2_aspatial(reg)
File "/build/1st/pysal-2.0.0/.pybuild/cpython3_3.8_pysal/build/pysal/model/spreg/diagnostics_tsls.py", line 217, in pr2_aspatial
pr = pearsonr(y, predy)[0]
File "/usr/lib/python3/dist-packages/scipy/stats/stats.py", line 3410, in pearsonr
xmean = x.mean(dtype=dtype)
File "/usr/lib/python3/dist-packages/numpy/core/_methods.py", line 151, in _mean
ret = umr_sum(arr, axis, dtype, out, keepdims)
TypeError: No loop matching the specified signature and casting was found for ufunc add
======================================================================
ERROR: test_white (pysal.model.spreg.tests.test_twosls_sparse.TestTSLS)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/pysal-2.0.0/.pybuild/cpython3_3.8_pysal/build/pysal/model/spreg/tests/test_twosls_sparse.py", line 195, in test_white
reg = TSLS(self.y, self.X, self.yd, self.q, robust='white')
File "/build/1st/pysal-2.0.0/.pybuild/cpython3_3.8_pysal/build/pysal/model/spreg/twosls.py", line 458, in __init__
SUMMARY.TSLS(reg=self, vm=vm, w=w, spat_diag=spat_diag)
File "/build/1st/pysal-2.0.0/.pybuild/cpython3_3.8_pysal/build/pysal/model/spreg/summary_output.py", line 104, in TSLS
beta_diag(reg, reg.robust)
File "/build/1st/pysal-2.0.0/.pybuild/cpython3_3.8_pysal/build/pysal/model/spreg/summary_output.py", line 714, in beta_diag
reg.pr2 = diagnostics_tsls.pr2_aspatial(reg)
File "/build/1st/pysal-2.0.0/.pybuild/cpython3_3.8_pysal/build/pysal/model/spreg/diagnostics_tsls.py", line 217, in pr2_aspatial
pr = pearsonr(y, predy)[0]
File "/usr/lib/python3/dist-packages/scipy/stats/stats.py", line 3410, in pearsonr
xmean = x.mean(dtype=dtype)
File "/usr/lib/python3/dist-packages/numpy/core/_methods.py", line 151, in _mean
ret = umr_sum(arr, axis, dtype, out, keepdims)
TypeError: No loop matching the specified signature and casting was found for ufunc add
======================================================================
FAIL: test_filter (pysal.lib.weights.tests.test_adjlist.Test_Adjlist)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/pysal-2.0.0/.pybuild/cpython3_3.8_pysal/build/pysal/lib/weights/tests/test_adjlist.py", line 38, in test_filter
assert set(alist.focal.unique().tolist()) == set(list(range(4)))
AssertionError
----------------------------------------------------------------------
Ran 1055 tests in 3301.460s
FAILED (SKIP=69, errors=139, failures=1)
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd /build/1st/pysal-2.0.0/.pybuild/cpython3_3.8_pysal/build; python3.8 -m nose -v --verbose
dh_auto_test: error: pybuild --test -i python{version} -p "3.8 3.7" returned exit code 13
make[1]: *** [debian/rules:19: override_dh_auto_test] Error 25
More information about the Pkg-grass-devel
mailing list