Source: python-h5netcdf Version: 0.7.1-1 Severity: serious Justification: debci
h5py.File opens 'r' by default, so you need to specify other modes such as 'w' if needed e.g. test_optional_netcdf4_attrs[testfile.nc] with h5.File(tmp_local_or_remote_netcdf, 'w') as f: instead of with h5.File(tmp_local_or_remote_netcdf) as f: if needed for writing. -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled