dev-python/nbsphinx-0.2.14 is the only version of that package currently in portage, but it fails to work with >=dev-python/sphinx-1.7 because according to https://sphinx.readthedocs.io/en/master/extdev/index.html#deprecated-apis the Sphinx.status_iterator() method was deprecated in Sphinx 1.6 and removed in 1.7. This causes bugs like bug #657066 and bug #669462: File "/usr/lib64/python3.6/site-packages/nbsphinx.py", line 1177, in html_collect_pages for file in app.status_iterator(files, 'copying linked files... ', AttributeError: 'Sphinx' object has no attribute 'status_iterator' https://github.com/spatialaudio/nbsphinx/commit/f8543afc78c5c6f4aeb24db23f64 updates nbsphinx to work with recent versions of Sphinx. It is included in nbsphinx releases starting with 0.2.15. https://github.com/spatialaudio/nbsphinx/releases lists 0.3.5 as the latest release, and 0.2.18 as the latest 0.2.x release. So I would aim for one of these unless there are any compatibility concerns forcing us to 0.2.15. It might make sense to add a a RDEPEND to nbsphinx-0.2.14.ebuild which forces that old version to depend on <dev-python/sphinx-1.7, so that people don't break their nbsphinx by upgrading sphinx without upgrading nbsphinx.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51e582a10ee77236f6bf6301ab3ac0fd1070c61c commit 51e582a10ee77236f6bf6301ab3ac0fd1070c61c Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2018-12-25 13:46:00 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2018-12-25 13:57:08 +0000 dev-python/nbsphinx: version bump. Drop python-2 dependency. Reported-By: Juergen Rose Suggested-By: François Bissey, Martin von Gagern Closes: https://bugs.gentoo.org/670956 Closes: https://bugs.gentoo.org/669462 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Benda Xu <heroxbd@gentoo.org> dev-python/nbsphinx/Manifest | 1 + dev-python/nbsphinx/nbsphinx-0.4.1.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+)