Bug#1151256: pygac: FTBFS: E comparison failed

Santiago Vila sanvila at debian.org
Mon Oct 19 10:25:17 BST 2026


Package: src:pygac
Version: 1.8.0-1
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/202610/

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:pygac, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
        reader.read(pod_file_with_tbm_header)
        lons, lats = reader._compute_lonlats(time_offset=np.timedelta64(500, "ms"))
>       assert lons[0, 0] == pytest.approx(-4.714710005688344)
E       assert np.float64(-4.714660118334762) == -4.714710005688344 ± 4.7e-06
E         
E         comparison failed
E         Obtained: -4.714660118334762
E         Expected: -4.714710005688344 ± 4.7e-06

pygac/tests/test_reader.py:882: AssertionError
------------------------------ Captured log call -------------------------------
WARNING  pygac.reader:reader.py:1445 Computation of geolocation: 0:00:00.001132
=============================== warnings summary ===============================
pygac/tests/test_calibrate_klm.py::TestGenericCalibration::test_calibration_ir
pygac/tests/test_noaa_calibration_coefficients.py::TestCalibrationCoefficientsHandling::test_default_coeffs
pygac/tests/test_noaa_calibration_coefficients.py::TestCalibrationCoefficientsHandling::test_vis_deprecation_warning
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pygac/calibration/noaa.py:244: RuntimeWarning: Using CoeffStatus.PROVISIONAL calibration coefficients
    warnings.warn(warning, RuntimeWarning)

pygac/tests/test_klm.py::TestLACKLM::test_calibrate_channels
pygac/tests/test_klm.py::TestLACKLM::test_calibrate_inactive_3b
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels_with_wrong_prts
pygac/tests/test_reader.py::test_passing_calibration_to_reader
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pygac/calibration/noaa.py:383: 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(

pygac/tests/test_klm.py::TestLACKLM::test_calibrate_channels
pygac/tests/test_klm.py::TestLACKLM::test_calibrate_inactive_3b
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels_with_wrong_prts
pygac/tests/test_reader.py::test_passing_calibration_to_reader
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pygac/calibration/noaa.py:583: RuntimeWarning: divide by zero encountered in divide
    Nlin = nS + (nBB - nS)*(cS - cE)/(cS - cBB)

pygac/tests/test_klm.py::TestLACKLM::test_calibrate_channels
pygac/tests/test_klm.py::TestLACKLM::test_calibrate_inactive_3b
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels_with_wrong_prts
pygac/tests/test_reader.py::test_passing_calibration_to_reader
  /usr/lib/python3/dist-packages/numpy/polynomial/polynomial.py:755: RuntimeWarning: invalid value encountered in multiply
    c0 = c[-1] + x * 0

pygac/tests/test_pod.py::TestPOD_truncate::test__truncate_padding_record_longfile
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pygac/tests/test_pod.py:333: RuntimeWarning: Unexpected record length for POD file (incomplete physical record?)
    buffer = reader._truncate_padding_record(bytes(65535*3220))

pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels_with_wrong_prts
pygac/tests/test_reader.py::test_passing_calibration_to_reader
  /usr/lib/python3/dist-packages/geotiepoints/geointerpolator.py:65: RuntimeWarning: invalid value encountered in arcsin
    lats = np.sign(z__) * (90 - np.rad2deg(np.arcsin(np.sqrt(x__ ** 2 + y__ ** 2) / radius)))

pygac/tests/test_reader.py::test_read_to_dataset_is_a_dataset_including_channels_and_telemetry
pygac/tests/test_reader.py::test_read_to_dataset_without_interpolation
pygac/tests/test_reader.py::test_read_to_dataset_with_interpolation
pygac/tests/test_reader.py::test_computing_lonlats
pygac/tests/test_reader.py::test_recomputing_lonlats_with_time_offset
  /usr/lib/python3/dist-packages/pyorbital/geoloc.py:303: DeprecationWarning: pyorbital is using the legacy nadir convention. It is the default so that products generated with earlier versions remain reproducible, but validation against reference geolocation shows it is less accurate; pass nadir_convention='geocentric' for the corrected computation. The default will change in a future release.
    nadir_convention = _resolve_convention(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED pygac/tests/test_reader.py::test_computing_lonlats - assert np.float64...
FAILED pygac/tests/test_reader.py::test_recomputing_lonlats_with_time_offset
=========== 2 failed, 97 passed, 4 deselected, 27 warnings in 1.33s ============
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -m "not georeferencer" --pyargs pygac
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=2 returned exit code 13
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-grass-devel mailing list