Bug#1051781: python3-h5py: where is the egg files

Picca Frédéric-Emmanuel picca at debian.org
Tue Sep 12 13:47:05 BST 2023


Package: python3-h5py
Version: 3.7.0-8
Severity: important
X-Debbugs-Cc: picca at debian.org

Dear Maintainer,

I am thre maintainer of silx

This package depende of python3-h5py and contain entry points.

The build  is ok, but once installed I get this error message when I try to start the application

$ silx view
Traceback (most recent call last):
  File "/usr/bin/silx", line 33, in <module>
    sys.exit(load_entry_point('silx==1.1.2', 'console_scripts', 'silx')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/silx/__main__.py", line 67, in main
    status = launcher.execute(sys.argv)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/silx/utils/launcher.py", line 294, in execute
    return command.execute(command_argv)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/silx/utils/launcher.py", line 128, in execute
    status = func(argv)
             ^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/silx/app/view/main.py", line 214, in main
    mainQt(options)
  File "/usr/lib/python3/dist-packages/silx/app/view/main.py", line 156, in mainQt
    import silx.gui.utils.matplotlib  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/silx/gui/utils/matplotlib.py", line 39, in <module>
    from pkg_resources import parse_version
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3327, in <module>
    @_call_aside
     ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3302, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 631, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 968, in require
    needed = self.resolve(parse_requirements(requirements))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 829, in resolve
    dist = self._resolve_dist(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'h5py' distribution was not found and is required by hdf5plugin, silx


$ apt show python3-silx
Package: python3-silx
Version: 1.1.2+dfsg-2
Priority: optional
Section: python
Source: silx
Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Installed-Size: 13,1 MB
Depends: python3 (<< 3.12), python3 (>= 3.11~), python3-dateutil, python3-fabio, python3-h5py, python3-hdf5plugin, python3-mako, python3-matplotlib, python3-numpy (>= 1:1.22.0), python3-numpy-abi9, python3-opengl, python3-pil, python3-pkg-resources, python3-pyopencl, python3-pyqt5, python3-pyqt5.qtopengl, python3-pyqt5.qtsvg, python3-qtconsole, python3-scipy, python3:any, libc6 (>= 2.33), libgcc-s1 (>= 3.0), libgomp1 (>= 4.9), libstdc++6 (>= 5.2)
Homepage: https://github.com/silx-kit/silx


So my question is what should be canged in h5py in order to make this work.

thanks

Frederic



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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 python3-h5py depends on:
ii  python3-h5py-serial  3.7.0-8

python3-h5py recommends no packages.

Versions of packages python3-h5py suggests:
pn  python-h5py-doc  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list