Source: python-scipy
Version: 0.19.1-2
Severity: important
User: debian...@lists.debian.org
Usertags: needs-update

Hi Maintainer

Since the recent upload of python-numpy on 2018-05-05, python-scipy has been failing its autopkgtests [1] with the following errors:

======================================================================
ERROR: test_netcdf.test_mmaps_segfault
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
File "/usr/lib/python3/dist-packages/scipy/io/tests/test_netcdf.py", line 258, in test_mmaps_segfault
    with netcdf_file(filename, mmap=True) as f:
File "/usr/lib/python3/dist-packages/scipy/io/netcdf.py", line 266, in __init__
    self._read()
File "/usr/lib/python3/dist-packages/scipy/io/netcdf.py", line 587, in _read
    self.__dict__['version_byte'] = fromstring(self.fp.read(1), '>b')[0]
DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead

======================================================================
ERROR: test_alpha_with_negative_entries (test_multivariate.TestDirichlet)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/scipy/stats/tests/test_multivariate.py", line 585, in test_alpha_with_negative_entries
    x = np.random.dirichlet(alpha, size=7).T
  File "mtrand.pyx", line 4753, in mtrand.RandomState.dirichlet
ValueError: alpha <= 0

======================================================================
ERROR: test_alpha_with_zeros (test_multivariate.TestDirichlet)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/scipy/stats/tests/test_multivariate.py", line 578, in test_alpha_with_zeros
    x = np.random.dirichlet(alpha, size=7).T
  File "mtrand.pyx", line 4753, in mtrand.RandomState.dirichlet
ValueError: alpha <= 0

----------------------------------------------------------------------

Regards
Graham


[1] https://ci.debian.net/packages/p/python-scipy/unstable/amd64/

Reply via email to