Bug#1147335: dolfin: using the removed pkg_resources module in the autopkg tests
Drew Parsons
dparsons at debian.org
Mon Sep 28 15:08:58 BST 2026
Source: dolfin
Version: 2019.2.0~legacy20240219.1c52e83-30
Followup-For: Bug #1147335
The pkg_resources error is coming from a wild external version of ufl
installed by pip from pypi during the dolfin pusimp tests.
The point of the pusimp tests is to test this very condition, that the
FEniCS/dolfin python modules came from external sources, not the
debian packages. If pusimp detects this external installation then it
issues a warning that behaviour may be expected to be broken.
The debian ufl package has already been patched, the problem happens
if the user (or in this case, the dolfin pusimp test) installs
packages using pip instead of installing debian packages.
Looks like pusimp is not catching the exception triggered by
pkg_resources in external ufl, so the pusimp test will need updating.
More information about the debian-science-maintainers
mailing list