[Debian-med-packaging] Bug#921382: kineticstools: autopkgtest needs update for new version of h5py

Andreas Tille tille at debian.org
Wed Feb 13 22:20:27 GMT 2019


Hi Paul,

On Tue, Feb 12, 2019 at 10:58:16PM +0100, Paul Gevers wrote:
> On 12-02-2019 14:29, Andreas Tille wrote:
> > thanks a lot for this bug report.  I'd love to fix this but I have no
> > idea what to do.  Any hint from h5py at packages.debian.org ?
> 
> I don't want to offend you,

You don't. ;-)

> but did you look at the error message? I
> think it tells you what to do: "dataset.value has been deprecated. Use
> dataset[()] instead". I assume you should replace calls like
> dataset.value() with dataset[()].

The thing is that there is no dataset.value in kineticstools source.
I checked

   grep -Rw "\.value"

in the source repository which is empty.
 
> If you really don't know how to fix the issue, I guess you could reduce
> the log-level in your test cases.

OK, I tried

diff --git a/debian/rules b/debian/rules
index c425a85..7c443c9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,3 +27,10 @@ override_dh_auto_install:
        rst2man doc/manual.rst > $(MANDIR)/man1/ipdSummary.1
        mkdir -p debian/kineticstools-data/usr/share/kineticstools
        mv debian/python-kineticstools/usr/lib/python2.7/dist-packages/kineticsTools/resources debian/kineticstools-data/usr/share/kineticstools/
+
+override_dh_auto_test:
+#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+       # FIXME: This should be deactivated once bug #921382 is solved
+       find test/cram -type f -name "*.t" -exec sed -i 's/--log-level=WARNING/--log-level=DEBUG/' \{\} \;
+       dh_auto_test
+#endif

but it is not really more enlightening. 

> Remember, you are blocking h5py from migrating with your autopkgtest.

Thus I was asking for help since I do not have the slightest idea about
h5py and we just lost the original Uploader.  I simply try to do my best
but it is not sufficient. :-(

Kind regards

       Andreas.


-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list