Bug#1075930: python-geotiepoints: fails tests with scipy 1.13
Drew Parsons
dparsons at debian.org
Mon Jul 8 00:08:08 BST 2024
Source: python-geotiepoints
Version: 1.7.4-1
Severity: normal
python-geotiepoints is failing tests with scipy 1.13 from experimental,
https://ci.debian.net/packages/p/python-geotiepoints/unstable/arm64/48727341/
110s _________________ TestSingleGridInterpolator.test_interpolate __________________
110s
110s self = <geotiepoints.tests.test_interpolator.TestSingleGridInterpolator object at 0xffffa3a51550>
110s grid_interpolator = <geotiepoints.interpolator.SingleGridInterpolator object at 0xffffa2f94190>
110s
110s def test_interpolate(self, grid_interpolator):
110s """Test that interpolation is working."""
110s fine_x = np.arange(16)
110s fine_y = np.arange(32)
110s
110s res = grid_interpolator.interpolate((fine_y, fine_x), method=CUBIC_LEGACY)
110s > np.testing.assert_allclose(res, self.expected, atol=2e-9)
110s
110s /usr/lib/python3/dist-packages/geotiepoints/tests/test_interpolator.py:359:
110s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
110s
110s args = (<function assert_allclose.<locals>.compare at 0xffffa2bb6e80>, array([[ 0.00000000e+00, 5.91632075e-01, 9.09670897e...4.00000000e+00, 4.00000000e+00,
110s 4.00000000e+00, 4.00000000e+00, 4.00000000e+00,
110s 4.00000000e+00]]))
110s kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=2e-09', 'verbose': True}
110s
110s @wraps(func)
110s def inner(*args, **kwds):
110s with self._recreate_cm():
110s > return func(*args, **kwds)
110s E AssertionError:
110s E Not equal to tolerance rtol=1e-07, atol=2e-09
110s E
110s E Mismatched elements: 506 / 512 (98.8%)
110s E Max absolute difference: 0.00011739
110s E Max relative difference: 2.5723227e+11
110s E x: array([[ 0.000000e+00, 5.916321e-01, 9.096709e-01, 9.999468e-01,
110s E 9.082902e-01, 6.805314e-01, 3.625007e-01, 2.855852e-05,
110s E -3.610547e-01, -6.749188e-01, -8.957333e-01, -9.776679e-01,...
110s E y: array([[ 0.000000e+00, 5.916667e-01, 9.097222e-01, 1.000000e+00,
110s E 9.083333e-01, 6.805556e-01, 3.625000e-01, 1.110223e-16,
110s E -3.611111e-01, -6.750000e-01, -8.958333e-01, -9.777778e-01,...
110s
110s /usr/lib/python3.11/contextlib.py:81: AssertionError
etc
scipy 1.12 was only recently uploaded to unstable, but upstream has
already released 1.14 so we'll want to upload scipy 1.13 to unstable
in the near future.
More information about the Pkg-grass-devel
mailing list