Your message dated Sat, 25 Nov 2023 12:28:09 +0000
with message-id <[email protected]>
and subject line Bug#1056527: fixed in satpy 0.44.0-2
has caused the Debian Bug report #1056527,
regarding satpy's autopkg tests fail with Python 3.12
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 [email protected]
immediately.)


-- 
1056527: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056527
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:satpy
Version: 0.43.0-7
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12

satpy's autopkg tests fail with Python 3.12:

[...]
541s =================================== FAILURES =================================== 541s _____________ TestSceneResampling.test_resample_reduce_data_toggle _____________
541s
541s self = <satpy.tests.scene_tests.test_resampling.TestSceneResampling object at 0x7fd3a5be6fc0>
541s rs = <MagicMock name='resample_dataset' id='140546315196640'>
541s
541s     @mock.patch('satpy.scene.resample_dataset')
541s     def test_resample_reduce_data_toggle(self, rs):
541s """Test that the Scene can be reduced or not reduced during resampling."""
541s         from pyresample.geometry import AreaDefinition
541s
541s         rs.side_effect = self._fake_resample_dataset_force_20x20
541s         proj_str = ('+proj=lcc +datum=WGS84 +ellps=WGS84 '
541s '+lon_0=-95. +lat_0=25 +lat_1=25 +units=m +no_defs') 541s target_area = AreaDefinition('test', 'test', 'test', proj_str, 4, 4, (-1000., -1500., 1000., 1500.)) 541s area_def = AreaDefinition('test', 'test', 'test', proj_str, 5, 5, (-1000., -1500., 1000., 1500.))
541s         area_def.get_area_slices = mock.MagicMock()
541s         get_area_slices = area_def.get_area_slices
541s get_area_slices.return_value = (slice(0, 3, None), slice(0, 3, None)) 541s area_def_big = AreaDefinition('test', 'test', 'test', proj_str, 10, 10, (-1000., -1500., 1000., 1500.))
541s         area_def_big.get_area_slices = mock.MagicMock()
541s         get_area_slices_big = area_def_big.get_area_slices
541s get_area_slices_big.return_value = (slice(0, 6, None), slice(0, 6, None))
541s
541s         # Test that data reduction can be disabled
541s         scene = Scene(filenames=['fake1_1.txt'], reader='fake1')
541s         scene.load(['comp19'])
541s         scene['comp19'].attrs['area'] = area_def
541s         scene['comp19_big'] = xr.DataArray(
541s             da.zeros((10, 10)), dims=('y', 'x'),
541s             attrs=scene['comp19'].attrs.copy())
541s         scene['comp19_big'].attrs['area'] = area_def_big
541s         scene['comp19_copy'] = scene['comp19'].copy()
541s         orig_slice_data = scene._slice_data
541s # we force the below order of processing to test that success isn't
541s         # based on data of the same resolution being processed together
541s         test_order = [
541s             make_cid(**scene['comp19'].attrs),
541s             make_cid(**scene['comp19_big'].attrs),
541s             make_cid(**scene['comp19_copy'].attrs),
541s         ]
541s with mock.patch('satpy.scene.Scene._slice_data') as slice_data, \ 541s mock.patch('satpy.dataset.dataset_walker') as ds_walker:
541s             ds_walker.return_value = test_order
541s             slice_data.side_effect = orig_slice_data
541s             scene.resample(target_area, reduce_data=False)
541s             assert not slice_data.called
541s             assert not get_area_slices.called
541s             scene.resample(target_area)
541s >           assert slice_data.called_once
541s
541s /usr/lib/python3/dist-packages/satpy/tests/scene_tests/test_resampling.py:322: 541s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
541s
541s self = <MagicMock name='_slice_data' id='140546297116096'>, name = 'called_once'
541s
541s     def __getattr__(self, name):
541s         if name in {'_mock_methods', '_mock_unsafe'}:
541s             raise AttributeError(name)
541s         elif self._mock_methods is not None:
541s             if name not in self._mock_methods or name in _all_magics:
541s raise AttributeError("Mock object has no attribute %r" % name)
541s         elif _is_magic(name):
541s             raise AttributeError(name)
541s if not self._mock_unsafe and (not self._mock_methods or name not in self._mock_methods): 541s if name.startswith(('assert', 'assret', 'asert', 'aseert', 'assrt')) or name in _ATTRIB_DENY_LIST:
541s >               raise AttributeError(
541s                     f"{name!r} is not a valid assertion. Use a spec "
541s f"for the mock if {name!r} is meant to be an attribute.") 541s E AttributeError: 'called_once' is not a valid assertion. Use a spec for the mock if 'called_once' is meant to be an attribute.
541s
541s /usr/lib/python3.12/unittest/mock.py:663: AttributeError
[...]
542s =========================== short test summary info ============================ 542s FAILED ../../../../usr/lib/python3/dist-packages/satpy/tests/scene_tests/test_resampling.py::TestSceneResampling::test_resample_reduce_data_toggle 542s = 1 failed, 2091 passed, 8 skipped, 94 deselected, 5 xfailed, 1 xpassed, 1069 warnings in 250.52s (0:04:10) =
--- End Message ---
--- Begin Message ---
Source: satpy
Source-Version: 0.44.0-2
Done: Antonio Valentino <[email protected]>

We believe that the bug you reported is fixed in the latest version of
satpy, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Valentino <[email protected]> (supplier of updated satpy 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 25 Nov 2023 10:30:56 +0000
Source: satpy
Architecture: source
Version: 0.44.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Antonio Valentino <[email protected]>
Closes: 1056527
Changes:
 satpy (0.44.0-2) unstable; urgency=medium
 .
   * debian/control:
     - Add build dependency on python3-pint-xarray.
   * debian/rules:
     - No longer skip tests requiring python3-pint-xarray.
   * debian/rules:
     - Re-enable some of the tests previously skipped.
     - Skip tests that are broken for Python 3.12 (Closes: 1056527).
Checksums-Sha1:
 c9dc5c06c266ae79187fa1983f20af6345d5c016 3329 satpy_0.44.0-2.dsc
 597a02c4ec749b815851f41dbcb693bcbda50a5d 955540 satpy_0.44.0-2.debian.tar.xz
 caf1be4da942ddefed44fefde5880625c5337eb3 21547 satpy_0.44.0-2_amd64.buildinfo
Checksums-Sha256:
 ce6f1c3b6a7bde1f23b0360dbd3cf5352abe5d152b34a5718aa63b8aa51ab1d9 3329 
satpy_0.44.0-2.dsc
 a33e773deca00284d297fc622304ab2b1163e6d1129fa957b75fb49eebb7bafa 955540 
satpy_0.44.0-2.debian.tar.xz
 c9b78cbc9b6a328fc06a4d5dacb08b2aded3d29027c2c6f619c3900569bb31a3 21547 
satpy_0.44.0-2_amd64.buildinfo
Files:
 845c4ab0763150e651ad307a894fc971 3329 python optional satpy_0.44.0-2.dsc
 d631e00e5275e1fba6ce0931a868c097 955540 python optional 
satpy_0.44.0-2.debian.tar.xz
 f37d3cebefa74d631fca0fe0ee6cbeaf 21547 python optional 
satpy_0.44.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJRBAEBCgA7FiEEO3DyCaX/1okDxHLF6/SKslePmBIFAmVh3hMdHGFudG9uaW8u
dmFsZW50aW5vQHRpc2NhbGkuaXQACgkQ6/SKslePmBKkaRAAnl1VLOmPXDe1MwFt
wx3pYihpth9Ez+XPr0YvW3bbWZzvmPWuwT1nCX7NUA3vQevDRGimTGir61WYHFc+
cqXETt0bvAMEYSjphT70nrqZ8tfhBiqC6Ntx8+L8LGYbyLCa23vyP/j8HqoOFyU1
9MrolTfHBjjjJAf+yO8lMe2Aq2NmoVipw5MzK8GWoznmcCgDlWNLTtCp+aFZmOjD
V0MugkK57sQRlVvYlXFu5wnY+hJvbcr3LmdeUetIqEedIIDVImFKnxD5CRtO/DE3
HxcCvY5j/KZih6j3fIIZ3bPZF+BADF3r+EDO3OwiMpP/aGHcWqoJaSOY7dvcsd2A
kNl4XH1gBQCQMHw5LiXVz8Zw1Z8sos/aFUbP/qf8ED1Q5uhZHnh0cpY0P0GPfpd8
+kkKT50neeZmmtTCahVGhtsLuNgpqc0/S+Mfc2IwFIwW2h8GSvsq+N/oEoOTss2t
x0ILa4eVRn3rRrsnQkZ4SrC+HiDWSMx+Ab3raf7rJx1x+jr/BXsJB3q2u/rXLFgn
ib/C8DzTQU44S0H4KpdT1TPv4WR43wn8asaR83MKbatyImEUhv11Yqbj+rDV68LO
km219i5Dk0nkqTR3gjdLL5BX6jAtm5VKLge4IGSGwdjP5X8meNaLpjkwMCZIl5dm
5XXcKFOpSXGwlUObapVpeqQro3s=
=UoWz
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to