Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10952
| From | Ole Streicher <olebole@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Problem with pybuild and pytest (repost) |
| Date | 2018-09-28 16:10 +0200 |
| Message-ID | <wD1CV-1i9-3@gated-at.bofh.it> (permalink) |
| References | <wCWjT-6z6-5@gated-at.bofh.it> <wCZKN-d6-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Piotr Ożarowski <piotr@debian.org> writes: >> >From the pybuild wiki page, I learned to do instead the override: >> >> export PYBUILD_TEST_ARGS=-k "not figure and not online" >> >> However, then the tests are not found anymore and the test step fails: > > 1) remove HOME line from debian/rules, pybuild sets one > 2) you have ".." in PYBUILD_TEST_ARGS (in the git repo) - remove it > 3) for python2.7 (and 2.7 only, 3.X works fine), cmdclassd somehow > disables distutils' settings from .pydistutils.cfg (probably > overwrites too much or doesn't invoke parent's methods). > It works for 3.X because "from sunpy.tests.setup_command import SunPyTest" > fails on 3.X and thus SunPyTest is not used at all. > Disabling SunPyTest fixes it for me Thanks. Just removing the cmdclass option did the trick, and it works now. Best Ole
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Problem with pybuild and pytest (repost) Ole Streicher <olebole@debian.org> - 2018-09-28 10:30 +0200
Re: Problem with pybuild and pytest (repost) Piotr Ożarowski <piotr@debian.org> - 2018-09-28 14:10 +0200
Re: Problem with pybuild and pytest (repost) Ole Streicher <olebole@debian.org> - 2018-09-28 16:10 +0200
csiph-web