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


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

.egg-info for entry points during dh_auto_test

Path csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!feeder1.feed.usenet.farm!feed.usenet.farm!aioe.org!bofh.it!news.nic.it!robomod
From Michael Fladischer <michael@fladi.at>
Newsgroups linux.debian.maint.python
Subject .egg-info for entry points during dh_auto_test
Date Thu, 21 Oct 2021 21:30:01 +0200
Message-ID <DaLVf-606-7@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Oct 21 19:22:02 2021
Old-Return-Path <michael@fladi.at>
X-Amavis-Spam-Status No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
X-Greylist delayed 1553 seconds by postgrey-1.36 at bendel; Thu, 21 Oct 2021 19:21:49 UTC
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 <debian-python@lists.debian.org> archive/latest/19443
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/33f3616e-50d7-93d4-4b21-ae818a6dec6f@fladi.at
Approved robomod@news.nic.it
Lines 18
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 21 Oct 2021 20:55:51 +0200
X-Original-Message-ID <33f3616e-50d7-93d4-4b21-ae818a6dec6f@fladi.at>
Xref csiph.com linux.debian.maint.python:13647

Show key headers only | View raw


Hi,

I'm working on src:pytest-lazy-fixtures and was trying to get the 
unittests to run but it seems that I have run into a problem that I'm 
not sure on how to fix it in a clean way.

pytest-lazy-fixtures is a pytest plugin and registers itself through the 
Python entrypoints mechanism. In its unitests, it assumes that this 
registration has already happened but during dh_auto_test there is no 
.egg-info directory available. I could use "python3 setup.py develop -x" 
to generate it, but this registers the package in /usr inside the build 
chroot which I think is not the best solution.

Is there an other, less intrusive way to register the entrypoint before 
running the tests?

Thanks,
Michael

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


Thread

.egg-info for entry points during dh_auto_test Michael Fladischer <michael@fladi.at> - 2021-10-21 21:30 +0200
  Re: .egg-info for entry points during dh_auto_test Stefano Rivera <stefanor@debian.org> - 2021-10-22 05:50 +0200
    Re: .egg-info for entry points during dh_auto_test Stuart Prescott <stuart@debian.org> - 2021-10-22 09:20 +0200
    Re: .egg-info for entry points during dh_auto_test Michael Fladischer <michael@fladi.at> - 2021-10-22 16:30 +0200
  Re: .egg-info for entry points during dh_auto_test Thomas Goirand <zigo@debian.org> - 2021-10-22 23:30 +0200
  Re: .egg-info for entry points during dh_auto_test Dmitry Shachnev <mitya57@debian.org> - 2021-10-30 22:10 +0200
    Re: .egg-info for entry points during dh_auto_test Michael Fladischer <michael@fladi.at> - 2021-10-31 14:50 +0100
      Re: .egg-info for entry points during dh_auto_test Dmitry Shachnev <mitya57@debian.org> - 2021-10-31 15:20 +0100

csiph-web