[Debian-med-packaging] Bug#802867: Again problems to find pyqi module by python-biom-format

Andreas Tille andreas at an3as.eu
Tue Oct 27 07:35:10 UTC 2015


Hi,

the problem discussed in bug #742691 (message 55)[1] seems to be back in
the latest version of python-biom-format.  I intended to fix bug  #802867
by the latest upstream version but was again running into

make[2]: Leaving directory '/build/python-biom-format-2.1.5+dfsg/doc'
DEB_BUILD_OPTIONS= pybuild -s custom -p 2.7 --test --test-args 'pyqi make-bash-completion \
    --command-config-module biom.interfaces.optparse.config \
    --driver-name biom -o debian/bash-completion'
I: pybuild base:170: pyqi make-bash-completion \
    --command-config-module biom.interfaces.optparse.config \
    --driver-name biom -o debian/bash-completion
Traceback (most recent call last):
  File "/usr/bin/pyqi", line 184, in <module>
    optparse_main(cmd_obj, argv[1:])
  File "/usr/lib/python2.7/dist-packages/pyqi/core/interfaces/optparse/__init__.py", line 275, in optparse_main
    result = optparse_cmd(local_argv[1:])
  File "/usr/lib/python2.7/dist-packages/pyqi/core/interface.py", line 39, in __call__
    cmd_result = self.CmdInstance(**cmd_input)
  File "/usr/lib/python2.7/dist-packages/pyqi/core/command.py", line 137, in __call__
    result = self.run(**kwargs)
  File "/usr/lib/python2.7/dist-packages/pyqi/commands/make_bash_completion.py", line 80, in run
    cfg_mod = _get_cfg_module(cfg_mod_path)
  File "/usr/lib/python2.7/dist-packages/pyqi/commands/make_bash_completion.py", line 23, in _get_cfg_module
    mod = importlib.import_module(desc)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named interfaces.optparse.config
E: pybuild pybuild:262: test: plugin custom failed with: exit code=1: pyqi make-bash-completion \
    --command-config-module biom.interfaces.optparse.config \
    --driver-name biom -o debian/bash-completion
debian/rules:23: recipe for target 'override_dh_auto_build' failed


To enable more simple inspection of the problem I moved the
python-biom-format packaging from SVN to Git:

   git://anonscm.debian.org/debian-med/python-biom-format.git

Any help to track this down would be welcome.

Kind regards

         Andreas.


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742691#55
   
-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list