Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Scott Talbert Newsgroups: linux.debian.maint.python Subject: pybuild and testing pytest plugins Date: Sun, 13 Jan 2019 20:40:01 +0100 Message-ID: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Jan 13 19:32:50 2019 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 X-Greylist: delayed 569 seconds by postgrey-1.36 at bendel; Sun, 13 Jan 2019 19:32:41 UTC Dkim-Signature: v=1; a=rsa-sha256; c=simple/simple; d=techie.net; s=default; t=1547407388; bh=7umxl/FyH96AqYiJGG+603/wwOwsvyDV5pldwjE6lXE=; h=Date:From:To:Subject:From; b=pXCKCYsxvJNtZD0vpvf+lHGNP3fvaj0WILdJiGn3ZEGprTc+nzi7MHZeUUS6cZguk pFotQKHjV7OOmhGCAPqPKcpfbyxlph9aHHegTbFOsZu4z+pKz7rjKOBy4qb+1+xxgx oS5DYUsEl9tSJPIHGscCBLxOFUvGc6DGUatVoLN0= X-X-Sender: talbert@bear.techie.net User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Mailing-List: archive/latest/16697 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/alpine.DEB.2.21.1901131418140.7835@bear.techie.net Approved: robomod@news.nic.it Lines: 12 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 13 Jan 2019 14:23:08 -0500 (EST) X-Original-Message-ID: Xref: csiph.com linux.debian.maint.python:11244 When packaging a pytest plugin and wanting to run the plugin's unit tests during the build process, the plugin usually has to be installed before running the tests, otherwise pytest cannot find the plugin. This seems to require workarounds such as this [1]. Is there any way to avoid this with pybuild or is such a workaround really necessary? Thanks, Scott [1] https://salsa.debian.org/python-team/modules/pytest-xdist/blob/debian/master/debian/rules#L12