Source: spectral-cube Version: 0.6.6-5 Severity: serious X-Debbugs-Cc: Michael R. Crusoe <[email protected]> User: [email protected] Usertags: regression
Hi Maintainer spectral-cube's autopkgtest fails when tested with joblib 1.5.2-1 [1]. I've copied what I hope is the relevant part of the log below. Regards Graham [1] https://ci.debian.net/packages/s/spectral-cube/testing/amd64/ 319s =================================== FAILURES =================================== 319s _____________________ test_smooth_update_function_parallel _____________________ 319s 319s capsys = <_pytest.capture.CaptureFixture object at 0x72ae72e5f0e0> 319s data_adv = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_smooth_update_function_pa0/adv.fits') 319s 319s @pytest.mark.skipif('WINDOWS') 319s def test_smooth_update_function_parallel(capsys, data_adv): 319s 319s pytest.importorskip('joblib') 319s pytest.importorskip('scipy.ndimage') 319s 319s cube, data = cube_and_raw(data_adv, use_dask=False) 319s 319s # this is potentially a major disaster: if update_function can't be 319s # pickled, it won't work, which is why update_function is (very badly) 319s # defined outside of this function 319s cube_spectral_median = cube.spectral_smooth_median(3, num_cores=4, 319s update_function=update_function) 319s 319s sys.stdout.flush() 319s captured = capsys.readouterr() 319s > assert "Update Function Call\n"*6 in captured.out 319s E AssertionError: assert ('Update Function Call\n' * 6) in 'HERE True True\nFINALLY HERE\n' 319s E + where 'HERE True True\nFINALLY HERE\n' = CaptureResult(out='HERE True True\nFINALLY HERE\n', err='').out 319s 319s /usr/lib/python3/dist-packages/spectral_cube/tests/test_spectral_cube.py:2569: AssertionError

