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


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

Problems with Python 3 packaging using pybuild

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!feed.usenet.farm!feeder4.usenet.farm!feeders.as203319.net!feeder01.as203319.net!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Muammar El Khatib <muammar@debian.org>
Newsgroups linux.debian.maint.python
Subject Problems with Python 3 packaging using pybuild
Date Sun, 06 Aug 2017 02:20:02 +0200
Message-ID <ubhsu-3sJ-7@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Aug 6 00:17:11 2017
Old-Return-Path <muammarelkhatib@gmail.com>
X-Amavis-Spam-Status No, score=-6.499 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=fmn/pOs7hRdy11PzvZut+may9rwewTNX2JewwQ+OMGs=; b=WnL2gk0YJbLm9nMXIHr2IV0lbxah0PO5hRbzTBpItysvAZzHn3XhmVyjeCTd5aQUxW ntS7bsKXmBOZKNwIlAVWO1nmJWLrf45STj8fpyHDEsJ37S2wpj45EMHRhJJNwmkbZlrC KdqWNL23PtRKNtvCtQK+zrMTamF58Ddem19+ObgoG8M9/YNxOknphdoQPIyPuX0g1mu8 Ax78h6dfsO0xddUdXOxp2xZq9PiIipuMaEX9SMSGyQnAdncbX8iRC/AG7H5S7rC+ENIM 9SLCF/ikFXSduo1XfN+aEk5y/J3GnwfbRftzxcLmloIavulAVamjJzmFq+xO1Yfs5D2D NNSw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=fmn/pOs7hRdy11PzvZut+may9rwewTNX2JewwQ+OMGs=; b=L4BqxEB2Uixz5z4m0NVRvW0Eo1iay8HXD34yJtYvaAKJFfZWvG6aD1KqvdMEUKrWKV sy3p4s2dWWjiVLGtOndAnTIoM9It5hlfYSG+zVIw+46sF5MGn6Nz18xtpFOFUvO04OaQ X/Gn7/iseFNUnV7S3Y/Y30J1MklHb7su3w6noGIuVqV0LY76/ZOcicr1xb40wIQ+3oEp n3F14XKOlNRg89to6ZEc1R9Gnk926a0qDt8DNeiBgwPJhr4il87igqA4rwW9zU4qe7zt d1hOzypfRsq2/+R99SVCrf8F3eklu4o6bI1KQxDZe1Zb3WalXnnI4umAG5fhl4Y50c6D 9iLA==
X-Gm-Message-State AHYfb5glB6xg5aWlUlQOOsvMlkJo1qCaFfOiSLuhSC9wDohfSkYGt3Fg 3gq3OgZUZwDtiNf+lEUZdKtGXcRMVt6s
X-Received by 10.25.168.3 with SMTP id r3mr2180783lfe.111.1501978615815; Sat, 05 Aug 2017 17:16:55 -0700 (PDT)
MIME-Version 1.0
Sender robomod@news.nic.it
X-Google-Sender-Auth 5P3p2zwjCMf3733OAcrb9uacnnk
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15084
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CA+WEVrwb6qP0WwHbay86ewEDCru4bSUTMCdpsgq1jH+5nMfQCA@mail.gmail.com
Approved robomod@news.nic.it
Lines 32
Organization linux.* mail to news gateway
X-Original-Date Sat, 5 Aug 2017 20:16:15 -0400
X-Original-Message-ID <CA+WEVrwb6qP0WwHbay86ewEDCru4bSUTMCdpsgq1jH+5nMfQCA@mail.gmail.com>
X-Original-Sender muammarelkhatib@gmail.com
Xref csiph.com linux.debian.maint.python:9703

Show key headers only | View raw


Hi,

I hope some of you could help with this problem. I have created a
package[0] that will be working using Python 3 and I am getting
problems with running its tests in pbuilder. I am using pybuild as you
can see in the debian/rules[1]. If I build it using
`dpkg-buildpackage` or `gbp` the package is created correctly, and
especially tests are working well. If I install the resulting deb
everything functions as expected, too.

Now, If I use pdebuild, tests fail and the reason I suspect is that of
the fmodules that are created by f2py3 are not being found at the
building time. I think it is a problem with PYTHONPATH inside
pbuilder, and tried adding before running the tests `PYTHONPATH=.` but
that did not work either. I would be very glad if someone could help
to solve this problem.

Best,


[0] https://anonscm.debian.org/cgit/debian-science/packages/amp.git/
[1] https://anonscm.debian.org/cgit/debian-science/packages/amp.git/tree/debian/rules

-- 
Muammar El Khatib.
Linux user: 403107.
GPG Key = 71246E4A.
http://muammar.me | http://proyectociencia.org
  ,''`.
 : :' :
 `. `'
   `-

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


Thread

Problems with Python 3 packaging using pybuild Muammar El Khatib <muammar@debian.org> - 2017-08-06 02:20 +0200

csiph-web