Control: retitle -1 openstructure FTBFS with scipy 1.12 Control: tags -1 patch
On Tue, Jun 25, 2024 at 05:29:20PM +0300, Andrius Merkys wrote: > control: forwarded -1 openstructure-us...@maillist.unibas.ch > > On 2024-06-16 16:08, Lucas Nussbaum wrote: > > ====================================================================== > > ERROR: testSpearmanCorrel (__main__.TestTable.testSpearmanCorrel) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/modules/base/tests/test_table.py", line 1668, in > > testSpearmanCorrel > > self.assertAlmostEqual(tab.SpearmanCorrel('second','third'), > > -0.316227766) > > File "/usr/lib/python3.11/unittest/case.py", line 904, in > > assertAlmostEqual > > diff = abs(first - second) > > ~~~~~~^~~~~~~~ > > TypeError: unsupported operand type(s) for -: 'NoneType' and 'float' > > This failure seems to have been caused by an API change in scipy. I have > reported the issue upstream. A simple fix would be to skip this test > entirely via a patch. In the meantime let us wait for upstream's response. This has now been fixed upstream: https://git.scicore.unibas.ch/schwede/openstructure/-/commit/15a499485ede152b6d432b7c91f1084e9e11bd8f > Andrius cu Adrian