Path: csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Matthias Klose Newsgroups: linux.debian.maint.python Subject: Re: Unable to set custom test command for pybuild Date: Fri, 01 Nov 2024 08:40:01 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Nov 1 07:34:00 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MONOTONE_WORDS_2_15=1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -2.7 Old-X-Envelope-From: doko@debian.org Old-X-Envelope-To: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/22503 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/7f16df18-a3ac-4852-a3ee-1385a2d77f88@debian.org Approved: robomod@news.nic.it Lines: 32 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 1 Nov 2024 08:33:38 +0100 X-Original-Message-ID: <7f16df18-a3ac-4852-a3ee-1385a2d77f88@debian.org> X-Original-References: <562fc8bd27ec6f7fc1664d232f2e30baa98f9a76.camel@physik.fu-berlin.de> Xref: csiph.com linux.debian.maint.python:16433 On 31.10.24 21:53, Julian Gilbey wrote: > 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! sorry, but this feels like a bullshit comment. pun intended. the pybuild information really is not adequate. but requesting people having questions to just add another tiny improvement to this kind of documentation is not helping very much. So maybe the people already knowing all the quirks could come up with a way to rewrite the docs? We even could have that as the first topic for a Python BoF, before starting any other topic ... Matthias