Path: csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Michael Fladischer Newsgroups: linux.debian.maint.python Subject: Re: .egg-info for entry points during dh_auto_test Date: Fri, 22 Oct 2021 16:30:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Oct 22 14:28:07 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.001 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, NICE_REPLY_A=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Thunderbird/94.0 Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/19446 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/751f2923-b438-8bfc-e21d-278c02982b77@fladi.at Approved: robomod@news.nic.it Lines: 16 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 22 Oct 2021 16:27:50 +0200 X-Original-Message-ID: <751f2923-b438-8bfc-e21d-278c02982b77@fladi.at> X-Original-References: <33f3616e-50d7-93d4-4b21-ae818a6dec6f@fladi.at> <20211022034414.2bmtenuabf2qv2hw@satie.tumbleweed.org.za> Xref: csiph.com linux.debian.maint.python:13650 Hi Stefano, Am 22.10.2021 um 05:44 schrieb Stefano Rivera: > pytest also has a mechanism to register plugins through an environment > variable, but I couldn't figure out how to get the test suite to work > with that. thanks for this hint, that seems like a clean solution for my case: PYTEST_PLUGINS="pytest_lazyfixture" python3.9 -m pytest There is also the "-p" option which shoul early-load plugins by module name but it didn't work for me. The environment variable did. Thanks, Michael