[Python-modules-team] Bug#955082: pexpect: FTBFS with Sphinx 2.4: AttributeError: 'Sphinx' object has no attribute 'info'

Lucas Nussbaum lucas at debian.org
Fri Mar 27 14:50:13 GMT 2020


Source: pexpect
Version: 4.6.0-1
Severity: important
Tags: ftbfs
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx2.4

Hi,

pexpect fails to build with Sphinx 2.4, currently available in
experimental.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
> pyversions: missing debian/pyversions file, fall back to supported versions
> py3versions: no X-Python3-Version in control file, using supported versions
> dh_auto_build
> I: pybuild base:217: /usr/bin/python2 setup.py build 
> /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
>   warnings.warn(msg)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/expect.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/pty_spawn.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/pxssh.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/fdpexpect.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/screen.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/run.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/replwrap.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/FSM.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/popen_spawn.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/_async.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/ANSI.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/spawnbase.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> copying pexpect/bashrc.sh -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pexpect/build/pexpect
> I: pybuild base:217: /usr/bin/python3.7 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/expect.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/pty_spawn.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/pxssh.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/fdpexpect.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/screen.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/run.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/replwrap.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/FSM.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/popen_spawn.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/_async.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/ANSI.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/spawnbase.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> copying pexpect/bashrc.sh -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pexpect/build/pexpect
> /usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
>   warnings.warn(msg)
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/expect.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/pty_spawn.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/pxssh.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/fdpexpect.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/screen.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/run.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/replwrap.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/FSM.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/popen_spawn.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/_async.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/ANSI.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/spawnbase.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> copying pexpect/bashrc.sh -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pexpect/build/pexpect
> /usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
>   warnings.warn(msg)
> PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/html
> Running Sphinx v2.4.3
> 
> Exception occurred:
>   File "/<<PKGBUILDDIR>>/doc/sphinxext/github.py", line 149, in setup
>     app.info('Initializing GitHub plugin')
> AttributeError: 'Sphinx' object has no attribute 'info'
> The full traceback has been saved in /tmp/sphinx-err-tvbjm15r.log, if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error message can be provided next time.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> make[1]: *** [debian/rules:27: override_dh_auto_build] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/03/26/pexpect_4.6.0-1_unstable_sphinx243.log

Please see [1] for Sphinx changelog, which may give a hint of what changes in
Sphinx caused this error.

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

Sphinx 2.4 is going to be uploaded to unstable in a couple of weeks. When that
happens, the severity of this bug will be bumped to serious.

In case you have questions, please Cc sphinx at packages.debian.org on reply.

[1]: https://www.sphinx-doc.org/en/2.0/changes.html
[2]: https://www.sphinx-doc.org/en/2.0/extdev/deprecated.html#dev-deprecated-apis

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list