Source: spectral-cube Version: 0.6.0-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20221220 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh_auto_test > I: pybuild base:240: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spectral-cube/build; python3.11 -m > pytest > ============================= test session starts > ============================== > platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack > rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg > plugins: astropy-header-0.2.2, doctestplus-0.12.1, mock-3.8.2, > filter-subpackage-0.1.1, cov-4.0.0, arraydiff-0.5.0, hypothesis-6.60.0, > astropy-0.10.0, openfiles-0.5.0, remotedata-0.3.3 > collected 1653 items > > spectral_cube/spectral_axis.py . [ > 0%] > spectral_cube/tests/test_analysis_functions.py ................. [ > 1%] > spectral_cube/tests/test_casafuncs.py ......ssssssssssssss [ > 2%] > spectral_cube/tests/test_cube_utils.py ....... [ > 2%] > spectral_cube/tests/test_dask.py .s..s.. [ > 3%] > spectral_cube/tests/test_io.py .................... [ > 4%] > spectral_cube/tests/test_masks.py ...................................... [ > 6%] > ...............................................XX.... [ > 9%] > spectral_cube/tests/test_moments.py .................................... [ > 12%] > ........................................................................ [ > 16%] > ........................................................................ [ > 20%] > ........ [ > 21%] > spectral_cube/tests/test_performance.py ...s.. [ > 21%] > spectral_cube/tests/test_projection.py .......................x......... [ > 23%] > .....xxx.......x........................................................ [ > 27%] > ...................... [ > 29%] > spectral_cube/tests/test_regrid.py ......ssssFF..s...............sss.... [ > 31%] > s [ > 31%] > spectral_cube/tests/test_spectral_axis.py .............................. [ > 33%] > ...................... [ > 34%] > spectral_cube/tests/test_spectral_cube.py .............................. [ > 36%] > ........................................................................ [ > 40%] > ........................................................................ [ > 45%] > ........................................................................ [ > 49%] > ............s.....s...........sssss..................................... [ > 53%] > ............ssssss......................ss.............................. [ > 58%] > ........................................................................ [ > 62%] > ....................ssssss......ssssssssssss......ssssssssssss......ssss [ > 67%] > ssssssss......ssssssssssss......ssssss.................................. [ > 71%] > ........................................................ssssss......ssss [ > 75%] > ssssssss......ssssssssssss......ssssssssssss......ssssssssssss......ssss [ > 80%] > ss.................................s.s..............xxxx................ [ > 84%] > ..................................................ssss.................. [ > 88%] > ..........xxxxxxxx......sss...................... [ > 91%] > spectral_cube/tests/test_stokes_spectral_cube.py ....................... [ > 93%] > ................................................................... [ > 97%] > spectral_cube/tests/test_subcubes.py ..ssssssssssssssssssss [ > 98%] > spectral_cube/tests/test_visualization.py ....ssssssss [ > 99%] > spectral_cube/tests/test_wcs_utils.py ............ > [100%] > > =================================== FAILURES > =================================== > _________________________ test_spectral_smooth[False] > __________________________ > > data_522_delta = > PosixPath('/tmp/pytest-of-user42/pytest-1/test_spectral_smooth_False_0/522_delta.fits') > use_dask = False > > def test_spectral_smooth(data_522_delta, use_dask): > > cube, data = cube_and_raw(data_522_delta, use_dask=use_dask) > > result = > cube.spectral_smooth(kernel=convolution.Gaussian1DKernel(1.0), > use_memmap=False) > > > np.testing.assert_almost_equal(result[:,0,0].value, > convolution.Gaussian1DKernel(1.0, > > x_size=5).array, > 4) > E AssertionError: > E Arrays are not almost equal to 4 decimals > E > E Mismatched elements: 5 / 5 (100%) > E Max absolute difference: 0.00367648 > E Max relative difference: 0.00913138 > E x: array([0.054 , 0.242 , 0.3989, 0.242 , 0.054 ]) > E y: array([0.0545, 0.2442, 0.4026, 0.2442, 0.0545]) > > spectral_cube/tests/test_regrid.py:131: AssertionError > __________________________ test_spectral_smooth[True] > __________________________ > > data_522_delta = > PosixPath('/tmp/pytest-of-user42/pytest-1/test_spectral_smooth_True_0/522_delta.fits') > use_dask = True > > def test_spectral_smooth(data_522_delta, use_dask): > > cube, data = cube_and_raw(data_522_delta, use_dask=use_dask) > > result = > cube.spectral_smooth(kernel=convolution.Gaussian1DKernel(1.0), > use_memmap=False) > > > np.testing.assert_almost_equal(result[:,0,0].value, > convolution.Gaussian1DKernel(1.0, > > x_size=5).array, > 4) > E AssertionError: > E Arrays are not almost equal to 4 decimals > E > E Mismatched elements: 5 / 5 (100%) > E Max absolute difference: 0.00367648 > E Max relative difference: 0.00913138 > E x: array([0.054 , 0.242 , 0.3989, 0.242 , 0.054 ]) > E y: array([0.0545, 0.2442, 0.4026, 0.2442, 0.0545]) > > spectral_cube/tests/test_regrid.py:131: AssertionError > =========================== short test summary info > ============================ > FAILED spectral_cube/tests/test_regrid.py::test_spectral_smooth[False] - > Asse... > FAILED spectral_cube/tests/test_regrid.py::test_spectral_smooth[True] - > Asser... > = 2 failed, 1434 passed, 198 skipped, 17 xfailed, 2 xpassed in 534.41s > (0:08:54) = > E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spectral-cube/build; python3.11 -m > pytest > I: pybuild base:240: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spectral-cube/build; python3.10 -m > pytest > ============================= test session starts > ============================== > platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack > rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg > plugins: astropy-header-0.2.2, doctestplus-0.12.1, mock-3.8.2, > filter-subpackage-0.1.1, cov-4.0.0, arraydiff-0.5.0, hypothesis-6.60.0, > astropy-0.10.0, openfiles-0.5.0, remotedata-0.3.3 > collected 1653 items > > spectral_cube/spectral_axis.py . [ > 0%] > spectral_cube/tests/test_analysis_functions.py ................. [ > 1%] > spectral_cube/tests/test_casafuncs.py ......ssssssssssssss [ > 2%] > spectral_cube/tests/test_cube_utils.py ....... [ > 2%] > spectral_cube/tests/test_dask.py .s..s.. [ > 3%] > spectral_cube/tests/test_io.py .................... [ > 4%] > spectral_cube/tests/test_masks.py ...................................... [ > 6%] > ...............................................XX.... [ > 9%] > spectral_cube/tests/test_moments.py .................................... [ > 12%] > ........................................................................ [ > 16%] > ........................................................................ [ > 20%] > ........ [ > 21%] > spectral_cube/tests/test_performance.py ...s.. [ > 21%] > spectral_cube/tests/test_projection.py .......................x......... [ > 23%] > .....xxx.......x........................................................ [ > 27%] > ...................... [ > 29%] > spectral_cube/tests/test_regrid.py ......ssssFF..s...............sss.... [ > 31%] > s [ > 31%] > spectral_cube/tests/test_spectral_axis.py .............................. [ > 33%] > ...................... [ > 34%] > spectral_cube/tests/test_spectral_cube.py .............................. [ > 36%] > ........................................................................ [ > 40%] > ........................................................................ [ > 45%] > ........................................................................ [ > 49%] > ............s.....s...........sssss..................................... [ > 53%] > ............ssssss......................ss.............................. [ > 58%] > ........................................................................ [ > 62%] > ....................ssssss......ssssssssssss......ssssssssssss......ssss [ > 67%] > ssssssss......ssssssssssss......ssssss.................................. [ > 71%] > ........................................................ssssss......ssss [ > 75%] > ssssssss......ssssssssssss......ssssssssssss......ssssssssssss......ssss [ > 80%] > ss.................................s.s..............xxxx................ [ > 84%] > ..................................................ssss.................. [ > 88%] > ..........xxxxxxxx......sss...................... [ > 91%] > spectral_cube/tests/test_stokes_spectral_cube.py ....................... [ > 93%] > ................................................................... [ > 97%] > spectral_cube/tests/test_subcubes.py ..ssssssssssssssssssss [ > 98%] > spectral_cube/tests/test_visualization.py ....ssssssss [ > 99%] > spectral_cube/tests/test_wcs_utils.py ............ > [100%] > > =================================== FAILURES > =================================== > _________________________ test_spectral_smooth[False] > __________________________ > > data_522_delta = > PosixPath('/tmp/pytest-of-user42/pytest-2/test_spectral_smooth_False_0/522_delta.fits') > use_dask = False > > def test_spectral_smooth(data_522_delta, use_dask): > > cube, data = cube_and_raw(data_522_delta, use_dask=use_dask) > > result = > cube.spectral_smooth(kernel=convolution.Gaussian1DKernel(1.0), > use_memmap=False) > > > np.testing.assert_almost_equal(result[:,0,0].value, > convolution.Gaussian1DKernel(1.0, > > x_size=5).array, > 4) > E AssertionError: > E Arrays are not almost equal to 4 decimals > E > E Mismatched elements: 5 / 5 (100%) > E Max absolute difference: 0.00367648 > E Max relative difference: 0.00913138 > E x: array([0.054 , 0.242 , 0.3989, 0.242 , 0.054 ]) > E y: array([0.0545, 0.2442, 0.4026, 0.2442, 0.0545]) > > spectral_cube/tests/test_regrid.py:131: AssertionError > __________________________ test_spectral_smooth[True] > __________________________ > > data_522_delta = > PosixPath('/tmp/pytest-of-user42/pytest-2/test_spectral_smooth_True_0/522_delta.fits') > use_dask = True > > def test_spectral_smooth(data_522_delta, use_dask): > > cube, data = cube_and_raw(data_522_delta, use_dask=use_dask) > > result = > cube.spectral_smooth(kernel=convolution.Gaussian1DKernel(1.0), > use_memmap=False) > > > np.testing.assert_almost_equal(result[:,0,0].value, > convolution.Gaussian1DKernel(1.0, > > x_size=5).array, > 4) > E AssertionError: > E Arrays are not almost equal to 4 decimals > E > E Mismatched elements: 5 / 5 (100%) > E Max absolute difference: 0.00367648 > E Max relative difference: 0.00913138 > E x: array([0.054 , 0.242 , 0.3989, 0.242 , 0.054 ]) > E y: array([0.0545, 0.2442, 0.4026, 0.2442, 0.0545]) > > spectral_cube/tests/test_regrid.py:131: AssertionError > =========================== short test summary info > ============================ > FAILED spectral_cube/tests/test_regrid.py::test_spectral_smooth[False] - > Asse... > FAILED spectral_cube/tests/test_regrid.py::test_spectral_smooth[True] - > Asser... > = 2 failed, 1434 passed, 198 skipped, 17 xfailed, 2 xpassed in 392.76s > (0:06:32) = > E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spectral-cube/build; python3.10 -m > pytest > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 > 3.10" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2022/12/20/spectral-cube_0.6.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.