Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643840 - dev-python/matplotlib-2.1.0-r1[doc] - ModuleNotFoundError: No module named 'sphinx_gallery'
Summary: dev-python/matplotlib-2.1.0-r1[doc] - ModuleNotFoundError: No module named 's...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL: https://github.com/matplotlib/matplot...
Whiteboard:
Keywords:
Depends on: 644002
Blocks:
  Show dependency tree
 
Reported: 2018-01-07 23:36 UTC by Martin von Gagern
Modified: 2018-01-24 07:38 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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