Bug#1126249: satpy: FTBFS: FAILED satpy/tests/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTGetCalibratedReflectances::test_calibrated_reflectances_values

Santiago Vila sanvila at debian.org
Fri Jan 23 11:38:51 GMT 2026


Package: src:satpy
Version: 0.59.0-2
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/202601/

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:139: 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 ...]

satpy/tests/reader_tests/test_abi_l1b.py ............................... [ 19%]
........                                                                 [ 20%]
satpy/tests/reader_tests/test_abi_l2_nc.py ...........                   [ 20%]
satpy/tests/reader_tests/test_acspo.py ........                          [ 20%]
satpy/tests/reader_tests/test_agri_l1.py ...............                 [ 21%]
satpy/tests/reader_tests/test_ahi_hrit.py .............................. [ 22%]
....                                                                     [ 22%]
satpy/tests/reader_tests/test_ahi_hsd.py ............................    [ 23%]
satpy/tests/reader_tests/test_ahi_l1b_gridded_bin.py ...........         [ 23%]
satpy/tests/reader_tests/test_ahi_l2_nc.py ....                          [ 23%]
satpy/tests/reader_tests/test_ami_l1b.py .............                   [ 24%]
satpy/tests/reader_tests/test_amsr2_l1b.py ...                           [ 24%]
satpy/tests/reader_tests/test_amsr2_l2.py ..                             [ 24%]
satpy/tests/reader_tests/test_amsr2_l2_gaasp.py ........................ [ 24%]
                                                                         [ 24%]
