Bug#1151486: pytroll-schedule: FTBFS: E assert datetime.datetime(2018, 11, 28, 10, 53, 42, 79483) in [datetime.datetime(2018, 11, 28, 10, 53, 42, 79482), datetime.datetime(2018, 11, 28, 12, 34, 44, 667962)]
Santiago Vila
sanvila at debian.org
Tue Oct 20 20:57:25 BST 2026
Package: src:pytroll-schedule
Version: 0.7.5-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:pytroll-schedule, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
rise_times = [p.risetime for p in allpasses]
fall_times = [p.falltime for p in allpasses]
> assert rt1 in rise_times
E assert datetime.datetime(2018, 11, 28, 10, 53, 42, 79483) in [datetime.datetime(2018, 11, 28, 10, 53, 42, 79482), datetime.datetime(2018, 11, 28, 12, 34, 44, 667962)]
trollsched/tests/test_schedule.py:221: AssertionError
=============================== warnings summary ===============================
trollsched/tests/test_pass_outlines.py: 12 warnings
trollsched/tests/test_satpass.py: 39 warnings
trollsched/tests/test_schedule.py: 9 warnings
/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(
trollsched/tests/test_pass_outlines.py: 9 warnings
trollsched/tests/test_satpass.py: 6 warnings
trollsched/tests/test_schedule.py: 9 warnings
/usr/lib/python3/dist-packages/pyorbital/geoloc.py:329: DeprecationWarning: pyorbital is using the legacy rotation order. It is the default so that products generated with earlier versions remain reproducible, but validation against reference geolocation shows it is less accurate; pass rotation_order='pitch_first' for the corrected computation. The default will change in a future release.
rotation_order = _resolve_convention(
trollsched/tests/test_pass_outlines.py::test_create_shapefile_from_pass
trollsched/tests/test_pass_outlines.py::test_create_shapefiles_from_schedule
trollsched/tests/test_pass_outlines.py::test_create_shapefiles_from_schedule
trollsched/tests/test_pass_outlines.py::test_create_shapefiles_from_schedule
/usr/lib/python3/dist-packages/pyproj/crs/crs.py:143: FutureWarning: '+init=<authority>:<code>' syntax is deprecated. '<authority>:<code>' is the preferred initialization method. When making the change, be mindful of axis order changes: https://pyproj4.github.io/pyproj/stable/gotchas.html#axis-order-changes-in-proj-6
in_crs_string = _prepare_from_proj_string(in_crs_string)
trollsched/tests/test_pass_outlines.py::test_create_shapefile_from_pass
trollsched/tests/test_pass_outlines.py::test_create_shapefiles_from_schedule
trollsched/tests/test_pass_outlines.py::test_create_shapefiles_from_schedule
trollsched/tests/test_pass_outlines.py::test_create_shapefiles_from_schedule
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/trollsched/shapefiles_from_schedule.py:68: DeprecationWarning: The 'shapely.ops.transform()' function is deprecated. Use 'shapely.transform()' or 'shapely.transform_coordseq()' instead. See https://shapely.readthedocs.io/en/latest/manual.html#shapely.ops.transform for more details.
new_shapes = transform(project, sat_poly)
trollsched/tests/test_pass_outlines.py::test_create_shapefile_from_pass
/usr/lib/python3/dist-packages/pyogrio/__init__.py:9: DeprecationWarning: The 'shapely.geos' module is deprecated, and will be removed in a future version. All attributes of 'shapely.geos' are available directly from the top-level 'shapely' namespace (since shapely 2.0.0).
import shapely.geos
trollsched/tests/test_satpass.py: 13 warnings
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/trollsched/satpass.py:257: PendingDeprecationWarning: 'AreaDefBoundary' will be removed in the future. Use the Swath/AreaDefinition 'boundary' method instead!.
area_boundary = AreaDefBoundary(area_of_interest, frequency=100)
trollsched/tests/test_schedule.py::TestAll::test_write_metno_xml
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/trollsched/writers.py:46: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
reqtime = datetime.utcnow()
trollsched/tests/test_schedule.py::test_pyorbitals_platform_name
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/trollsched/writers.py:86: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
reqtime = datetime.utcnow()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED trollsched/tests/test_satpass.py::TestSwathBoundary::test_swath_boundary
FAILED trollsched/tests/test_satpass.py::TestSwathBoundary::test_swath_coverage_metop
FAILED trollsched/tests/test_satpass.py::test_create_pass - AssertionError:
FAILED trollsched/tests/test_schedule.py::TestAll::test_get_next_passes_viirs
========== 4 failed, 20 passed, 1 deselected, 108 warnings in 23.58s ===========
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -k "not test_bool and not test_schedule_avoid" -v --pyargs trollsched
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=2 returned exit code 13
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-grass-devel
mailing list