[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build test failure for python-easydev



Hi Piotr,

On Wed, Jan 16, 2019 at 10:34:07AM +0100, Piotr Ożarowski wrote:
> > pkg_resources.DistributionNotFound: The 'easydev' distribution was not found and is required by the application
> 
> there are many ways to fix it (by creating egg-info data during build,
> not only during install stage), but if upstream is updating __version__
> in each version, then definitely the best option is to patch out lines
> 23-31 from easydev/__init__.py file (i.e. not use pkg_resources)

Thanks for the hint.  I decided for the removal of lines 23-31.
Unfortunately this did not brought me way further:

   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


Also here I have no idea what to do next.

Kind regards

      Andreas.

-- 
http://fam-tille.de


Reply to: