Package: src:satpy Version: 0.59.0-3 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202603/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:satpy, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module I: pybuild base:384: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_satpy * Building wheel... Successfully built satpy-0.59.0-py3-none-any.whl [... snipped ...] # location of cloud in corrected data # this may no longer be rectangular! dest_mask = np.zeros(shape=test_area.shape, dtype="?") cloud_location = { "foroyar": { 7500: (197, 202, 152, 172), 15000: (238, 243, 164, 184)}, "ouagadougou": { 7500: (159, 164, 140, 160), 15000: (163, 168, 141, 161)}} (x_lo, x_hi, y_lo, y_hi) = cloud_location[test_area.area_id][cth] dest_mask[x_lo:x_hi, y_lo:y_hi] = True modif = ParallaxCorrectionModifier( name="parallax_corrected_dataset", prerequisites=[fake_bt, fake_cth], optional_prerequisites=[], debug_mode=True) res = modif([fake_bt, fake_cth], optional_datasets=[]) assert fake_bt.attrs["area"] == test_area # should not be changed assert res.attrs["area"] == fake_bt.attrs["area"] # confirm old cloud area now fill value # except where it overlaps with new cloud assert np.isnan(res.data[cma & (~dest_mask)]).all() # confirm rest of the area does not have fill values assert np.isfinite(res.data[~cma]).all() # confirm that rest of area pixel values did not change, except where # cloud arrived or originated delta = res - fake_bt > assert (delta.data[~(cma | dest_mask)] == 0).all() E assert dask.array<all-aggregate, shape=(), dtype=bool, chunksize=(), chunktype=numpy.ndarray> E + where dask.array<all-aggregate, shape=(), dtype=bool, chunksize=(), chunktype=numpy.ndarray> = all() E + where all = dask.array<getitem, shape=(nan,), dtype=float64, chunksize=(nan,), chunktype=numpy.ndarray> == 0.all ParallaxCorrectionModifier = <class 'satpy.modifiers.parallax.ParallaxCorrectionModifier'> cloud_location = {'foroyar': {7500: (197, 202, 152, 172), 15000: (238, 243, 164, 184)}, 'ouagadougou': {7500: (159, 164, 140, 160), 15000: (163, 168, 141, 161)}} cma = array([[False, False, False, ..., False, False, False], [False, False, False, ..., False, False, False], ...se, False, False, ..., False, False, False], [False, False, False, ..., False, False, False]], shape=(268, 351)) cth = 15000 delta = <xarray.DataArray (y: 268, x: 351)> Size: 753kB dask.array<sub, shape=(268, 351), dtype=float64, chunksize=(268, 351),... Area ID: foroyar\nDescription: foroyar\nProjection: ... name: parallax_corrected_dataset dest_mask = array([[False, False, False, ..., False, False, False], [False, False, False, ..., False, False, False], ...se, False, False, ..., False, False, False], [False, False, False, ..., False, False, False]], shape=(268, 351)) fake_bt = <xarray.DataArray 'array-8b019cedb6608fc890862d81d5c19d01' (y: 268, x: 351)> Size: 753kB dask.array<array, shape=(268,...ellite_a... units: m area: Area ID: foroyar\nDescription: foroyar\nProjection: ... fake_cth = <xarray.DataArray 'array-953b659e90ed204e3bf2ca2817457416' (y: 268, x: 351)> Size: 753kB dask.array<array, shape=(268,...ellite_a... units: m area: Area ID: foroyar\nDescription: foroyar\nProjection: ... modif = {'debug_mode': True, 'name': 'parallax_corrected_dataset', 'optional_prerequisites': [], 'prerequisites': [<xarray....lite_a... units: m area: Area ID: foroyar\nDescription: foroyar\nProjection: ...]} res = <xarray.DataArray 'my_index-00fce4456b46a25b8f87469c1d2da95b' (y: 268, x: 351)> Size: 753kB dask.array<my_index, shape... Area ID: foroyar\nDescription: foroyar\nProjection: ... name: parallax_corrected_dataset self = <satpy.tests.modifier_tests.test_parallax.TestParallaxCorrectionModifier object at 0x7f600d201370> test_area = Area ID: foroyar Description: foroyar Projection: {'datum': 'WGS84', 'lat_0': '0', 'lat_ts': '0', 'lon_0': '0', 'no_de...': '0'} Number of columns: 351 Number of rows: 268 Area extent: (-861785.8867, 6820719.391, -686309.8125, 6954386.3832) use_dask = True x_hi = 243 x_lo = 238 y_hi = 184 y_lo = 164 satpy/tests/modifier_tests/test_parallax.py:687: AssertionError ------------------------------ Captured log setup ------------------------------ WARNING pyresample.area_config:area_config.py:767 shape found from radius and resolution does not contain only integers: (267.333984375, 350.9521484375) Rounding shape to (268, 351) and resolution from (500.0, 500.0) meters to (499.93183538105416, 498.7574335354478) meters ------------------------------ Captured log call ------------------------------- INFO pyresample.bucket:__init__.py:178 Determine bucket resampling indices INFO pyresample.bucket:__init__.py:331 Get max of values in each location INFO pyresample.bucket:__init__.py:308 Get min of values in each location INFO pyresample.bucket:__init__.py:331 Get max of values in each location INFO pyresample.bucket:__init__.py:308 Get min of values in each location INFO pyresample.bucket:__init__.py:382 Get number of values in each location INFO satpy.resample.base:base.py:114 Using default KDTree resampler _ TestParallaxCorrectionModifier.test_modifier_interface_cloud_moves_to_observer[foroyar-False-15000] _ self = <satpy.tests.modifier_tests.test_parallax.TestParallaxCorrectionModifier object at 0x7f600d1dcc50> cth = 15000, use_dask = False test_area = Area ID: foroyar Description: foroyar Projection: {'datum': 'WGS84', 'lat_0': '0', 'lat_ts': '0', 'lon_0': '0', 'no_de...': '0'} Number of columns: 351 Number of rows: 268 Area extent: (-861785.8867, 6820719.391, -686309.8125, 6954386.3832) @pytest.mark.parametrize("cth", [7500, 15000]) @pytest.mark.parametrize("use_dask", [True, False]) @pytest.mark.parametrize("test_area", ["foroyar", "ouagadougou"], indirect=["test_area"]) def test_modifier_interface_cloud_moves_to_observer(self, cth, use_dask, test_area): """Test that a cloud moves to the observer. With the modifier interface, use a high resolution area and test that pixels are moved in the direction of the observer and not away from it. """ from satpy.modifiers.parallax import ParallaxCorrectionModifier (fake_bt, fake_cth, cma) = self._get_fake_cloud_datasets(test_area, cth, use_dask=use_dask) # location of cloud in corrected data # this may no longer be rectangular! dest_mask = np.zeros(shape=test_area.shape, dtype="?") cloud_location = { "foroyar": { 7500: (197, 202, 152, 172), 15000: (238, 243, 164, 184)}, "ouagadougou": { 7500: (159, 164, 140, 160), 15000: (163, 168, 141, 161)}} (x_lo, x_hi, y_lo, y_hi) = cloud_location[test_area.area_id][cth] dest_mask[x_lo:x_hi, y_lo:y_hi] = True modif = ParallaxCorrectionModifier( name="parallax_corrected_dataset", prerequisites=[fake_bt, fake_cth], optional_prerequisites=[], debug_mode=True) res = modif([fake_bt, fake_cth], optional_datasets=[]) assert fake_bt.attrs["area"] == test_area # should not be changed assert res.attrs["area"] == fake_bt.attrs["area"] # confirm old cloud area now fill value # except where it overlaps with new cloud assert np.isnan(res.data[cma & (~dest_mask)]).all() # confirm rest of the area does not have fill values assert np.isfinite(res.data[~cma]).all() # confirm that rest of area pixel values did not change, except where # cloud arrived or originated delta = res - fake_bt > assert (delta.data[~(cma | dest_mask)] == 0).all() E assert dask.array<all-aggregate, shape=(), dtype=bool, chunksize=(), chunktype=numpy.ndarray> E + where dask.array<all-aggregate, shape=(), dtype=bool, chunksize=(), chunktype=numpy.ndarray> = all() E + where all = dask.array<getitem, shape=(nan,), dtype=float64, chunksize=(nan,), chunktype=numpy.ndarray> == 0.all ParallaxCorrectionModifier = <class 'satpy.modifiers.parallax.ParallaxCorrectionModifier'> cloud_location = {'foroyar': {7500: (197, 202, 152, 172), 15000: (238, 243, 164, 184)}, 'ouagadougou': {7500: (159, 164, 140, 160), 15000: (163, 168, 141, 161)}} cma = array([[False, False, False, ..., False, False, False], [False, False, False, ..., False, False, False], ...se, False, False, ..., False, False, False], [False, False, False, ..., False, False, False]], shape=(268, 351)) cth = 15000 delta = <xarray.DataArray (y: 268, x: 351)> Size: 753kB dask.array<sub, shape=(268, 351), dtype=float64, chunksize=(268, 351),... Area ID: foroyar\nDescription: foroyar\nProjection: ... name: parallax_corrected_dataset dest_mask = array([[False, False, False, ..., False, False, False], [False, False, False, ..., False, False, False], ...se, False, False, ..., False, False, False], [False, False, False, ..., False, False, False]], shape=(268, 351)) fake_bt = <xarray.DataArray (y: 268, x: 351)> Size: 753kB array([[270. , 270. , 270. , ..., 270.22, 270.22, 270.22], [...ellite_a... units: m area: Area ID: foroyar\nDescription: foroyar\nProjection: ... fake_cth = <xarray.DataArray (y: 268, x: 351)> Size: 753kB array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ......ellite_a... units: m area: Area ID: foroyar\nDescription: foroyar\nProjection: ... modif = {'debug_mode': True, 'name': 'parallax_corrected_dataset', 'optional_prerequisites': [], 'prerequisites': [<xarray....lite_a... units: m area: Area ID: foroyar\nDescription: foroyar\nProjection: ...]} res = <xarray.DataArray 'my_index-2d8698938ddb7913ee55d1458d9c6856' (y: 268, x: 351)> Size: 753kB dask.array<my_index, shape... Area ID: foroyar\nDescription: foroyar\nProjection: ... name: parallax_corrected_dataset self = <satpy.tests.modifier_tests.test_parallax.TestParallaxCorrectionModifier object at 0x7f600d1dcc50> test_area = Area ID: foroyar Description: foroyar Projection: {'datum': 'WGS84', 'lat_0': '0', 'lat_ts': '0', 'lon_0': '0', 'no_de...': '0'} Number of columns: 351 Number of rows: 268 Area extent: (-861785.8867, 6820719.391, -686309.8125, 6954386.3832) use_dask = False x_hi = 243 x_lo = 238 y_hi = 184 y_lo = 164 satpy/tests/modifier_tests/test_parallax.py:687: AssertionError ------------------------------ Captured log setup ------------------------------ WARNING pyresample.area_config:area_config.py:767 shape found from radius and resolution does not contain only integers: (267.333984375, 350.9521484375) Rounding shape to (268, 351) and resolution from (500.0, 500.0) meters to (499.93183538105416, 498.7574335354478) meters ------------------------------ Captured log call ------------------------------- INFO pyresample.bucket:__init__.py:178 Determine bucket resampling indices INFO pyresample.bucket:__init__.py:331 Get max of values in each location INFO pyresample.bucket:__init__.py:308 Get min of values in each location INFO pyresample.bucket:__init__.py:331 Get max of values in each location INFO pyresample.bucket:__init__.py:308 Get min of values in each location INFO pyresample.bucket:__init__.py:382 Get number of values in each location INFO satpy.resample.base:base.py:114 Using default KDTree resampler =============================== warnings summary =============================== satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py:154 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_satpy/build/satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py:154: PytestCollectionWarning: cannot collect test class 'TestParams' because it has a __init__ constructor (from: satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py) @dataclass ../../../../../../usr/lib/python3/dist-packages/dask/dataframe/__init__.py:49 /usr/lib/python3/dist-packages/dask/dataframe/__init__.py:49: FutureWarning: Dask dataframe query planning is disabled because dask-expr is not installed. You can install it with `pip install dask[dataframe]` or `conda install dask`. This will raise in a future version. warnings.warn(msg, FutureWarning) satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTGetCalibratedBT::test_calibrated_bt_values /usr/lib/python3/dist-packages/pygac/calibration.py:203: RuntimeWarning: Using CoeffStatus.PROVISIONAL calibration coefficients warnings.warn(warning, RuntimeWarning) satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::TestReadingGacFile::test_get_channel_calibrated[klm_params] satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::TestReadingGacFile::test_slice[klm_params] satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::TestReadingGacFile::test_get_channel_calibrated[pod_params] satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::TestReadingGacFile::test_slice[pod_params] satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::test_all_data_masked_out /usr/lib/python3/dist-packages/pygac/calibration.py:342: DeprecationWarning: Using the 'corr' argument is depricated in favor of making the units of the function result clear. Please make any unit conversion outside this function. warnings.warn( satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::TestReadingGacFile::test_get_channel_calibrated[klm_params] satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::TestReadingGacFile::test_slice[klm_params] satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::test_all_data_masked_out /usr/lib/python3/dist-packages/pygac/calibration.py:539: RuntimeWarning: divide by zero encountered in divide Nlin = nS + (nBB - nS)*(cS - cE)/(cS - cBB) satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::TestReadingGacFile::test_get_channel_calibrated[pod_params] satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::TestReadingGacFile::test_get_channel_counts[pod_params] satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::TestReadingGacFile::test_slice[pod_params] satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::TestReadingGacFile::test_get_latlon[pod_params] satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py::TestReadingGacFile::test_get_angles[pod_params] /usr/lib/python3/dist-packages/pyorbital/geoloc_instrument_definitions.py:63: DeprecationWarning: avhrr_gac is replaced with avhrr_from_times or avhrr_gac_from_times warnings.warn("avhrr_gac is replaced with avhrr_from_times or avhrr_gac_from_times", satpy/tests/test_config.py::TestPluginsConfigs::test_plugin_writer_available_writers /usr/lib/python3/dist-packages/pyninjotiff/tifffile.py:156: UserWarning: failed to import the optional _tifffile C extension module. Loading of some compressed images will be slow. Tifffile.c can be obtained at http://www.lfd.uci.edu/~gohlke/ warnings.warn( satpy/tests/writer_tests/test_mitiff.py: 13 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_satpy/build/satpy/tests/writer_tests/test_mitiff.py:427: DeprecationWarning: Image.Image.getdata is deprecated and will be removed in Pillow 14 (2027-10-15). Use get_flattened_data instead. np.testing.assert_allclose(np.asarray(pillow_tif.getdata()).reshape(test_shape), -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ SKIPPED [1] satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py:100: broken SKIPPED [1] satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py:460: Skipped SKIPPED [1] satpy/tests/scene_tests/test_conversions.py:61: 'geoviews' not available SKIPPED [1] satpy/tests/scene_tests/test_conversions.py:76: 'geoviews' not available XFAIL satpy/tests/modifier_tests/test_parallax.py::TestParallaxCorrectionClass::test_correct_area_cloudy_no_overlap - awaiting pyresample fixes XFAIL satpy/tests/modifier_tests/test_parallax.py::TestParallaxCorrectionClass::test_correct_area_cloudy_partly_shifted - awaiting pyresample fixes XFAIL satpy/tests/writer_tests/test_ninjogeotiff.py::test_get_meridian_east - not easy, not needed, not implemented XFAIL satpy/tests/writer_tests/test_ninjogeotiff.py::test_get_meridian_west - not easy, not needed, not implemented XFAIL satpy/tests/writer_tests/test_ninjogeotiff.py::test_get_ref_lat_2 - Not implemented, what is this? FAILED satpy/tests/modifier_tests/test_parallax.py::TestParallaxCorrectionModifier::test_modifier_interface_cloud_moves_to_observer[foroyar-True-15000] FAILED satpy/tests/modifier_tests/test_parallax.py::TestParallaxCorrectionModifier::test_modifier_interface_cloud_moves_to_observer[foroyar-False-15000] = 2 failed, 3201 passed, 4 skipped, 61 deselected, 5 xfailed, 30 warnings in 220.37s (0:03:40) = E: pybuild pybuild:483: test: plugin pyproject failed with: [too-long-redacted] vissr_navigation.py satpy/tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:91: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

