[Debian-pan-maintainers] Bug#1073546: tomopy: tests fail with scipy 1.13
Drew Parsons
dparsons at debian.org
Mon Jun 17 12:03:16 BST 2024
Source: tomopy
Version: 1.14.1+ds1-1
Severity: important
tomopy is failing tests using scipy 1.13 from experimental,
evidentally due to use of a deprecated API.
The error is
67s ERROR: test_remove_stripe_based_filtering (test_tomopy.test_prep.test_stripe.StripeRemovalTestCase.test_remove_stripe_based_filtering)
67s ----------------------------------------------------------------------
67s Traceback (most recent call last):
67s File "/tmp/autopkgtest-lxc.b2aurb49/downtmp/build.a6f/src/test/test_tomopy/test_prep/test_stripe.py", line 89, in test_remove_stripe_based_filtering
67s mat_corr = srm.remove_stripe_based_filtering(
67s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
67s File "/usr/lib/python3/dist-packages/tomopy/prep/stripe.py", line 473, in remove_stripe_based_filtering
67s arr = mproc.distribute_jobs(tomo,
67s ^^^^^^^^^^^^^^^^^^^^^^^^^^^
67s File "/usr/lib/python3/dist-packages/tomopy/util/mproc.py", line 329, in distribute_jobs
67s _arg_parser(m)
67s File "/usr/lib/python3/dist-packages/tomopy/util/mproc.py", line 383, in _arg_parser
67s result = func(*func_args, **kwargs)
67s ^^^^^^^^^^^^^^^^^^^^^^^^^^
67s File "/usr/lib/python3/dist-packages/tomopy/prep/stripe.py", line 512, in _remove_stripe_based_filtering
67s window = _create_1d_window(tomo.shape[0], sigma, pad)
67s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
67s File "/usr/lib/python3/dist-packages/tomopy/prep/stripe.py", line 483, in _create_1d_window
67s window = signal.gaussian(ncol + 2 * pad, std=sigma)
67s ^^^^^^^^^^^^^^^
67s AttributeError: module 'scipy.signal' has no attribute 'gaussian'
Full log at https://ci.debian.net/packages/t/tomopy/unstable/amd64/47741316/
scipy 1.12 has only just been uploaded to debian, but upstream is
already preparing 1.14, so we can expect to upgrade to scipy 1.13
in the near future.
More information about the Debian-pan-maintainers
mailing list