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


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

Re: Python-pyfasta: How to run nosetests and what to do with duplicated binary

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Python-pyfasta: How to run nosetests and what to do with duplicated binary
Date Tue, 13 Oct 2015 23:40:02 +0200
Message-ID <qjfsB-28J-23@gated-at.bofh.it> (permalink)
References <qjf9g-1Mb-7@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org, Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Oct 13 21:32:28 2015
Old-Return-Path <piotr@ozarowski.pl>
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 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -6.1
Mail-Followup-To debian-python@lists.debian.org, Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
X-Operating-System Debian GNU/Linux (3.16.0-4-amd64)
User-Agent Mutt/1.5.23 (2014-03-12)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/12967
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20151013213209.GI15907@sar0.p1otr.com
Approved robomod@news.nic.it
Lines 33
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 13 Oct 2015 23:32:09 +0200
X-Original-Message-ID <20151013213209.GI15907@sar0.p1otr.com>
X-Original-References <20151013211617.GC19737@an3as.eu>
Xref csiph.com linux.debian.maint.python:7656

Show key headers only | View raw


[Andreas Tille, 2015-10-13]
> I: pybuild base:170: cd /build/python-pyfasta-0.5.2/.pybuild/pythonX.Y_3.4/build; python3.4 -m nose.
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.057s
> 
> OK
> 
> 
> The directory tests/ is definitely not empty.  Any idea why the tests
> are not run?

because I think running tests from package's root directory does more
harm than good

try with:

export PYBUILD_TEST_ARGS={dir}/tests

if these tests do not need 2to3 or check last example on
https://wiki.debian.org/Python/Pybuild

> I also would like to get advise what to do with /usr/bin/pyfasta which
> is a simple wrapper call script.  I tend to simply drop it from
> python-pyfasta and leave it in python3-pyfasta exclusively but would
> like to hear opinions about this strategy.

I do either that or provide new binary package (f.e. if it also gets
additional dependencies)
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

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


Thread

Python-pyfasta: How to run nosetests and what to do with duplicated  binary Andreas Tille <andreas@an3as.eu> - 2015-10-13 23:20 +0200
  Re: Python-pyfasta: How to run nosetests and what to do with  duplicated binary Piotr Ożarowski <piotr@debian.org> - 2015-10-13 23:40 +0200
    pybuild: passing {dir}/tests to nose/pytest by default duplicated  binary Piotr Ożarowski <piotr@debian.org> - 2015-10-14 13:30 +0200
      Re: pybuild: passing {dir}/tests to nose/pytest by default  duplicated binary Barry Warsaw <barry@debian.org> - 2015-10-14 16:20 +0200
        Re: pybuild: passing {dir}/tests to nose/pytest by default  duplicated binary Piotr Ożarowski <piotr@debian.org> - 2015-10-14 16:30 +0200
          Re: pybuild: passing {dir}/tests to nose/pytest by default  duplicated binary Barry Warsaw <barry@debian.org> - 2015-10-14 17:10 +0200
            Re: pybuild: passing {dir}/tests to nose/pytest by default Piotr Ożarowski <piotr@debian.org> - 2015-10-14 17:20 +0200
      Re: pybuild: passing {dir}/tests to nose/pytest by default duplicated binary Nikolaus Rath <Nikolaus@rath.org> - 2015-10-14 18:20 +0200

csiph-web