[Debian-med-packaging] Help needed to upgrade sphinxcontrib-autoprogram

Andreas Tille andreas at an3as.eu
Mon Mar 26 17:21:37 UTC 2018


Hi,

I tried to upgrade sphinxcontrib-autoprogram to the latest upstream
version.  I pushed the status I've got to Git.  When trying to build I
get:

...
test_make_rst (sphinxcontrib.autoprogram.AutoprogramDirectiveTestCase)
Alt least it shouldn't raise errors during making RST string. ... ERROR
test_import_object (sphinxcontrib.autoprogram.UtilTestCase) ... ok

======================================================================
ERROR: test_make_rst (sphinxcontrib.autoprogram.AutoprogramDirectiveTestCase)
Alt least it shouldn't raise errors during making RST string.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/sphinxcontrib-autoprogram-0.1.4/sphinxcontrib/autoprogram.py", line 391, in test_make_rst
    list(self.directive.make_rst())
  File "/build/sphinxcontrib-autoprogram-0.1.4/sphinxcontrib/autoprogram.py", line 155, in make_rst
    parser = import_object(import_name or '__undefined__')
  File "/build/sphinxcontrib-autoprogram-0.1.4/sphinxcontrib/autoprogram.py", line 132, in import_object
    raise ImportError("No module named {}".format(module_name))
ImportError: No module named cli

----------------------------------------------------------------------
Ran 6 tests in 0.003s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=6 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=6 errors=1 failures=0>
...


Any idea what might be wrong here?

Thanks for any help

       Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list