Package: src:morecantile Version: 7.0.3-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/202608/ 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:morecantile, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] =================================== FAILURES =================================== _ test_tiles_when_tms_bounds_and_provided_bounds_cross_antimeridian[bounds1-4-32632-tms_bbox1] _ bounds = (11.700978, 52.056474, 11.711114, 52.062706), expected = 4, crs = 32632 tms_bbox = (-17.582877658817317, 0.0, 95.87417095917766, 83.95429547980198) @pytest.mark.parametrize( ("bounds", "expected", "crs", "tms_bbox"), [ # case where east tms bbox crosses antimeridian ( (119.1, -32.86, 119.2, -32.82), 6, 32750, (100.23646734667152, -79.99407435445299, -158.6052850376368, 0.0), ), # case where west tms bbox crosses antimeridian ( (11.700978, 52.056474, 11.711114, 52.062706), 4, 32632, (-17.582877658817317, 0.0, 95.87417095917766, 83.95429547980198), ), ], ) def test_tiles_when_tms_bounds_and_provided_bounds_cross_antimeridian( bounds: tuple, expected: int, crs: int, tms_bbox: tuple ): utm = CRS.from_epsg(crs) rs_extent = utm.area_of_use.bounds tms = morecantile.TileMatrixSet.custom( crs=utm, extent_crs=CRS.from_epsg(4326), extent=list(rs_extent) ) # tms.tiles needs to be aware if tms bounds and input bounds crosses the # antimeridian e.g. min(119.2, -158.605) clamps to much larger area. Now # that we check to see if lons contain antimeridian, we build tiles that # actually overlap the provided bounds to tiles. > assert tms.bbox == tms_bbox E assert BoundingBox(l...5429547980198) == (-17.58287765...5429547980198) E E At index 0 diff: -17.582877658817313 != -17.582877658817317 E Use -v to get more diff tests/test_morecantile.py:455: AssertionError =============================== warnings summary =============================== tests/test_morecantile.py::test_is_valid_overzoom /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_morecantile/build/morecantile/models.py:842: UserWarning: TileMatrix not found for level: 25 - Creating values from TMS Scale. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_morecantile.py::test_tiles_when_tms_bounds_and_provided_bounds_cross_antimeridian[bounds1-4-32632-tms_bbox1] ======== 1 failed, 272 passed, 1 skipped, 3 xfailed, 1 warning in 0.94s ======== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_morecantile/build; python3.14 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=2 returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

