Bug#1053266: python3-h5sparse incomplete Depends: python3-h5py-serial

2024-04-19 Thread Andreas Beckmann

Control: tag -1 sid trixie

On Sat, 30 Sep 2023 12:34:07 +0200 Drew Parsons  wrote:

Package: python3-h5sparse
Version: 0.1.0-6


doing 'import h5sparse' with this package version installed in bookworm
works fine without python3-h5py while it fails in sid without python3-h5py:


import h5sparse

Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python3/dist-packages/h5sparse/__init__.py", line 2, in 

from .h5sparse import Group, File, Dataset  # noqa: F401
^^
  File "/usr/lib/python3/dist-packages/h5sparse/h5sparse.py", line 29, in 

class Group(h5py.Group):
^^
AttributeError: module 'h5py' has no attribute 'Group'


Andreas



Bug#1053266: python3-h5sparse incomplete Depends: python3-h5py-serial

2023-09-30 Thread Drew Parsons
Package: python3-h5sparse
Version: 0.1.0-6
Severity: serious
Justification: debci

Currently python3-h5sparse Depends: python3-h5py-serial, but h5sparse
tests access h5py, not h5py._debian_h5py_serial.

The python3-h5py-serial package only provides
h5py._debian_h5py_serial. If you need to use the generic h5py
namespace rather than the specific serial namespace, then you need

Depends: python3-h5py

python3-h5py depends on python3-h5py-serial by default but that might
alternatively be satisfied by python3-h5py-mpi.  If h5sparse strictly
needs python3-h5py-serial and not python3-h5py-mpi, then the
dependency should declare both

Depends: python3-h5py, python3-h5py-serial


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-h5sparse depends on:
ii  python3  3.11.4-5+b1
ii  python3-h5py-serial  3.9.0-2
ii  python3-numpy1:1.24.2-1
ii  python3-scipy1.10.1-2
ii  python3-six  1.16.0-4

python3-h5sparse recommends no packages.

python3-h5sparse suggests no packages.

-- no debconf information