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


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

Re: Understanding pybuild

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder7.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Ole Streicher <olebole@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Understanding pybuild
Date Fri, 20 Dec 2019 08:40:01 +0100
Message-ID <zfl3b-88T-3@gated-at.bofh.it> (permalink)
References <zf36h-52I-3@gated-at.bofh.it> <zfjkJ-72l-5@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Dec 20 07:36:09 2019
Old-Return-Path <news@liska.ath.cx>
X-Amavis-Spam-Status No, score=-6.351 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.25, KHOP_HELO_FCRDNS=0.399, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Greylist delayed 68976 seconds by postgrey-1.36 at bendel; Fri, 20 Dec 2019 07:19:46 UTC
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain
Lines 23
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17767
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87sglfzcoi.fsf@orrococo
Approved robomod@news.nic.it
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 20 Dec 2019 08:19:41 +0100
X-Original-Message-ID <87sglfzcoi.fsf@orrococo>
X-Original-References <87tv5w34aj.fsf@orrococo> <20191220054907.GA382294@mitya57.me>
Xref csiph.com linux.debian.maint.python:12164

Show key headers only | View raw


Hi Dmitry,

Dmitry Shachnev <mitya57@debian.org> writes:
> On Thu, Dec 19, 2019 at 01:09:40PM +0100, Ole Streicher wrote:
>> 2. dh_auto_test then tries runs the tests in .pybuild. If the test need
>> data files installed, they must be copied manually (right?).
>
> You can use debian/pybuild.testfiles to copy the test files. See pybuild(1)
> for details.

That would formalize it a bit, but still does not solve the underlying
problem: it requires that I maintain the list of these files manually,
while upstream already does this (by adding them to the list of data
files).

And also, the built time tests are with pybuild not done with the files
(anc compilations) that are finally installed, but the installed files
(especially Python extensions) are created again from scratch, doubling
the compile time and introducing another difficile source of error.

Best regards

Ole

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


Thread

Understanding pybuild Ole Streicher <olebole@debian.org> - 2019-12-19 13:30 +0100
  Re: Understanding pybuild Dmitry Shachnev <mitya57@debian.org> - 2019-12-20 06:50 +0100
    Re: Understanding pybuild Ole Streicher <olebole@debian.org> - 2019-12-20 08:40 +0100
      Re: Understanding pybuild Dmitry Shachnev <mitya57@debian.org> - 2019-12-20 12:20 +0100

csiph-web