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


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

Pybuild: build time test requiring registration of entry point

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Ole Streicher <olebole@debian.org>
Newsgroups linux.debian.maint.python
Subject Pybuild: build time test requiring registration of entry point
Date Tue, 28 May 2019 13:00:01 +0200
Message-ID <y2HZL-1xT-1@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue May 28 10:51:08 2019
Old-Return-Path <news@liska.ath.cx>
X-Amavis-Spam-Status No, score=-6.999 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_FROM_IP=-2 (check from: .ath. - helo: .liska.ath. - helo-domain: .ath.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain
Lines 21
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16918
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87woiauavu.fsf@orrococo
Approved robomod@news.nic.it
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 28 May 2019 12:33:09 +0200
X-Original-Message-ID <87woiauavu.fsf@orrococo>
Xref csiph.com linux.debian.maint.python:11435

Show key headers only | View raw


Hi,

I have a package (sunpy) that in the latest registers an entry point for
another package (asdf):

[options.entry_points]
asdf_extensions =
  sunpy = sunpy.io.special.asdf.extension:SunpyExtension

This functionality is also used during some tests, which I would like to
keep.

However, pybuild runs the test before "setup.py install" is called, so
the extension is not there at this time. I would not like to disable the
test, since it checks some important functionality.

Is there a way to solve this?

Best regards

Ole

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


Thread

Pybuild: build time test requiring registration of entry point Ole Streicher <olebole@debian.org> - 2019-05-28 13:00 +0200

csiph-web