[Debian-med-packaging] Bug#995966: epigrass: epirunner and epidash fail to run due to missing dash modules
Étienne Mollier
emollier at emlwks999.eu
Sat Oct 9 09:09:01 BST 2021
Package: epigrass
Version: 3.0.0+dfsg-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
When investigating #995781 to see whether sqlsoup could be
replaced by automap, per sqlsoup upstream suggestion since
their program is not maintained anymore, I realised I couldn't
run epigrass related programs at all. The epidash program
crashes with:
$ epidash
Traceback (most recent call last):
File "/usr/bin/epidash", line 33, in <module>
sys.exit(load_entry_point('epigrass==3.0', 'console_scripts', 'epidash')())
File "/usr/bin/epidash", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/Epigrass/epidash.py", line 1, in <module>
import dash
ModuleNotFoundError: No module named 'dash'
The epirunner program fails to execute anything meaningul, even
the -h flag to get help:
$ epirunner -h
Traceback (most recent call last):
File "/usr/bin/epirunner", line 33, in <module>
sys.exit(load_entry_point('epigrass==3.0', 'console_scripts', 'epirunner')())
File "/usr/bin/epirunner", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/Epigrass/manager.py", line 20, in <module>
from Epigrass.simobj import graph, edge, siteobj
File "/usr/lib/python3/dist-packages/Epigrass/simobj.py", line 19, in <module>
from Epigrass import epimodels
File "/usr/lib/python3/dist-packages/Epigrass/epimodels.py", line 15, in <module>
import numba
File "/usr/lib/python3/dist-packages/numba/__init__.py", line 19, in <module>
from numba.core import config
File "/usr/lib/python3/dist-packages/numba/core/config.py", line 16, in <module>
import llvmlite.binding as ll
File "/usr/lib/python3/dist-packages/llvmlite/binding/__init__.py", line 4, in <module>
from .dylib import *
File "/usr/lib/python3/dist-packages/llvmlite/binding/dylib.py", line 3, in <module>
from llvmlite.binding import ffi
File "/usr/lib/python3/dist-packages/llvmlite/binding/ffi.py", line 137, in <module>
from pkg_resources import resource_filename
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3243, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3226, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 568, in _build_master
ws.require(__requires__)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 886, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 772, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'dash_html_components' distribution was not found and is required by epigrass
On the good news side, past in the docs/source/install.rst file,
which is merely for informational purpose, I haven't seen any
reference to sqlsoup in the source code, so removing dependency
to python3-sqlsoup shouldn't be too much of a problem hopefully.
I see stubs of packaging for dash python modules [1, 2, 3] on
salsa, and will have some spare cycles this weekend to have a
fresh look at them if that helps.
[1]: https://salsa.debian.org/med-team/python-dash
[2]: https://salsa.debian.org/med-team/python-dash-core-components
[3]: https://salsa.debian.org/med-team/python-dash-html-components
Kind Regards,
Étienne.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.14.0-1-amd64 (SMP w/12 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages epigrass depends on:
ii cython3 0.29.21-3+b1
ii python3 3.9.2-3
ii python3-altair 4.0.1-2
ii python3-dbfread 2.0.7-3
ii python3-fiona 1.8.20-2+b2
ii python3-formencode 2.0.0-2
ii python3-gdal 3.3.2+dfsg-2
ii python3-geopandas 0.10.0-1
ii python3-matplotlib 3.3.4-2
ii python3-networkx 2.5+ds-2
ii python3-numpy 1:1.19.5-1
ii python3-pandas 1.1.5+dfsg-2
ii python3-pkg-resources 52.0.0-4
ii python3-plotly 4.14.3+dfsg-1
ii python3-pweave 0.25-3
ii python3-pyglet 1.5.14-1
ii python3-pymysql 1.0.2-2
ii python3-redis 3.5.3-2
ii python3-shapely 1.7.1-2
ii python3-sqlalchemy 1.4.23+ds1-2
ii python3-sqlobject 3.9.0+dfsg-1
ii python3-sqlsoup 0.9.1-5
ii python3-tqdm 4.57.0-2
ii redis-server 5:6.0.16-1
epigrass recommends no packages.
Versions of packages epigrass suggests:
pn epigrass-doc <none>
pn grass <none>
pn kate <none>
-- no debconf information
--
Étienne Mollier <emollier at emlwks999.eu>
Fingerprint: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
Sent from /dev/pts/6, please excuse my verbosity.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20211009/35ac8660/attachment.sig>
More information about the Debian-med-packaging
mailing list