[Debian-med-packaging] Build test failure for python-easydev
Andreas Tille
andreas at an3as.eu
Wed Jan 9 16:21:58 GMT 2019
Hi Afif,
I've upgraded python-easydev[1] but the test fails:
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 unittest discover -v.
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
I: pybuild base:217: cd /build/python-easydev-0.9.37/.pybuild/cpython3_3.7_easydev/build; python3.7 -m unittest discover -v.
easydev (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: easydev (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: easydev
Traceback (most recent call last):
File "/usr/lib/python3.7/unittest/loader.py", line 468, in _find_test_path
package = self._get_module_from_name(name)
File "/usr/lib/python3.7/unittest/loader.py", line 375, in _get_module_from_name
__import__(name)
File "/build/python-easydev-0.9.37/.pybuild/cpython3_3.7_easydev/build/easydev/__init__.py", line 30, in <module>
version = pkg_resources.require("easydev")[0].version
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 898, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 784, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'easydev' distribution was not found and is required by the application
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /build/python-easydev-0.9.37/.pybuild/cpython3_3.7_easydev/build; python3.7 -m unittest discover -v.
Any idea how to fix this?
Kind regards
Andreas.
[1] https://salsa.debian.org/med-team/python-easydev
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list