Processed: Re: Bug#1030220: xrayutilities: missing dependency on python3-h5py breaks armel tests
Processing control commands: > reopen 1030220 Bug #1030220 {Done: Drew Parsons } [src:xrayutilities] xrayutilities: missing dependency on python3-h5py breaks armel tests 'reopen' may be inappropriate when a bug has been closed with a version; all fixed versions will be cleared, and you may need to re-add them. Bug reopened No longer marked as fixed in versions h5py/3.7.0-4. -- 1030220: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030220 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#1030220: xrayutilities: missing dependency on python3-h5py breaks armel tests
Control: reopen 1030220 h5py 3.7.0-4 is uploaded fixing the source of the problem, but xrayutilities will need to be rebuilt to use the new pydist definitions.
Bug#1030220: xrayutilities: missing dependency on python3-h5py breaks armel tests
On 2023-02-01 22:40, Stefano Rivera wrote: Hi Drew (2023.01.31_18:48:32_-0400) xrayutilities does have Build-Depends: python3-h5py. Evidentally dh-python3 isn't able to determine the correct dependency for h5py (likely it gets confused by python3-h5py-serial). Until that's fixed, python3-xrayutilities should declare Depends: python3-h5py explicitly. This sounds like an issue in the way the python3-h5py package is structured. python3-h5py-serial has the .egg-info, so that's the dependency that's being generated. You can customize this with a PyDist override file, see: /usr/share/doc/dh-python/README.PyDist That sounds like a good solution. h5py will be the better for it. Thanks, Stefano. Drew
Processed: Re: Bug#1030220: xrayutilities: missing dependency on python3-h5py breaks armel tests
Processing control commands: > clone -1 -2 Bug #1030220 [src:xrayutilities] xrayutilities: missing dependency on python3-h5py breaks armel tests Bug 1030220 cloned as bug 1030274 > reassign -2 src:python-h5py 3.7.0-3 Bug #1030274 [src:xrayutilities] xrayutilities: missing dependency on python3-h5py breaks armel tests Bug reassigned from package 'src:xrayutilities' to 'src:python-h5py'. Warning: Unknown package 'src:python-h5py' Warning: Unknown package 'src:python-h5py' No longer marked as found in versions xrayutilities/1.7.4-1. Warning: Unknown package 'src:python-h5py' Warning: Unknown package 'src:python-h5py' Ignoring request to alter fixed versions of bug #1030274 to the same values previously set Warning: Unknown package 'src:python-h5py' Bug #1030274 [src:python-h5py] xrayutilities: missing dependency on python3-h5py breaks armel tests Warning: Unknown package 'src:python-h5py' The source 'python-h5py' and version '3.7.0-3' do not appear to match any binary packages Marked as found in versions python-h5py/3.7.0-3. Warning: Unknown package 'src:python-h5py' > retitle -2 Provide PyDist overrides for h5py? Bug #1030274 [src:python-h5py] xrayutilities: missing dependency on python3-h5py breaks armel tests Warning: Unknown package 'src:python-h5py' Changed Bug title to 'Provide PyDist overrides for h5py?' from 'xrayutilities: missing dependency on python3-h5py breaks armel tests'. Warning: Unknown package 'src:python-h5py' -- 1030220: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030220 1030274: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030274 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#1030220: xrayutilities: missing dependency on python3-h5py breaks armel tests
Control: clone -1 -2 Control: reassign -2 src:python-h5py 3.7.0-3 Control: retitle -2 Provide PyDist overrides for h5py? Hi Drew (2023.01.31_18:48:32_-0400) > xrayutilities does have Build-Depends: python3-h5py. Evidentally > dh-python3 isn't able to determine the correct dependency for h5py > (likely it gets confused by python3-h5py-serial). Until that's fixed, > python3-xrayutilities should declare > Depends: python3-h5py > explicitly. This sounds like an issue in the way the python3-h5py package is structured. python3-h5py-serial has the .egg-info, so that's the dependency that's being generated. You can customize this with a PyDist override file, see: /usr/share/doc/dh-python/README.PyDist Maybe it would make sense to have a pydist like so: h5py python3-h5py; PEP386 That way any package declaring a Python requires on h5py will get a binary dependency on python3-h5py. Thanks, Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
Bug#1030220: xrayutilities: missing dependency on python3-h5py breaks armel tests
Source: xrayutilities Version: 1.7.4-1 Severity: serious Justification: debci python3-xrayutilities has an inconsistent Dependency on h5py It declares python3-h5py-serial [alpha, hppa, m68k, sparc64, x32], in other words is not declared for most architectures. But xrayutilities needs h5py in io/helper.py, so the missing dependency of python3-h5py cases armel tests to fail. The failure is triggered by scipy 1.10. Other arches pass. I think that they are passing due to an indirect dependency from some other package, which isn't applied to armel. Since python3-xrayutilities uses h5py directly, it needs Depends: python3-h5py xrayutilities does have Build-Depends: python3-h5py. Evidentally dh-python3 isn't able to determine the correct dependency for h5py (likely it gets confused by python3-h5py-serial). Until that's fixed, python3-xrayutilities should declare Depends: python3-h5py explicitly.