Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10418

Bug#895849: sphinxcontrib-autoprogram: Incompatible with Sphinx 1.7

From Andreas Tille <andreas@an3as.eu>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#895849: sphinxcontrib-autoprogram: Incompatible with Sphinx 1.7
Date 2018-04-17 11:30 +0200
Message-ID <vFv61-2Of-1@gated-at.bofh.it> (permalink)
References <vFis9-2XZ-3@gated-at.bofh.it> <vFis9-2XZ-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#895849: sphinxcontrib-autoprogram: Incompatible with Sphinx 1.7 Andreas Tille <andreas@an3as.eu> - 2018-04-17 11:30 +0200
  Bug#895849: sphinxcontrib-autoprogram: Incompatible with Sphinx 1.7 Bas Couwenberg <sebastic@xs4all.nl> - 2018-04-17 11:40 +0200
    Bug#895849: sphinxcontrib-autoprogram: Incompatible with Sphinx 1.7 Andreas Tille <andreas@an3as.eu> - 2018-04-17 12:20 +0200
  Bug#895849: sphinxcontrib-autoprogram: Incompatible with Sphinx 1.7 Dmitry Shachnev <mitya57@debian.org> - 2018-04-18 16:40 +0200

csiph-web