Your message dated Wed, 04 Jan 2023 10:55:05 +0000
with message-id <e1pd1qh-0021eq...@fasolo.debian.org>
and subject line Bug#1027396: fixed in spectral-cube 0.6.0-2
has caused the Debian Bug report #1027396,
regarding astropy breaks spectral-cube autopkgtest: AssertionError
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1027396: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027396
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: astropy, spectral-cube
Control: found -1 astropy/5.2-1
Control: found -1 spectral-cube/0.6.0-1
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: breaks needs-update
Dear maintainer(s),
With a recent upload of astropy the autopkgtest of spectral-cube fails
in testing when that autopkgtest is run with the binary packages of
astropy from unstable. It passes when run with only packages from
testing. In tabular form:
pass fail
astropy from testing 5.2-1
spectral-cube from testing 0.6.0-1
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of astropy to
testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=astropy
https://ci.debian.net/data/autopkgtest/testing/amd64/s/spectral-cube/29791507/log.gz
=================================== FAILURES
===================================
_________________________ test_spectral_smooth[False]
__________________________
data_522_delta =
PosixPath('/tmp/pytest-of-debci/pytest-0/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])
/usr/lib/python3/dist-packages/spectral_cube/tests/test_regrid.py:131:
AssertionError
__________________________ test_spectral_smooth[True]
__________________________
data_522_delta =
PosixPath('/tmp/pytest-of-debci/pytest-0/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])
/usr/lib/python3/dist-packages/spectral_cube/tests/test_regrid.py:131:
AssertionError
_________________________ test_spectral_smooth_4cores
__________________________
data_522_delta =
PosixPath('/tmp/pytest-of-debci/pytest-0/test_spectral_smooth_4cores0/522_delta.fits')
@pytest.mark.skipif('WINDOWS')
def test_spectral_smooth_4cores(data_522_delta):
pytest.importorskip('joblib')
cube, data = cube_and_raw(data_522_delta, use_dask=False)
result =
cube.spectral_smooth(kernel=convolution.Gaussian1DKernel(1.0),
num_cores=4, use_memmap=True)
> 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])
/usr/lib/python3/dist-packages/spectral_cube/tests/test_regrid.py:163:
AssertionError
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: spectral-cube
Source-Version: 0.6.0-2
Done: Ole Streicher <oleb...@debian.org>
We believe that the bug you reported is fixed in the latest version of
spectral-cube, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1027...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ole Streicher <oleb...@debian.org> (supplier of updated spectral-cube package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 04 Jan 2023 10:46:03 +0100
Source: spectral-cube
Architecture: source
Version: 0.6.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Team
<debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Ole Streicher <oleb...@debian.org>
Closes: 1026720 1027396
Changes:
spectral-cube (0.6.0-2) unstable; urgency=medium
.
* Update test_kernel_smooth to latest github version
(Closes: #1026720, #1027396)
* Push Standards-Version to 4.6.2, no changes needed
Checksums-Sha1:
dadbafa581cc4ec2092fd4ae9f1ae09711c7efc3 2223 spectral-cube_0.6.0-2.dsc
647a6db9bf7b4c34ee5d8a0ab5ec4c024d745c25 6272
spectral-cube_0.6.0-2.debian.tar.xz
Checksums-Sha256:
cfa2954dc276e789650869b25f025457e1ec9d106c72d3078c3ceaf848280e57 2223
spectral-cube_0.6.0-2.dsc
ec813c81c3ab4ca8bc508bfe526ef9021dd188a168624740289d170dc4cf4b29 6272
spectral-cube_0.6.0-2.debian.tar.xz
Files:
f564ac6262cbbece395da687f62fbc5a 2223 python optional spectral-cube_0.6.0-2.dsc
85c67d80f809af70c63962dfea9c1241 6272 python optional
spectral-cube_0.6.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmO1VDMACgkQcRWv0HcQ
3Pf9JQ//ZAtFnb0GE3uipWEMowdGA6V1CoQOorSZp8rDLOF/kldog/2COcaJBj03
TC3NPvfopnN1+IolaZMCFNphyvUd+x8q1ouHCrFdTFShQHiVoVb3QTTmaiFjBTMQ
B72u837xhgsi2JGptI6qK9NYPTOTyXRXsi8LsyXPxkjNa0+KsHzfeh+1vpwfRwO/
jNOCtLzML//4ghEfIaXndxo3Xh2avljfixHlAAMGfR5ylwEOtr9DktWluaxf8x9z
9vW7ik47oFGMHs6t28gDqnooXqraBEq6Q7m6MdR3Xac0m6E9e9ej4GMsS4nIGQVb
0Dbakju5MkSX/PsRdAJ6aJZF13X5Jlq6vvHGaX1cuXlFLAmDkpQMJRNQGmjeX8xk
V9YmmfxfnTsQGeluMGySWob9WA+eHtvNKKNaIE64KL/U5bcwHvfClLs3G84zvCoJ
2rLjMo5iSY9nIEx/ty8Ckt9qgMY1bRv3WE4wZhYZGcJaxFtqKJwpa3ZrENruiaW5
ZApGXZn0/GoTZf6HcZA4905DYebDLPdc1gvKWyw11nrTOXrL8LGHWP9MizocO7Zc
rabAYakxIiUJpWNHDf7Fd9UfL6x4TL8dCdCcpPrQ3HtPip7KsjvUKCNQs044cYEO
rRMiA2SnR72Ktsm63o7VLLZGjXWPwyKMn/tA2hJodv6Qgth2HKI=
=dMGc
-----END PGP SIGNATURE-----
--- End Message ---