[Debian-pan-maintainers] Packaging pytango 9.2.0

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Mon Aug 29 20:30:43 BST 2016


Hello, I just built your package with sbuild and I got this error

I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
tango (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: tango (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tango
Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/loader.py", line 462, in _find_test_path
    package = self._get_module_from_name(name)
  File "/usr/lib/python3.5/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tango/__init__.py", line 181, in <module>
    from .attribute_proxy import AttributeProxy, get_attribute_proxy
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tango/attribute_proxy.py", line 30, in <module>
    from .green import result, submit, get_green_mode, get_wait_default_value
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tango/green.py", line 34, in <module>
    from .tango_gevent import get_global_executor as get_gevent_executor
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tango/tango_gevent.py", line 16, in <module>
    import six
ImportError: No module named 'six'


----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
dh_auto_test: pybuild --test -i python{version} -p 3.5 returned exit code 13
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--------------------------------------------------------------------------------
Build finished at 2016-08-29T18:56:44Z


You should add python3-six to the build-dep ;)


Cheers

Frederic



More information about the Debian-pan-maintainers mailing list