Source: python-meshplex
Version: 0.17.1-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240319 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<>'
> MPLBACKEND=Agg dh_auto_test -- --test-args="--ignore-glob=*test_io*"
> I: pybuild base:305: cd
> /<>/.pybuild/cpython3_3.12_meshplex/build; python3.12 -m pytest
> --ignore-glob=*test_io*
> = test session starts
> ==
> platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
> rootdir: /<>/.pybuild/cpython3_3.12_meshplex/build
> configfile: pyproject.toml
> collected 112 items
>
> tests/mesh_tri/test_curl.py .[
> 0%]
> tests/mesh_tri/test_edge_flip.py .. [
> 13%]
> tests/mesh_tri/test_genus.py . [
> 14%]
> tests/mesh_tri/test_mesh_tri.py .. [
> 33%]
> tests/mesh_tri/test_plot.py .. [
> 35%]
> tests/mesh_tri/test_remove_points.py . [
> 36%]
> tests/test_ce_ratios.py [
> 40%]
> tests/test_cell_partitions.py [
> 43%]
> tests/test_circumcenters.py [
> 47%]
> tests/test_compute_cell_values.py . [
> 48%]
> tests/test_control_volume_centroids.py ... [
> 50%]
> tests/test_control_volumes.py . [
> 55%]
> tests/test_create_facets.py s... [
> 58%]
> tests/test_degenerate.py [
> 62%]
> tests/test_gh_issues.py .. [
> 64%]
> tests/test_heights.py ...[
> 66%]
> tests/test_mesh_line.py .[
> 67%]
> tests/test_mesh_tetra.py .s [
> 76%]
> tests/test_remove_cells.py F.. [
> 86%]
> tests/test_signed_area.py [
> 93%]
> tests/test_subdomain.py ... [
> 96%]
> tests/test_volumes.py
> [100%]
>
> === FAILURES
> ===
> __ test_remove_cells_boundary
> __
>
> def test_remove_cells_boundary():
> mesh = get_mesh1()
>
> assert np.all(mesh.is_boundary_point == [True, True, True, True,
> False])
> assert np.all(mesh.is_boundary_facet_local[0] == [False, False,
> False, False])
> assert np.all(mesh.is_boundary_facet_local[1] == [False, False,
> False, True])
> assert np.all(mesh.is_boundary_facet_local[2] == [True, True, True,
> False])
> assert np.all(
> mesh.is_boundary_facet == [True, True, False, True, False, True,
> False, False]
> )
> assert np.all(mesh.is_boundary_cell)
> assert np.all(mesh.facets_cells_idx == [0, 1, 0, 2, 1, 3, 2, 3])
> # cell id:
> assert np.all(mesh.facets_cells["boundary"][1] == [0, 3, 1, 2])
> # local edge:
> assert np.all(mesh.facets_cells["boundary"][2] == [2, 1, 2, 2])
> # cell id:
> > assert np.all(
> mesh.facets_cells["interior"][1:3].T == [[0, 3], [0, 1], [1, 2],
> [2, 3]]
> )
> E assert False
> E+ where False = (array([[3, 0]...
>[2, 3]]) == [[0, 3], [0, ...1, 2], [2, 3]]
> E+where = np.all
> E
> E Use -v to get more diff)
>
> tests/test_remove_cells.py:104: AssertionError
> === warnings summary
> ===
> tests/mesh_tri/test_edge_flip.py::test_flip_same_edge_twice
> /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: DeprecationWarning:
> datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal
> in a future version. Use timezone-aware objects to represent datetimes in
> UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
> EPOCH = datetime.datetime.utcfromtimestamp(0)
>
> tests/mesh_tri/test_mesh_tri.py: 1 warning
> tests/mesh_tri/test_remove_points.py: 1 warning
> tests/test_remove_cells.py: 10 warnings
>
> /<>/.pybuild/cpython3_3.12_meshplex/build/meshplex/_mesh.py:260:
> RuntimeWarning: invalid value encountered in divide
> self._cv_centroids = (integral_p.T / cv).T
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
>