Your message dated Tue, 5 Nov 2024 18:15:03 +0100
with message-id <E1t8N8x-0000000FWST-117L@sandy>
and subject line Re: python-meshio: autopkgtest fail in testing
has caused the Debian Bug report #1086548,
regarding python-meshio: autopkgtest fail in testing
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1086548: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086548
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-meshio
Version: 7.0.0-really-5.3.5-3
Severity: normal
X-Debbugs-Cc: antonio.valent...@tiscali.it
Dear Maintainer,
autopkgtest for msh2xdmf fail in testing: see
https://ci.debian.net/packages/p/python-meshio/testing/amd64/53937343/
The issue seems to be linked to the inability to import the "dolfin"
package.
This issue is blocking for the migration of h5py to testing and,
if not solved, will cause the autoremoval of several packages from
testing.
Please find below the relevant part of the log:
104s autopkgtest [17:08:24]: test test-msh2xdmf: [-----------------------
104s Testing msh2xdmf with python3.12:
104s Could not import dolfin. Continuing without Dolfin support.
104s <module 'msh2xdmf' from '/usr/lib/python3/dist-packages/msh2xdmf.py'>
105s ============================= test session starts
==============================
105s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
105s rootdir: /tmp/autopkgtest-lxc.7yuubose/downtmp/autopkgtest_tmp
105s plugins: typeguard-4.4.0
105s collected 2 items
105s
105s test/conversion/test_conversion.py .
[ 50%]
105s test/import/test_dolfin_import.py F
[100%]
105s
105s =================================== FAILURES
===================================
105s _________________________________ test_import
__________________________________
105s
105s def test_import():
105s """
105s Test the import from the xdmf file.
105s """
105s # Get the current directory
105s current_dir = "{}/{}".format(os.getcwd(), "test/import")
105s # Run the import
105s > mesh, boundaries, subdomains, labels = import_mesh(
105s prefix="multidomain",
105s dim=2,
105s directory=current_dir,
105s subdomains=True,
105s )
105s
105s test/import/test_dolfin_import.py:14:
105s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
105s
105s prefix = 'multidomain', subdomains = True, dim = 2
105s directory =
'/tmp/autopkgtest-lxc.7yuubose/downtmp/autopkgtest_tmp/test/import'
105s
105s def import_mesh(
105s prefix="mesh",
105s subdomains=False,
105s dim=2,
105s directory=".",
105s ):
105s """Function importing a dolfin mesh.
105s
105s Arguments:
105s prefix (str, optional): mesh files prefix (eg. my_mesh.msh,
105s my_mesh_domain.xdmf, my_mesh_bondaries.xdmf).
Defaults to "mesh".
105s subdomains (bool, optional): True if there are
subdomains. Defaults to
105s False.
105s dim (int, optional): dimension of the domain. Defaults
to 2.
105s directory (str, optional): directory of the mesh files.
Defaults to ".".
105s
105s Output:
105s - dolfin Mesh object containing the domain;
105s - dolfin MeshFunction object containing the physical
lines (dim=2) or
105s surfaces (dim=3) defined in the msh file and the
sub-domains;
105s - association table
105s """
105s # Set the file name
105s domain = "{}_domain.xdmf".format(prefix)
105s boundaries = "{}_boundaries.xdmf".format(prefix)
105s
105s # create 2 xdmf files if not converted before
105s if not os.path.exists("{}/{}".format(directory, domain)) or \
105s not os.path.exists("{}/{}".format(directory, boundaries)):
105s msh2xdmf("{}.msh".format(prefix), dim=dim,
directory=directory)
105s
105s # Import the converted domain
105s > mesh = Mesh()
105s E NameError: name 'Mesh' is not defined
105s
105s /usr/lib/python3/dist-packages/msh2xdmf.py:217: NameError
105s =========================== short test summary info
============================
105s FAILED test/import/test_dolfin_import.py::test_import - NameError:
name 'Mesh...
105s ========================= 1 failed, 1 passed in 0.54s
==========================
105s autopkgtest [17:08:25]: test test-msh2xdmf: -----------------------]
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.11.0-9-generic (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
--- End Message ---
--- Begin Message ---
In fact meshio has already migrated. There is no bug in meshio,
so closing this bug now.
--- End Message ---
--
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers