Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #7967

Re: Bug#798066: Multiarch-renamed python extensions not found during autopkgtest testing

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Afif Elghraoui <afif@ghraoui.name>
Newsgroups linux.debian.maint.python
Subject Re: Bug#798066: Multiarch-renamed python extensions not found during autopkgtest testing
Date Sat, 12 Dec 2015 10:30:02 +0100
Message-ID <qEOF4-iI-5@gated-at.bofh.it> (permalink)
References <qDHmi-5ho-7@gated-at.bofh.it> <qDMYG-u3-33@gated-at.bofh.it> <qEpQl-yM-1@gated-at.bofh.it> <qEtTX-3va-3@gated-at.bofh.it>
X-Original-To autopkgtest-devel@lists.alioth.debian.org, debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Dec 12 09:26:37 2015
Old-Return-Path <afif@ghraoui.name>
X-Amavis-Spam-Status No, score=-11.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=SKIP(-1.5) CL_IP_EQ_HELO_IP=-2 (check from: .ghraoui. - helo: .relay4-d.mail.gandi. - helo-domain: .gandi.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
X-Originating-IP 99.120.145.254
X-Enigmail-Draft-Status N1110
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.4.0
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kGoFRRi5GUx8GFpEQL9Q0IXn15twpdAOX"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13285
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/566BE82B.9020803@ghraoui.name
Approved robomod@news.nic.it
Lines 79
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 12 Dec 2015 01:26:03 -0800
X-Original-Message-ID <566BE82B.9020803@ghraoui.name>
X-Original-References <5667D77B.8050503@ghraoui.name> <20151209132533.GA5757@debian.org> <566A7295.20200@ghraoui.name> <20151211110914.GB12944@debian.org>
Xref csiph.com linux.debian.maint.python:7967

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

على الجمعـة 11 كانون الأول 2015 ‫03:09، كتب Antonio Terceiro:

> I also
> don't see other python packages that contain compiled extensions needing
> to do this sort of thing.
>

I have a few other packages that have this problem -- python-cobra is
one. For two other packages (python-pbh5tools and kineticstools), I
disabled tests that require the compiled extensions because they were
failing for this reason.


> I tried python-pysam here, and after some trial and error, I can also reproduce
> the same issue outside of autopkgtest. The issue is that Python load path is
> being confused by the fact that you are on root of the source package:
> 
[...]

Many thanks for that information. I can reproduce that effect as well
and things are making much more sense now. Now, I just need to find a
proper solution to this python module priority problem.

> 
> So your problem has nothing to do autopkgtest, other than the fact that
> autopkgtest always starts the tests from the root of the source package.
> 

Thanks-- I didn't set out to bash autopkgtest with this. I just wanted
to know why the tests weren't running properly and how to resolve that
problem.


Many thanks and regards
Afif

-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Multiarch-renamed python extensions not found during autopkgtest  testing Afif Elghraoui <afif@ghraoui.name> - 2015-12-09 08:30 +0100
  Bug#798066: Multiarch-renamed python extensions not found during autopkgtest testing Afif Elghraoui <afif@ghraoui.name> - 2015-12-11 08:00 +0100
    Re: Bug#798066: Multiarch-renamed python extensions not found during  autopkgtest testing Antonio Terceiro <terceiro@debian.org> - 2015-12-11 12:20 +0100
      Re: Bug#798066: Multiarch-renamed python extensions not found during  autopkgtest testing Afif Elghraoui <afif@ghraoui.name> - 2015-12-12 10:30 +0100

csiph-web