Summary: | dev-python/nbconvert-4.2.0 - Could not import extension nbsphinx | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Marius Brehler <marius.brehler+gentoo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, sci |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
nbsphinx-0.2.8.ebuild |
Description
Juergen Rose
2016-05-18 07:20:26 UTC
'USE=-doc emerge -v1 nbconvert' works. I have to apologize for this trouble. It was on my list, but was somehow lost. Currently preparing an nbsphinx ebuild which I am trying to push ASAP. I'll send a pull request to https://github.com/gentoo/gentoo as soon as Github has solved their issues. I would really appreciate if someone with pandoc on his system could test my patch before it gets merged (currently havn't pandoc installed). Sorry again. Here the PR https://github.com/gentoo/gentoo/pull/1526 Jürgen, could you try Marius' patch? (In reply to Marius Brehler from comment #4) > Here the PR https://github.com/gentoo/gentoo/pull/1526 I can't find any dev-python/nbsphinx, which is referenced by https://github.com/gentoo/gentoo/pull/1526/commits/039019a66391a03a0af1c8373cebb9c3d3375757 Therefore the patch of Marius, does not work as expected: root@lynx:/usr/local/portage/dev-python/nbconvert(84)# diff -U2 nbconvert-4.2.0.ebuild_orig nbconvert-4.2.0-r1.ebuild --- nbconvert-4.2.0.ebuild_orig 2016-05-22 19:20:54.000000000 +0200 +++ nbconvert-4.2.0-r1.ebuild 2016-05-23 20:37:32.588406009 +0200 @@ -32,4 +32,5 @@ dev-python/jupyter_client[${PYTHON_USEDEP}] dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/nbsphinx[${PYTHON_USEDEP}] app-text/pandoc ) root@lynx:/usr/local/portage/dev-python/nbconvert(88)# emerge -pvuND world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-misc/spice-gtk-0.31::gentoo [0.30-r1::gentoo] USE="dbus gstreamer gtk3 introspection policykit python sasl usbredir vala webdav -libressl% -lz4 -pulseaudio -smartcard -static-libs" PYTHON_SINGLE_TARGET="python2_7 -python3_4" PYTHON_TARGETS="python2_7 python3_4" 0 KiB [ebuild R ] dev-python/nbconvert-4.2.0::gentoo [4.2.0::science] USE="doc* {-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5 (-python3_3%)" 0 KiB Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: dev-java/asm:4 (dev-java/asm-5.1:4/4::gentoo, ebuild scheduled for merge) conflicts with =dev-java/asm-5.0.3:4 required by (dev-java/jython-2.7.0:2.7/2.7::gentoo, installed) ^ ^^^^^ sci-mathematics/maxima:0 (sci-mathematics/maxima-5.38.1:0/0::gentoo, ebuild scheduled for merge) conflicts with ~sci-mathematics/maxima-5.35.1[ecls] required by (sci-mathematics/sage-7.1:0/0::sage-on-gentoo, installed) ^ ^^^^^^ dev-python/PyQt4:0 (dev-python/PyQt4-4.12_pre1605051544:0/0::gentoo, ebuild scheduled for merge) conflicts with <dev-python/PyQt4-4.12_pre1604171631[X,svg,python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] required by (sci-visualization/veusz-1.24:0/0::gentoo, installed) ^ ^^^^^^^^^^^^^^^^^^ !!! The following update has been skipped due to unsatisfied dependencies: dev-python/nbconvert:0 emerge: there are no ebuilds to satisfy "dev-python/nbsphinx[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]". (dependency required by "dev-python/nbconvert-4.2.0-r1::local" [ebuild]) (In reply to Juergen Rose from comment #6) > (In reply to Marius Brehler from comment #4) > > Here the PR https://github.com/gentoo/gentoo/pull/1526 > > I can't find any dev-python/nbsphinx, which is referenced by > https://github.com/gentoo/gentoo/pull/1526/commits/ > 039019a66391a03a0af1c8373cebb9c3d3375757 > > > Therefore the patch of Marius, does not work as expected: > > [..] The pull request covers 2 commits. It seems you applied the patch, which modifies the dependencies of nbconvert. However, also commit https://github.com/gentoo/gentoo/pull/1526/commits/3d6f3678070614f040bd2903276d7bdb4873a30b is necessary. This one creates the new ebuild for nbsphinx. I would request if you could test again, applying both patches. (In reply to Marius Brehler from comment #7) > (In reply to Juergen Rose from comment #6) > > (In reply to Marius Brehler from comment #4) > > > Here the PR https://github.com/gentoo/gentoo/pull/1526 > > > > I can't find any dev-python/nbsphinx, which is referenced by > > https://github.com/gentoo/gentoo/pull/1526/commits/ > > 039019a66391a03a0af1c8373cebb9c3d3375757 > > > > > > Therefore the patch of Marius, does not work as expected: > > > > [..] > > The pull request covers 2 commits. It seems you applied the patch, which > modifies the dependencies of nbconvert. However, also commit > https://github.com/gentoo/gentoo/pull/1526/commits/ > 3d6f3678070614f040bd2903276d7bdb4873a30b is necessary. This one creates the > new ebuild for nbsphinx. I would request if you could test again, applying > both patches. Corresponding to the second commit I was able with the attached ebuild to emerge nbconvert with the doc USE flag. Created attachment 435138 [details]
nbsphinx-0.2.8.ebuild
Thanks for testing Jürgen. David, I updated the PR (fixing the license and use flags), so that it can hopefully get merged. what is the status? Is it fixed? This bug actually fixed with the following, merged commit: commit ee117277ed8a34308cac7886265a1a44a69e91a8 Author: Marius Brehler <marbre@linux.sungazer.de> AuthorDate: Mon May 23 17:21:06 2016 +0200 Commit: David Seifert <soap@gentoo.org> CommitDate: Sun May 29 16:53:40 2016 +0200 dev-python/nbconvert: Add missing dependency Gentoo-Bug: 583382 Package-Manager: portage-2.2.28 |