[Python-modules-team] Bug#895880: sphinxcontrib-websupport: autopkgtest fails since sphinx 1.7.2-1 (RemovedInSphinx17Warning)

Paul Gevers elbrus at debian.org
Tue Apr 17 08:11:57 BST 2018


Source: sphinxcontrib-websupport
Version: 1.0.1-2
Severity: normal
User: debian-ci at lists.debian.org
Usertags: progression

Since the upload of sphinx version 1.7.2-1, your autopkgtest¹ fails with
the error copied below. Looking at the name of the module it complains
about, I think that the module RemovedInSphinx17Warning was removed in
sphinx version 1.7.x.

The error appears in the test code, but maybe it is also used in the
regular code (I didn't check). In that case this bug is more severe than
*normal*.

In any case, could you please fix your autopkgtests?

Paul

¹ https://ci.debian.net/packages/s/sphinxcontrib-websupport

==================================== ERRORS
====================================
________________ ERROR collecting tests/test_searchadapters.py
_________________
ImportError while importing test module
'/tmp/autopkgtest-lxc.xun9timu/downtmp/autopkgtest_tmp/tests/test_searchadapters.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_searchadapters.py:16: in <module>
    from test_websupport import sqlalchemy_missing
tests/test_websupport.py:26: in <module>
    from util import rootdir, tempdir
tests/util.py:30: in <module>
    from sphinx.deprecation import RemovedInSphinx17Warning
E   ImportError: cannot import name 'RemovedInSphinx17Warning'
__________________ ERROR collecting tests/test_websupport.py
___________________
ImportError while importing test module
'/tmp/autopkgtest-lxc.xun9timu/downtmp/autopkgtest_tmp/tests/test_websupport.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_websupport.py:26: in <module>
    from util import rootdir, tempdir
tests/util.py:30: in <module>
    from sphinx.deprecation import RemovedInSphinx17Warning
E   ImportError: cannot import name 'RemovedInSphinx17Warning'
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection
!!!!!!!!!!!!!!!!!!!!
=========================== 2 error in 0.80 seconds
============================

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20180417/0c311af1/attachment-0001.sig>


More information about the Python-modules-team mailing list