Piotr Ożarowski <pi...@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