Path: csiph.com!tncsrv06.tnetconsulting.net!newsfeed.endofthelinebbs.com!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Julian Gilbey Newsgroups: linux.debian.maint.python Subject: Re: Unable to set custom test command for pybuild Date: Thu, 31 Oct 2024 22:00:01 +0100 Message-ID: References: X-Original-To: John Paul Adrian Glaubitz X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Oct 31 20:53:54 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailing-List: archive/latest/22500 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/ZyPuTZErKBYHnMzb@d-and-j.net Approved: robomod@news.nic.it Lines: 23 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Thu, 31 Oct 2024 20:53:33 +0000 X-Original-Message-ID: X-Original-References: <562fc8bd27ec6f7fc1664d232f2e30baa98f9a76.camel@physik.fu-berlin.de> Xref: csiph.com linux.debian.maint.python:16430 Hi Adrian, On Thu, Oct 31, 2024 at 07:08:20PM +0100, John Paul Adrian Glaubitz wrote: > Hi Julian, > > [...] > Thanks a lot. I would have never guessed that. > > Meanwhile, I found the following alternative approach in the README.rst [1]: > > dh_auto_test -- --system=custom --test-args='{interpreter} setup.py test' > > Your suggestion looks cleaner. If it works, I'll use it. If not, I'll stick to the > approach above as it actually works. Took me forever to figure this all out. > > I think this information could be added to the Pybuild page on the Debian wiki [2]. Sounds a great idea; please feel free to edit the page to include this! Best wishes, Julian