[Debian-med-packaging] Build test failure for python-easydev

Andreas Tille tille at debian.org
Sun Jan 13 08:15:55 GMT 2019


Hi Afif,

On Sat, Jan 12, 2019 at 10:46:27PM -0500, Afif Elghraoui wrote:
> > Any idea how to fix this?
> 
> Looking at setup.cfg, it seems it either uses nosetests or pytest.

If I add python-pytest to Build-Depends I get:

   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:217: cd /build/python-easydev-0.9.37/.pybuild/cpython2_2.7_easydev/build; python2.7 -m pytest test
usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]
pytest.py: error: unrecognized arguments: --cov=easydev --cov-report=term-missing
  inifile: /build/python-easydev-0.9.37/setup.cfg
  rootdir: /build/python-easydev-0.9.37
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=4: cd /build/python-easydev-0.9.37/.pybuild/cpython2_2.7_easydev/build; python2.7 -m pytest test
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Any more hints?

Kind regards

       Andreas. 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list