Bug#657089: Please reintroduce dh_numpy usage / easy numpy transitions

Antonio Valentino antonio.valentino at tiscali.it
Tue Jan 24 00:32:19 UTC 2012


Hi Sandro,

Il 23/01/2012 23:48, Sandro Tosi ha scritto:
> Source: pytables
> Version: 2.3.1-1
> Severity: important
> 
> Hello,
> in #590761 was requested to start using dh_numpy to easy numpy transition, but
> with the last upload, the dh_numpy call was removed, adding a static depends on
> python-numpy. that will generate several troubles when preparing transitions for
> newer numpy releases.
> 
> Please reintroduce dh_numpy in the build chain.
> 

Sorry Sandro, I started working on this package only recently and I was
not aware of dh_numpy.

If my understanding is correct the dh sequencer does not call dh_numpy
automatically so we should call it explicitly

--- a/debian/rules
+++ b/debian/rules
@@ -36,6 +36,7 @@ override_dh_compress:

 override_dh_auto_install:
        dh_auto_install
+       dh_numpy --strict
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
        set -e; \
        for v in $(PYVERS); do \


is it correct?

> The real reason I was filing this bug (before the discovery of dh_numpy call
> removal) was to ask, following #643873 discussion, if you could start calling
> dh_numpy with '--strict' argument (but that requires a compat version <<8 which
> was just bumped in the last upload).
> 
> That would help us prepare smoother numpy transitions using a reworked dh_numpy,
> and so the introduction of '--strict' option on your side will avoid another
> block on our side when we'll be ready to go.
> 
> Do you think it's something doable?
> 
> Regards,
> Sandro
> 

We mainly depend on debheper >=8.1 in order to get a better support for
for sphinx doc.
I suppose we can go back to a compat version <<8 without too much pain.

I will try to fix it ASAP


best regards

-- 
Antonio Valentino





More information about the debian-science-maintainers mailing list