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


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

running tests against installed version of package

From Brian May <brian@linuxpenguins.xyz>
Newsgroups linux.debian.maint.python
Subject running tests against installed version of package
Date 2016-03-25 08:20 +0100
Message-ID <rguch-6J2-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

By default pybuild runs tests I think using the source tree.

However I have a package where the tests require the entry points from
setup.py to be configured, the tests fail without this.

So what is the appropriate way to modify debian/rules to get the tests
to run from the installed version with the entry points available?

This is:

Vcs-Git: git://anonscm.debian.org/python-modules/packages/apscheduler.git
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/apscheduler.git

(I considered moving this to become DPMTs maintained, however it appears
the original package maintainer is still interested; so the above
repository may not stay)

See #807797

I filled an uptream bug report before I realized what the problem is:

https://bitbucket.org/agronholm/apscheduler/issues/114/lookuperror-no-trigger-by-the-name-date

Thanks
-- 
Brian May <brian@linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/

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


Thread

running tests against installed version of package Brian May <brian@linuxpenguins.xyz> - 2016-03-25 08:20 +0100
  Re: running tests against installed version of package Ben Finney <ben+debian@benfinney.id.au> - 2016-03-25 11:50 +0100
    Re: running tests against installed version of package Brian May <bam@debian.org> - 2016-03-26 03:50 +0100
      Re: running tests against installed version of package Brian May <bam@debian.org> - 2016-03-26 04:10 +0100
        Re: running tests against installed version of package Ben Finney <ben+debian@benfinney.id.au> - 2016-03-26 04:20 +0100
      Re: running tests against installed version of package Ben Finney <ben+debian@benfinney.id.au> - 2016-03-26 04:10 +0100
  Re: running tests against installed version of package Barry Warsaw <barry@debian.org> - 2016-03-25 23:20 +0100
    Re: running tests against installed version of package Brian May <bam@debian.org> - 2016-03-26 04:00 +0100
      Re: running tests against installed version of package Barry Warsaw <barry@debian.org> - 2016-03-31 19:00 +0200
  Re: running tests against installed version of package Brian May <brian@linuxpenguins.xyz> - 2016-03-27 07:20 +0200
    egg-info executable files Brian May <bam@debian.org> - 2016-03-27 07:30 +0200
      Re: egg-info executable files Ben Finney <ben+debian@benfinney.id.au> - 2016-03-27 08:50 +0200
  Re: running tests against installed version of package Thomas Goirand <zigo@debian.org> - 2016-04-01 00:00 +0200
    Re: running tests against installed version of package Piotr Ożarowski <piotr@debian.org> - 2016-04-01 00:20 +0200
      Re: running tests against installed version of package Thomas Goirand <zigo@debian.org> - 2016-04-02 14:00 +0200
        Re: running tests against installed version of package Piotr Ożarowski <piotr@debian.org> - 2016-04-02 23:00 +0200
    Re: running tests against installed version of package Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-02 10:10 +0200
      Re: running tests against installed version of package Brian May <bam@debian.org> - 2016-04-03 03:40 +0200
        Re: running tests against installed version of package Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-03 04:50 +0200
          Re: running tests against installed version of package Brian May <bam@debian.org> - 2016-04-03 05:00 +0200
      Re: running tests against installed version of package Thomas Goirand <zigo@debian.org> - 2016-04-06 00:30 +0200
        Re: running tests against installed version of package Piotr Ożarowski <piotr@debian.org> - 2016-04-06 11:00 +0200

csiph-web