satpy/tests/reader_tests/test_ascat_l2_soilmoisture_bufr.py ...          [ 25%]
satpy/tests/reader_tests/test_atms_l1b_nc.py ......................      [ 25%]
satpy/tests/reader_tests/test_atms_sdr_hdf5.py ....                      [ 25%]
satpy/tests/reader_tests/test_avhrr_l0_hrpt.py ....F.......              [ 26%]
satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py s...............s.     [ 26%]
satpy/tests/reader_tests/test_aws1_mwr_l1b.py ...........                [ 27%]
satpy/tests/reader_tests/test_aws1_mwr_l1c.py ..........                 [ 27%]
satpy/tests/reader_tests/test_camel_l3_nc.py ......                      [ 27%]
satpy/tests/reader_tests/test_clavrx/test_clavrx_geohdf.py ....          [ 27%]
satpy/tests/reader_tests/test_clavrx/test_clavrx_nc.py .....             [ 27%]
satpy/tests/reader_tests/test_clavrx/test_clavrx_polarhdf.py ....        [ 28%]
satpy/tests/reader_tests/test_cmsaf_claas.py .....................       [ 28%]
satpy/tests/reader_tests/test_electrol_hrit.py ......                    [ 28%]
satpy/tests/reader_tests/test_epic_l1b_h5.py .....                       [ 29%]
satpy/tests/reader_tests/test_eps_l1b.py ............                    [ 29%]
satpy/tests/reader_tests/test_eps_sterna_mwr_l1b.py ....                 [ 29%]
satpy/tests/reader_tests/test_eum_base.py ............                   [ 29%]
satpy/tests/reader_tests/test_eum_l2_bufr.py ........................... [ 30%]
.....................                                                    [ 31%]
satpy/tests/reader_tests/test_eum_l2_grib.py ..                          [ 31%]
satpy/tests/reader_tests/test_fci_base.py .                              [ 31%]
satpy/tests/reader_tests/test_fci_l1c_nc.py ............................ [ 32%]
........................................................................ [ 34%]
........................................................................ [ 36%]
........................................................................ [ 39%]
.............                                                            [ 39%]
satpy/tests/reader_tests/test_fci_l2_nc.py ..........................    [ 40%]
satpy/tests/reader_tests/test_fy4_base.py ...                            [ 40%]
satpy/tests/reader_tests/test_generic_image.py .............             [ 40%]
satpy/tests/reader_tests/test_geocat.py .....                            [ 40%]
satpy/tests/reader_tests/test_geos_area.py .......                       [ 41%]
satpy/tests/reader_tests/test_gerb_l2_hr_h5.py ........                  [ 41%]
satpy/tests/reader_tests/test_ghi_l1.py ........                         [ 41%]
satpy/tests/reader_tests/test_ghrsst_l2.py .....                         [ 41%]
satpy/tests/reader_tests/test_gld360_ualf2.py .......................... [ 42%]
....                                                                     [ 42%]
satpy/tests/reader_tests/test_glm_l2.py ....                             [ 42%]
satpy/tests/reader_tests/test_goci2_l2_nc.py ............                [ 43%]
satpy/tests/reader_tests/test_goes_imager_hrit.py ......                 [ 43%]
satpy/tests/reader_tests/test_goes_imager_nc_eum.py ....                 [ 43%]
satpy/tests/reader_tests/test_goes_imager_nc_noaa.py ................... [ 44%]
....                                                                     [ 44%]
satpy/tests/reader_tests/test_gpm_imerg.py .                             [ 44%]
satpy/tests/reader_tests/test_grib.py ..........                         [ 44%]
satpy/tests/reader_tests/test_hdf4_utils.py .                            [ 44%]
satpy/tests/reader_tests/test_hdf5_utils.py ..                           [ 44%]
satpy/tests/reader_tests/test_hdfeos_base.py ..                          [ 44%]
satpy/tests/reader_tests/test_hrit_base.py ........                      [ 45%]
satpy/tests/reader_tests/test_hsaf_grib.py ...                           [ 45%]
satpy/tests/reader_tests/test_hsaf_h5.py ....                            [ 45%]
satpy/tests/reader_tests/test_hy2_scat_l2b_h5.py ........                [ 45%]
satpy/tests/reader_tests/test_iasi_l2.py ..................              [ 46%]
satpy/tests/reader_tests/test_iasi_l2_so2_bufr.py ...                    [ 46%]
satpy/tests/reader_tests/test_iasi_ng_l2_nc.py ......................... [ 46%]
.                                                                        [ 46%]
satpy/tests/reader_tests/test_ici_l1b_nc.py ............................ [ 47%]
.....                                                                    [ 47%]
satpy/tests/reader_tests/test_insat3d_img_l1b_h5.py .................... [ 48%]
..........                                                               [ 48%]
satpy/tests/reader_tests/test_landsat.py ............................... [ 49%]
............................................................             [ 51%]
satpy/tests/reader_tests/test_li_l2_nc.py .............................. [ 52%]
...                                                                      [ 52%]
satpy/tests/reader_tests/test_meris_nc.py ......                         [ 52%]
satpy/tests/reader_tests/test_mersi_l1b.py .................             [ 53%]
satpy/tests/reader_tests/test_mimic_TPW2_lowres.py ....                  [ 53%]
satpy/tests/reader_tests/test_mimic_TPW2_nc.py ..                        [ 53%]
satpy/tests/reader_tests/test_mirs.py .............                      [ 54%]
satpy/tests/reader_tests/test_moved_reader_bases.py .................... [ 54%]
.......................................................                  [ 56%]
satpy/tests/reader_tests/test_msi_ec_l1c.py ..                           [ 56%]
satpy/tests/reader_tests/test_msi_safe.py ...........................    [ 57%]
satpy/tests/reader_tests/test_msu_gsa_l1b.py ...                         [ 57%]
satpy/tests/reader_tests/test_multiple_sensors_isccpng_l1g_nc.py .       [ 57%]
satpy/tests/reader_tests/test_mviri_l1b_fiduceo_nc.py .................. [ 58%]
.......................................                                  [ 59%]
satpy/tests/reader_tests/test_mws_l1b_nc.py ........................     [ 59%]
satpy/tests/reader_tests/test_netcdf_utils.py ...............            [ 60%]
satpy/tests/reader_tests/test_nucaps.py ......................           [ 61%]
satpy/tests/reader_tests/test_nwcsaf_hrw_nc.py .......                   [ 61%]
satpy/tests/reader_tests/test_nwcsaf_msg.py ..                           [ 61%]
satpy/tests/reader_tests/test_nwcsaf_nc.py ............................. [ 62%]
...                                                                      [ 62%]
satpy/tests/reader_tests/test_oceancolorcci_l3_nc.py .........           [ 62%]
satpy/tests/reader_tests/test_oci_l2_bgc.py ....                         [ 62%]
satpy/tests/reader_tests/test_olci_nc.py ..............                  [ 63%]
satpy/tests/reader_tests/test_omps_edr.py ....                           [ 63%]
satpy/tests/reader_tests/test_osisaf_l3.py .....................         [ 64%]
satpy/tests/reader_tests/test_pace_oci_l1b_nc.py ......                  [ 64%]
satpy/tests/reader_tests/test_safe_sar_l2_ocn.py ..                      [ 64%]
satpy/tests/reader_tests/test_sar_c_safe.py ...................          [ 64%]
satpy/tests/reader_tests/test_satpy_cf_nc.py ...............             [ 65%]
satpy/tests/reader_tests/test_scmi.py .......                            [ 65%]
satpy/tests/reader_tests/test_seadas_l2.py ............                  [ 65%]
satpy/tests/reader_tests/test_seviri_base.py ........................... [ 66%]
............                                                             [ 67%]
satpy/tests/reader_tests/test_seviri_l1b_calibration.py ...........      [ 67%]
satpy/tests/reader_tests/test_seviri_l1b_hrit.py ....................... [ 68%]
............                                                             [ 68%]
satpy/tests/reader_tests/test_seviri_l1b_icare.py ........               [ 68%]
satpy/tests/reader_tests/test_seviri_l1b_native.py ..................... [ 69%]
......................................                                   [ 70%]
satpy/tests/reader_tests/test_seviri_l1b_nc.py ..................        [ 71%]
satpy/tests/reader_tests/test_sgli_l1b.py ....................           [ 71%]
satpy/tests/reader_tests/test_slstr_l1b.py .....                         [ 71%]
satpy/tests/reader_tests/test_smos_l2_wind.py ......                     [ 72%]
satpy/tests/reader_tests/test_tropomi_l2.py ....                         [ 72%]
satpy/tests/reader_tests/test_utils.py ................................. [ 73%]
....................                                                     [ 73%]
satpy/tests/reader_tests/test_vii_base_nc.py ....                        [ 74%]
satpy/tests/reader_tests/test_vii_l1b_nc.py ..                           [ 74%]
satpy/tests/reader_tests/test_vii_l2_nc.py .                             [ 74%]
satpy/tests/reader_tests/test_vii_utils.py .                             [ 74%]
satpy/tests/reader_tests/test_vii_wv_nc.py .                             [ 74%]
satpy/tests/reader_tests/test_viirs_atms_utils.py ....                   [ 74%]
satpy/tests/reader_tests/test_viirs_compact.py ..                        [ 74%]
satpy/tests/reader_tests/test_viirs_edr.py ....................          [ 75%]
satpy/tests/reader_tests/test_viirs_edr_active_fires.py ........         [ 75%]
satpy/tests/reader_tests/test_viirs_edr_flood.py ...                     [ 75%]
satpy/tests/reader_tests/test_viirs_l1b.py ..................            [ 75%]
satpy/tests/reader_tests/test_viirs_l2.py ......                         [ 76%]
satpy/tests/reader_tests/test_viirs_sdr.py .....................         [ 76%]
satpy/tests/reader_tests/test_viirs_vgac_l1c_nc.py ..                    [ 76%]
satpy/tests/reader_tests/test_virr_l1b.py ..                             [ 76%]
satpy/tests/scene_tests/test_conversions.py .ss........                  [ 77%]
satpy/tests/scene_tests/test_data_access.py ..........................   [ 78%]
satpy/tests/scene_tests/test_init.py ..................                  [ 78%]
satpy/tests/scene_tests/test_load.py ................................... [ 79%]
.........................                                                [ 80%]
satpy/tests/scene_tests/test_resampling.py ..................            [ 81%]
satpy/tests/scene_tests/test_saving.py .....                             [ 81%]
satpy/tests/test_cf_roundtrip.py .                                       [ 81%]
satpy/tests/test_config.py ...................                           [ 81%]
satpy/tests/test_coords.py ..                                            [ 81%]
satpy/tests/test_crefl_utils.py .                                        [ 81%]
satpy/tests/test_data_download.py ............................           [ 82%]
satpy/tests/test_dataset.py ............................................ [ 84%]
....................                                                     [ 84%]
satpy/tests/test_demo.py ...................                             [ 85%]
satpy/tests/test_dependency_tree.py ........                             [ 85%]
satpy/tests/test_file_handlers.py .............                          [ 86%]
satpy/tests/test_modifiers.py .....................                      [ 86%]
satpy/tests/test_node.py ........                                        [ 86%]
satpy/tests/test_readers.py ............................................ [ 88%]
..................................................                       [ 89%]
satpy/tests/test_regressions.py ...                                      [ 89%]
satpy/tests/test_resample.py .........................................   [ 91%]
satpy/tests/test_testing.py .                                            [ 91%]
satpy/tests/test_utils.py .............................................. [ 92%]
.....................................                                    [ 93%]
satpy/tests/test_writers.py ................                             [ 94%]
satpy/tests/test_yaml_reader.py ........................................ [ 95%]
..........                                                               [ 95%]
satpy/tests/writer_tests/test_awips_tiled.py ...                         [ 96%]
satpy/tests/writer_tests/test_cf.py ...............................      [ 96%]
satpy/tests/writer_tests/test_core/test_base.py ....                     [ 97%]
satpy/tests/writer_tests/test_core/test_compute.py ............          [ 97%]
satpy/tests/writer_tests/test_core/test_config.py ..                     [ 97%]
satpy/tests/writer_tests/test_geotiff.py ..................              [ 98%]
satpy/tests/writer_tests/test_mitiff.py ................                 [ 98%]
satpy/tests/writer_tests/test_ninjogeotiff.py ........................xx [ 99%]
..x.....                                                                 [ 99%]
satpy/tests/writer_tests/test_ninjotiff.py ........                      [ 99%]
satpy/tests/writer_tests/test_simple_image.py ...                        [100%]

