Debian Bug report logs - #955070
python-doc8: FTBFS with Sphinx 2.4: AttributeError: 'Sphinx' object has no attribute 'info'

version graph

Package: src:python-doc8; Maintainer for src:python-doc8 is Debian OpenStack <team+openstack@tracker.debian.org>;

Reported by: Lucas Nussbaum <lucas@debian.org>

Date: Fri, 27 Mar 2020 14:57:44 UTC

Severity: serious

Tags: ftbfs

Found in version python-doc8/0.8.0-4

Done: Thomas Goirand <zigo@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian OpenStack <team+openstack@tracker.debian.org>:
Bug#955070; Package src:python-doc8. (Fri, 27 Mar 2020 14:57:46 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Debian OpenStack <team+openstack@tracker.debian.org>. (Fri, 27 Mar 2020 14:57:46 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Lucas Nussbaum <lucas@debian.org>
To: submit@bugs.debian.org
Subject: python-doc8: FTBFS with Sphinx 2.4: AttributeError: 'Sphinx' object has no attribute 'info'
Date: Fri, 27 Mar 2020 15:51:01 +0100
Source: python-doc8
Version: 0.8.0-4
Severity: important
Tags: ftbfs
User: python-modules-team@lists.alioth.debian.org
Usertags: sphinx2.4

Hi,

python-doc8 fails to build with Sphinx 2.4, currently available in
experimental.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: Command not found
> py3versions: no X-Python3-Version in control file, using supported versions
> python3 -m sphinx -b html doc/source debian/python-doc8-doc/usr/share/doc/python-doc8-doc/html
> Running Sphinx v2.4.3
> making output directory... done
> 
> Exception occurred:
>   File "/usr/lib/python3/dist-packages/oslosphinx/__init__.py", line 76, in builder_inited
>     app.info('Using openstack theme from %s' % theme_dir)
> AttributeError: 'Sphinx' object has no attribute 'info'
> The full traceback has been saved in /tmp/sphinx-err-5atu6wdk.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_sphinxdoc] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/03/26/python-doc8_0.8.0-4_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@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.



Severity set to 'serious' from 'important' Request was from Dmitry Shachnev <mitya57@debian.org> to control@bugs.debian.org. (Wed, 15 Apr 2020 10:09:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian OpenStack <team+openstack@tracker.debian.org>:
Bug#955070; Package src:python-doc8. (Mon, 20 Apr 2020 07:09:02 GMT) (full text, mbox, link).


Acknowledgement sent to Jordan Justen <jljusten@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian OpenStack <team+openstack@tracker.debian.org>. (Mon, 20 Apr 2020 07:09:02 GMT) (full text, mbox, link).


Message #12 received at 955070@bugs.debian.org (full text, mbox, reply):

From: Jordan Justen <jljusten@gmail.com>
To: 955070@bugs.debian.org
Subject: possible fix with new upstream location and 0.8.1-rc3 release
Date: Mon, 20 Apr 2020 00:07:49 -0700
[Message part 1 (text/plain, inline)]
I opened a merge request in salsa to potentially help fix this bug:

https://salsa.debian.org/openstack-team/libs/python-doc8/-/merge_requests/1

It seems like the python-oslosphinx package is causing the FTBFS,
since it's not compatible with Sphinx 2.4.

I found a new upstream location for doc8, but they only had an rc3 for
a new release. The rc3 release did not depend on oslosphinx, and
therefore, the package was able to build.

Looking at `apt showpkg python3-doc8`, I wasn't able to find a
specific package to test against the new python3-doc8 build.

If this looks like the right direction to fix the FTBFS, I can upload
a build to debian.mentors.net if that would be helpful.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Thomas Goirand <zigo@debian.org>:
You have taken responsibility. (Sat, 25 Apr 2020 22:21:07 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Sat, 25 Apr 2020 22:21:07 GMT) (full text, mbox, link).


Message #17 received at 955070-done@bugs.debian.org (full text, mbox, reply):

From: Thomas Goirand <zigo@debian.org>
To: 955070-done@bugs.debian.org
Subject: Bug was in python3-oslosphinx
Date: Sun, 26 Apr 2020 00:17:25 +0200
Bug was in python3-oslosphinx



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 24 May 2020 07:29:40 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Sep 20 13:04:40 2022; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.