Source: python-repoze.sphinx.autointerface
Version: 0.8-1
Severity: important
Tags: ftbfs
User: mity...@debian.org
Usertags: sphinx5.0

Hi,

python-repoze.sphinx.autointerface fails to build with Sphinx 5.0 and docutils 
0.18, both of which
are currently available in experimental.

Relevant part (hopefully):
>  debian/rules build
> dh build  --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:239: python3.9 setup.py config 
> running config
> I: pybuild base:239: python3.10 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:239: /usr/bin/python3.9 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_repoze.sphinx.autointerface/build/repoze
> copying repoze/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_repoze.sphinx.autointerface/build/repoze
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_repoze.sphinx.autointerface/build/repoze/sphinx
> copying repoze/sphinx/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_repoze.sphinx.autointerface/build/repoze/sphinx
> copying repoze/sphinx/autointerface.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_repoze.sphinx.autointerface/build/repoze/sphinx
> running egg_info
> writing repoze.sphinx.autointerface.egg-info/PKG-INFO
> writing dependency_links to 
> repoze.sphinx.autointerface.egg-info/dependency_links.txt
> writing namespace_packages to 
> repoze.sphinx.autointerface.egg-info/namespace_packages.txt
> writing requirements to repoze.sphinx.autointerface.egg-info/requires.txt
> writing top-level names to repoze.sphinx.autointerface.egg-info/top_level.txt
> reading manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt'
> adding license file 'LICENSE.txt'
> writing manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt'
> I: pybuild base:239: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_repoze.sphinx.autointerface/build/repoze
> copying repoze/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_repoze.sphinx.autointerface/build/repoze
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_repoze.sphinx.autointerface/build/repoze/sphinx
> copying repoze/sphinx/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_repoze.sphinx.autointerface/build/repoze/sphinx
> copying repoze/sphinx/autointerface.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_repoze.sphinx.autointerface/build/repoze/sphinx
> running egg_info
> writing repoze.sphinx.autointerface.egg-info/PKG-INFO
> writing dependency_links to 
> repoze.sphinx.autointerface.egg-info/dependency_links.txt
> writing namespace_packages to 
> repoze.sphinx.autointerface.egg-info/namespace_packages.txt
> writing requirements to repoze.sphinx.autointerface.egg-info/requires.txt
> writing top-level names to repoze.sphinx.autointerface.egg-info/top_level.txt
> reading manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt'
> adding license file 'LICENSE.txt'
> writing manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:239: python3.9 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing repoze.sphinx.autointerface.egg-info/PKG-INFO
> writing dependency_links to 
> repoze.sphinx.autointerface.egg-info/dependency_links.txt
> writing namespace_packages to 
> repoze.sphinx.autointerface.egg-info/namespace_packages.txt
> writing requirements to repoze.sphinx.autointerface.egg-info/requires.txt
> writing top-level names to repoze.sphinx.autointerface.egg-info/top_level.txt
> reading manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt'
> adding license file 'LICENSE.txt'
> writing manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt'
> running build_ext
> autointerface (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: autointerface (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: autointerface
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName
>     module = __import__(module_name)
>   File "/<<PKGBUILDDIR>>/repoze/sphinx/autointerface.py", line 3, in <module>
>     from sphinx.util import force_decode
> ImportError: cannot import name 'force_decode' from 'sphinx.util' 
> (/usr/lib/python3/dist-packages/sphinx/util/__init__.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: 
> python3.9 setup.py test 
> I: pybuild base:239: python3.10 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing repoze.sphinx.autointerface.egg-info/PKG-INFO
> writing dependency_links to 
> repoze.sphinx.autointerface.egg-info/dependency_links.txt
> writing namespace_packages to 
> repoze.sphinx.autointerface.egg-info/namespace_packages.txt
> writing requirements to repoze.sphinx.autointerface.egg-info/requires.txt
> writing top-level names to repoze.sphinx.autointerface.egg-info/top_level.txt
> reading manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt'
> adding license file 'LICENSE.txt'
> writing manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt'
> running build_ext
> autointerface (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: autointerface (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: autointerface
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>   File "/<<PKGBUILDDIR>>/repoze/sphinx/autointerface.py", line 3, in <module>
>     from sphinx.util import force_decode
> ImportError: cannot import name 'force_decode' from 'sphinx.util' 
> (/usr/lib/python3/dist-packages/sphinx/util/__init__.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: 
> python3.10 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.10" returned 
> exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/06/23/python-repoze.sphinx.autointerface_0.8-1_unstable_sphinx-exp.log

Please see [1] for Sphinx changelog and [2] for Docutils changelog.

Also see [3] for the list of deprecated/removed APIs in Sphinx and possible
alternatives to them.

In case you have questions, please Cc sph...@packages.debian.org on reply.

[1]: https://www.sphinx-doc.org/en/master/changes.html
[2]: 
https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.18.1:/RELEASE-NOTES.txt
[3]: 
https://www.sphinx-doc.org/en/master/extdev/deprecated.html#dev-deprecated-apis

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=sphinx5.0;users=mity...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx5.0&fusertaguser=mity...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

Reply via email to