Bug#904424: python-meshio: autopkgtest regression: ModuleNotFoundError: No module named 'lxml'
Paul Gevers
elbrus at debian.org
Tue Jul 24 08:58:29 BST 2018
Source: python-meshio
Version: 2.0.4-1
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: regression
Dear maintainers,
With the upload of version 2.0.4-1, your package started to fail its
autopgktest in testing. I copied the output below.
Could you please investigate? Does the test or the package miss a (test)
dependency? Currently this failure is delaying the migration to testing
by 13 days. Mind you, currently also the python3.7 transition¹ is going
on, which means that python3.7 is added to the supported python3
versions. Since python3-defaults added python3.7 support, your
autopkgtest has been failing, but that seems due to h5py not being
rebuild properly yet. The error I report now is different and AFAICT not
related.
Paul
¹ https://release.debian.org/transitions/html/python3.7.html
https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-meshio/661698/log.gz
=================================== FAILURES
===================================
________________________________ test_io[mesh0]
________________________________
mesh = Number of points: 4
Number of elements:
triangle: 2
@pytest.mark.parametrize(
"mesh",
[
helpers.tri_mesh,
helpers.tet_mesh,
helpers.add_cell_data(helpers.tri_mesh, 1, dtype=float),
helpers.add_cell_data(helpers.tri_mesh, 1, dtype=numpy.int32),
],
)
def test_io(mesh):
> helpers.write_read(meshio.dolfin_io.write,
meshio.dolfin_io.read, mesh, 1.0e-15)
test/test_dolfin.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
test/helpers.py:230: in write_read
writer(filepath, input_mesh)
/usr/lib/python3/dist-packages/meshio/dolfin_io.py:216: in write
_write_mesh(filename, mesh.points, cell_type, mesh.cells)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
filename = '/tmp/tmpd66a1ykw/test.dat'
points = array([[0. , 0. , 0. ],
[0.33333333, 0. , 0. ],
[0.33333333, 0.33333333, 0. ],
[0. , 0.33333333, 0. ]])
cell_type = 'triangle'
cells = {'triangle': array([[0, 1, 2],
[0, 2, 3]])}
def _write_mesh(filename, points, cell_type, cells):
> from lxml import etree as ET
E ModuleNotFoundError: No module named 'lxml'
/usr/lib/python3/dist-packages/meshio/dolfin_io.py:116: ModuleNotFoundError
------------------------------ Captured log call
-------------------------------
dolfin_io.py 208 WARNING Dolfin's XML is a legacy format.
Consider using XDMF instead.
________________________________ test_io[mesh1]
________________________________
mesh = Number of points: 5
Number of elements:
tetra: 2
@pytest.mark.parametrize(
"mesh",
[
helpers.tri_mesh,
helpers.tet_mesh,
helpers.add_cell_data(helpers.tri_mesh, 1, dtype=float),
helpers.add_cell_data(helpers.tri_mesh, 1, dtype=numpy.int32),
],
)
def test_io(mesh):
> helpers.write_read(meshio.dolfin_io.write,
meshio.dolfin_io.read, mesh, 1.0e-15)
test/test_dolfin.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
test/helpers.py:230: in write_read
writer(filepath, input_mesh)
/usr/lib/python3/dist-packages/meshio/dolfin_io.py:216: in write
_write_mesh(filename, mesh.points, cell_type, mesh.cells)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
filename = '/tmp/tmpy57apeci/test.dat'
points = array([[0. , 0. , 0. ],
[0.33333333, 0. , 0. ],
[0.33333333, 0.33333333, 0. ],
[0. , 0.33333333, 0. ],
[0.16666667, 0.16666667, 0.16666667]])
cell_type = 'tetra'
cells = {'tetra': array([[0, 1, 2, 4],
[0, 2, 3, 4]])}
def _write_mesh(filename, points, cell_type, cells):
> from lxml import etree as ET
E ModuleNotFoundError: No module named 'lxml'
/usr/lib/python3/dist-packages/meshio/dolfin_io.py:116: ModuleNotFoundError
------------------------------ Captured log call
-------------------------------
dolfin_io.py 208 WARNING Dolfin's XML is a legacy format.
Consider using XDMF instead.
________________________________ test_io[mesh2]
________________________________
mesh = Number of points: 4
Number of elements:
triangle: 2
Cell data: a, b
@pytest.mark.parametrize(
"mesh",
[
helpers.tri_mesh,
helpers.tet_mesh,
helpers.add_cell_data(helpers.tri_mesh, 1, dtype=float),
helpers.add_cell_data(helpers.tri_mesh, 1, dtype=numpy.int32),
],
)
def test_io(mesh):
> helpers.write_read(meshio.dolfin_io.write,
meshio.dolfin_io.read, mesh, 1.0e-15)
test/test_dolfin.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
test/helpers.py:230: in write_read
writer(filepath, input_mesh)
/usr/lib/python3/dist-packages/meshio/dolfin_io.py:216: in write
_write_mesh(filename, mesh.points, cell_type, mesh.cells)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
filename = '/tmp/tmpeaywjx_4/test.dat'
points = array([[0. , 0. , 0. ],
[0.33333333, 0. , 0. ],
[0.33333333, 0.33333333, 0. ],
[0. , 0.33333333, 0. ]])
cell_type = 'triangle'
cells = {'triangle': array([[0, 1, 2],
[0, 2, 3]])}
def _write_mesh(filename, points, cell_type, cells):
> from lxml import etree as ET
E ModuleNotFoundError: No module named 'lxml'
/usr/lib/python3/dist-packages/meshio/dolfin_io.py:116: ModuleNotFoundError
------------------------------ Captured log call
-------------------------------
dolfin_io.py 208 WARNING Dolfin's XML is a legacy format.
Consider using XDMF instead.
________________________________ test_io[mesh3]
________________________________
mesh = Number of points: 4
Number of elements:
triangle: 2
Cell data: a, b
@pytest.mark.parametrize(
"mesh",
[
helpers.tri_mesh,
helpers.tet_mesh,
helpers.add_cell_data(helpers.tri_mesh, 1, dtype=float),
helpers.add_cell_data(helpers.tri_mesh, 1, dtype=numpy.int32),
],
)
def test_io(mesh):
> helpers.write_read(meshio.dolfin_io.write,
meshio.dolfin_io.read, mesh, 1.0e-15)
test/test_dolfin.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
test/helpers.py:230: in write_read
writer(filepath, input_mesh)
/usr/lib/python3/dist-packages/meshio/dolfin_io.py:216: in write
_write_mesh(filename, mesh.points, cell_type, mesh.cells)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
filename = '/tmp/tmpq67fi9jr/test.dat'
points = array([[0. , 0. , 0. ],
[0.33333333, 0. , 0. ],
[0.33333333, 0.33333333, 0. ],
[0. , 0.33333333, 0. ]])
cell_type = 'triangle'
cells = {'triangle': array([[0, 1, 2],
[0, 2, 3]])}
def _write_mesh(filename, points, cell_type, cells):
> from lxml import etree as ET
E ModuleNotFoundError: No module named 'lxml'
/usr/lib/python3/dist-packages/meshio/dolfin_io.py:116: ModuleNotFoundError
------------------------------ Captured log call
-------------------------------
dolfin_io.py 208 WARNING Dolfin's XML is a legacy format.
Consider using XDMF instead.
_______________________________ test_generic_io
________________________________
def test_generic_io():
> helpers.generic_io("test.xml")
test/test_dolfin.py:26:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
test/helpers.py:269: in generic_io
meshio.write_points_cells(filepath, tri_mesh.points, tri_mesh.cells)
/usr/lib/python3/dist-packages/meshio/helpers.py:168: in write_points_cells
write(filename, mesh, file_format=file_format)
/usr/lib/python3/dist-packages/meshio/helpers.py:224: in write
writer()
/usr/lib/python3/dist-packages/meshio/helpers.py:197: in <lambda>
"dolfin-xml": lambda: dolfin_io.write(filename, mesh),
/usr/lib/python3/dist-packages/meshio/dolfin_io.py:216: in write
_write_mesh(filename, mesh.points, cell_type, mesh.cells)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
filename = '/tmp/tmpcmzqmog6/test.xml'
points = array([[0. , 0. , 0. ],
[0.33333333, 0. , 0. ],
[0.33333333, 0.33333333, 0. ],
[0. , 0.33333333, 0. ]])
cell_type = 'triangle'
cells = {'triangle': array([[0, 1, 2],
[0, 2, 3]])}
def _write_mesh(filename, points, cell_type, cells):
> from lxml import etree as ET
E ModuleNotFoundError: No module named 'lxml'
/usr/lib/python3/dist-packages/meshio/dolfin_io.py:116: ModuleNotFoundError
------------------------------ Captured log call
-------------------------------
dolfin_io.py 208 WARNING Dolfin's XML is a legacy format.
Consider using XDMF instead.
================ 5 failed, 89 passed, 4 skipped in 0.97 seconds
================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180724/bf3a7420/attachment-0001.sig>
More information about the debian-science-maintainers
mailing list