Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 643840

Summary: dev-python/matplotlib-2.1.0-r1[doc] - ModuleNotFoundError: No module named 'sphinx_gallery'
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: admin, alexandref75, nbowler, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/matplotlib/matplotlib/blob/v2.1.0/doc-requirements.txt
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 644002    
Bug Blocks:    

Description Martin von Gagern 2018-01-07 23:36:50 UTC
As stated in https://github.com/matplotlib/matplotlib/blob/v2.1.0/doc-requirements.txt building the documentation for matplotlib requires >=dev-python/sphinx-gallery-0.1.12. Without this the build will fail:

Exception occurred:
  File "conf.py", line 19, in <module>
    from sphinx_gallery.sorting import ExplicitOrder
ModuleNotFoundError: No module named 'sphinx_gallery'
The full traceback has been saved in …, if you want to report the issue to the developers.

I found this while writing bug 641624 comment 3.
Comment 1 Richard Li 2018-01-09 12:42:40 UTC
Same here
Comment 2 Larry the Git Cow gentoo-dev 2018-01-24 07:30:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55815c44c8b37c35947d760c32c1a9c347e9be6d

commit 55815c44c8b37c35947d760c32c1a9c347e9be6d
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2018-01-24 07:30:08 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2018-01-24 07:30:08 +0000

    dev-python/matplotlib: depend on doc? ( dev-python/sphinx-gallery )
    
    Bug: https://bugs.gentoo.org/643840
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-python/matplotlib/matplotlib-2.1.0-r2.ebuild | 253 ++++++++++++++++++++++
 dev-python/matplotlib/matplotlib-2.1.2-r1.ebuild | 255 +++++++++++++++++++++++
 2 files changed, 508 insertions(+)}
Comment 3 Andrey Grozin gentoo-dev 2018-01-24 07:38:12 UTC
commit 8ece2e128c8fe8040a230cb87dd7efb5292fee65 (HEAD -> master, origin/master, origin/HEAD)
Author: Andrey Grozin <grozin@gentoo.org>
Date:   Wed Jan 24 14:35:16 2018 +0700

    profiles/base/package.use.stable.mask: mask dev-python/matplotlib doc