[Debian-med-packaging] Bug#895849: sphinxcontrib-autoprogram: Incompatible with Sphinx 1.7

Andreas Tille andreas at an3as.eu
Tue Apr 17 10:25:36 BST 2018


Hi,

On Mon, Apr 16, 2018 at 09:48:28PM +0200, Bas Couwenberg wrote:
> Source: sphinxcontrib-autoprogram
> Version: 0.1.2-1

I applied the suggested patch to version 0.1.4 since I wanted to upload
this version anyway.  However, when trying to build the package in Git[1]
I get a test suite failure:

...
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 398, in test_make_rst
    list(self.directive.make_rst())
  File "/build/sphinxcontrib-autoprogram-0.1.4/sphinxcontrib/autoprogram.py", line 162, in make_rst
    parser = import_object(import_name or '__undefined__')
  File "/build/sphinxcontrib-autoprogram-0.1.4/sphinxcontrib/autoprogram.py", line 139, 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>
...


I can confirm that there is no such module cli.  Before I report the
issue upstream I'd like to ask for confirmation that it is not just me
overlooking something.

Thanks for any help

      Andreas.

[1] https://salsa.debian.org/med-team/sphinxcontrib-autoprogram

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list