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


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

pybuild and testing pytest plugins

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Scott Talbert <swt@techie.net>
Newsgroups linux.debian.maint.python
Subject pybuild and testing pytest plugins
Date Sun, 13 Jan 2019 20:40:01 +0100
Message-ID <xfTLX-2hA-5@gated-at.bofh.it> (permalink)
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 <swt@techie.net>
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 <debian-python@lists.debian.org> archive/latest/16697
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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 <alpine.DEB.2.21.1901131418140.7835@bear.techie.net>
Xref csiph.com linux.debian.maint.python:11244

Show key headers only | View raw


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

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


Thread

pybuild and testing pytest plugins Scott Talbert <swt@techie.net> - 2019-01-13 20:40 +0100
  Re: pybuild and testing pytest plugins Alexandros Afentoulis <alexaf@bloom.re> - 2019-01-14 09:30 +0100
    Re: pybuild and testing pytest plugins Piotr Ożarowski <piotr@debian.org> - 2019-01-14 12:40 +0100

csiph-web