=================================== FAILURES ===================================
____ TestHRPTGetCalibratedReflectances.test_calibrated_reflectances_values _____

self = <satpy.tests.reader_tests.test_avhrr_l0_hrpt.TestHRPTGetCalibratedReflectances object at 0x7f10bbaeafd0>
hrpt_fh = <HRPTFile: '/tmp/pytest-of-sbuild/pytest-1/test_calibrated_reflectances_v0/20250609094500_noaa19.hmf'>

    def test_calibrated_reflectances_values(self, hrpt_fh):
        """Test the calibrated reflectance values."""
        result = hrpt_fh.get_dataset(make_dataid(name="1", calibration="reflectance"), {})
>       np.testing.assert_allclose(result.values.mean(), 62.262344)
E       AssertionError: 
E       Not equal to tolerance rtol=1e-07, atol=0
E       
E       Mismatched elements: 1 / 1 (100%)
E       Max absolute difference among violations: 0.3983406
E       Max relative difference among violations: 0.00639778
E        ACTUAL: array(62.660685)
E        DESIRED: array(62.262344)

hrpt_fh    = <HRPTFile: '/tmp/pytest-of-sbuild/pytest-1/test_calibrated_reflectances_v0/20250609094500_noaa19.hmf'>
result     = <xarray.DataArray 'where-cf74d817264993ccd48f97767dac487d' (y: 10, x: 2048)> Size: 164kB
dask.array<where, shape=(10, ...ksize=(10, 2048), chunktype=numpy.ndarray>
Dimensions without coordinates: y, x
Attributes:
    platform_name:  NOAA 19
self       = <satpy.tests.reader_tests.test_avhrr_l0_hrpt.TestHRPTGetCalibratedReflectances object at 0x7f10bbaeafd0>

satpy/tests/reader_tests/test_avhrr_l0_hrpt.py:105: AssertionError
------------------------------ Captured log call -------------------------------
INFO     pygac.calibration:calibration.py:199 Identified calibration coefficients version "PATMOS-x, v2023".
WARNING  pygac.calibration:calibration.py:204 Using CoeffStatus.PROVISIONAL calibration coefficients
=============================== 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::TestHRPTGetCalibratedReflectances::test_calibrated_reflectances_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:87: 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/reader_tests/test_avhrr_l0_hrpt.py::TestHRPTGetCalibratedReflectances::test_calibrated_reflectances_values
= 1 failed, 3200 passed, 4 skipped, 63 deselected, 5 xfailed, 30 warnings in 226.07s (0:03:46) =
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:94: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-grass-devel mailing list