Afaik nbconvert always dependend on pandoc for certain types of output 
(like PDF). Just like LaTeX (which is also a dependency), users have to 
have typesetting tools installed.



On Sunday, August 20, 2017 at 9:51:37 AM UTC+2, François Bissey wrote:
>
> Hi all, 
>
> I am bit concerned by the new version of nbconvert released upstream 
> (5.2.1). 
> Sage currently uses 4.2.0 as a standard package. 
> nbconvert now uses pandoc which is an haskell package. 
> That’s what my upgrade path for nbconvert, from zero haskell on the 
> system, 
> looks like in Gentoo: 
> [ebuild  N    ~] dev-python/testpath-0.3.1::gentoo  USE="-doc {-test}" 
> PYTHON_TARGETS="python2_7 python3_4 python3_6 -python3_5" 90 KiB 
> [ebuild  N     ] dev-python/bleach-1.5.0::gentoo  USE="{-test}" 
> PYTHON_TARGETS="python2_7 python3_4 python3_6 (-pypy) (-pypy3) 
> (-python3_5)" 36 KiB 
> [ebuild  N     ] dev-lang/ghc-7.10.3:0/7.10.3::gentoo  USE="gmp -binary 
> -doc -ghcbootstrap -ghcmakebinary" 122,696 KiB 
> [ebuild  N     ] app-admin/haskell-updater-1.2.10::gentoo  26 KiB 
> [ebuild  N     ] dev-haskell/cabal-1.22.8.0:0/1.22.8.0::gentoo 
>  USE="-profile {-test}" 397 KiB 
> [ebuild  N     ] dev-haskell/transformers-0.4.3.0:0/0.4.3.0::gentoo 
>  USE="-doc -hscolour -profile" 0 KiB 
> [ebuild  N     ] dev-haskell/data-default-class-0.0.1:0/0.0.1::gentoo 
>  USE="-doc -hscolour -profile" 2 KiB 
> [ebuild  N     ] dev-haskell/syb-0.4.4:0/0.4.4::gentoo  USE="-doc 
> -hscolour -profile {-test}" 39 KiB 
> [ebuild  N     ] dev-haskell/old-locale-1.0.0.7:0/1.0.0.7::gentoo 
>  USE="-doc -hscolour -profile" 4 KiB 
> [ebuild  N     ] dev-haskell/stm-2.4.2:0/2.4.2::gentoo  USE="-doc 
> -hscolour -profile" 10 KiB 
> [ebuild  N     ] dev-haskell/binary-0.7.6.1:0/0.7.6.1::gentoo  USE="-doc 
> -hscolour -profile {-test}" 0 KiB 
> [ebuild  N     ] dev-haskell/zlib-0.5.4.2:0/0.5.4.2::gentoo  USE="-doc 
> -hscolour -profile" 125 KiB 
> [ebuild  N     ] dev-haskell/random-1.0.1.1-r1:0/1.0.1.1::gentoo 
>  USE="-doc -hscolour -profile" 9 KiB 
> [ebuild  N     ] dev-haskell/primitive-0.5.1.0:0/0.5.1.0::gentoo 
>  USE="-doc -hscolour -profile" 11 KiB 
> [ebuild  N     ] dev-haskell/dlist-0.7.1.2:0/0.7.1.2::gentoo  USE="-doc 
> -hscolour -profile {-test}" 7 KiB 
> [ebuild  N     ] 
> dev-haskell/extensible-exceptions-0.1.1.4:0/0.1.1.4::gentoo  USE="-doc 
> -hscolour -profile" 9 KiB 
> [ebuild  N     ] dev-haskell/base64-bytestring-1.0.0.1:0/1.0.0.1::gentoo 
>  USE="-doc -hscolour -profile {-test}" 9 KiB 
> [ebuild  N     ] dev-haskell/unix-compat-0.4.1.3:0/0.4.1.3::gentoo 
>  USE="-doc -hscolour -old-time -profile" 13 KiB 
> [ebuild  N     ] dev-haskell/digest-0.0.1.2:0/0.0.1.2::gentoo  USE="-doc 
> -hscolour -profile" 4 KiB 
> [ebuild  N     ] 
> dev-haskell/bytestring-builder-0.10.6.0.0:0/0.10.6.0.0::gentoo 
>  USE="-profile" 44 KiB 
> [ebuild  N     ] dev-haskell/utf8-string-0.3.8:0/0.3.8::gentoo  USE="-doc 
> -hscolour -profile" 9 KiB 
> [ebuild  N     ] dev-haskell/deepseq-generics-0.1.1.2:0/0.1.1.2::gentoo 
>  USE="-doc -hscolour -profile {-test}" 6 KiB 
> [ebuild  N     ] dev-haskell/text-1.2.2.1:0/1.2.2.1::gentoo  USE="-doc 
> -hscolour -profile {-test}" 147 KiB 
> [ebuild  N     ] dev-haskell/mtl-2.2.1-r1:0/2.2.1::gentoo  USE="-doc 
> -hscolour -profile" 16 KiB 
> [ebuild  N     ] dev-haskell/vector-0.10.12.3:0/0.10.12.3::gentoo 
>  USE="boundschecks -doc -hscolour -internalchecks -profile {-test} 
> -unsafechecks" 102 KiB 
> [ebuild  N     ] dev-haskell/old-time-1.1.0.3-r1:0/1.1.0.3::gentoo 
>  USE="-doc -hscolour -profile" 73 KiB 
> [ebuild  N     ] dev-haskell/sha-1.6.4.2:0/1.6.4.2::gentoo  USE="-doc -exe 
> -hscolour -profile {-test}" 2,652 KiB 
> [ebuild  N     ] dev-haskell/haddock-library-1.2.1:0/1.2.1::gentoo 
>  USE="-doc -hscolour -profile {-test}" 38 KiB 
> [ebuild  N     ] dev-haskell/async-2.0.1.4:0/2.0.1.4::gentoo  USE="-doc 
> -hscolour -profile {-test}" 9 KiB 
> [ebuild  N     ] 
> dev-haskell/data-default-instances-base-0.0.1:0/0.0.1::gentoo  USE="-doc 
> -hscolour -profile" 2 KiB 
> [ebuild  N     ] 
> dev-haskell/data-default-instances-dlist-0.0.1:0/0.0.1::gentoo  USE="-doc 
> -hscolour -profile" 2 KiB 
> [ebuild  N     ] 
> dev-haskell/data-default-instances-containers-0.0.1:0/0.0.1::gentoo 
>  USE="-doc -hscolour -profile" 2 KiB 
> [ebuild  N     ] 
> dev-haskell/data-default-instances-old-locale-0.0.1:0/0.0.1::gentoo 
>  USE="-doc -hscolour -profile" 2 KiB 
> [ebuild  N     ] dev-haskell/tf-random-0.5:0/0.5::gentoo  USE="-profile" 
> 19 KiB 
> [ebuild  N     ] dev-haskell/parsec-3.1.9-r1:0/3.1.9::gentoo  USE="-doc 
> -hscolour -profile {-test}" 29 KiB 
> [ebuild  N     ] dev-haskell/hashable-1.2.4.0:0/1.2.4.0::gentoo  USE="-doc 
> -hscolour -profile {-test}" CPU_FLAGS_X86="sse2 sse4_1" 24 KiB 
> [ebuild  N     ] dev-haskell/transformers-compat-0.4.0.4:0/0.4.0.4::gentoo 
>  USE="-doc -hscolour -profile" 12 KiB 
> [ebuild  N     ] dev-haskell/xml-1.3.13:0/1.3.13::gentoo  USE="-doc 
> -hscolour -profile" 12 KiB 
> [ebuild  N     ] dev-haskell/blaze-builder-0.4.0.1:0/0.4.0.1::gentoo 
>  USE="-doc -hscolour -profile {-test}" 56 KiB 
> [ebuild  N    ~] dev-haskell/cmark-0.5.5:0/0.5.5::gentoo  USE="-doc 
> -hscolour -profile {-test}" 166 KiB 
> [ebuild  N     ] dev-haskell/data-default-0.5.3:0/0.5.3::gentoo  USE="-doc 
> -hscolour -profile" 2 KiB 
> [ebuild  N    ~] dev-haskell/tagsoup-0.13.10:0/0.13.10::gentoo  USE="-doc 
> -download -hscolour -profile -testprog" 44 KiB 
> [ebuild  N     ] dev-haskell/juicypixels-3.2.5.3:0/3.2.5.3::gentoo 
>  USE="-doc -hscolour -mmap -profile" 114 KiB 
> [ebuild  N     ] dev-haskell/hslua-0.3.6.1:0/0.3.6.1::gentoo  USE="-doc 
> -hscolour -profile" 125 KiB 
> [ebuild  N     ] dev-haskell/zip-archive-0.2.3.7:0/0.2.3.7::gentoo 
>  USE="-doc -executable -hscolour -profile {-test}" 13 KiB 
> [ebuild  N     ] dev-haskell/filemanip-0.3.6.3:0/0.3.6.3::gentoo 
>  USE="-doc -hscolour -profile" 11 KiB 
> [ebuild  N     ] dev-haskell/regex-base-0.93.2-r1:0/0.93.2::gentoo 
>  USE="-doc -hscolour -profile" 9 KiB 
> [ebuild  N     ] dev-haskell/quickcheck-2.8.1:2/2.8.1::gentoo 
>  USE="template_haskell -doc -hscolour -profile {-test}" 39 KiB 
> [ebuild  N     ] 
> dev-haskell/unordered-containers-0.2.7.0:0/0.2.7.0::gentoo  USE="-debug 
> -doc -hscolour -profile {-test}" 30 KiB 
> [ebuild  N     ] dev-haskell/scientific-0.3.3.8:0/0.3.3.8::gentoo 
>  USE="bytestring-builder -doc -hscolour -profile {-test}" 19 KiB 
> [ebuild  N     ] dev-haskell/transformers-base-0.4.4:0/0.4.4::gentoo 
>  USE="orphaninstances -doc -hscolour -profile" 3 KiB 
> [ebuild  N     ] dev-haskell/blaze-markup-0.7.0.3:0/0.7.0.3::gentoo 
>  USE="-doc -hscolour -profile {-test}" 14 KiB 
> [ebuild  N     ] dev-haskell/exceptions-0.8.2.1:0/0.8.2.1::gentoo 
>  USE="-doc -hscolour -profile {-test}" 13 KiB 
> [ebuild  N     ] dev-haskell/network-2.4.1.2:0/2.4.1.2::gentoo  USE="-doc 
> -hscolour -profile {-test}" 138 KiB 
> [ebuild  N     ] dev-haskell/mmorph-1.0.6:0/1.0.6::gentoo  USE="-doc 
> -hscolour -profile" 7 KiB 
> [ebuild  N     ] dev-haskell/nats-1:0/1::gentoo  USE="hashable -profile" 6 
> KiB 
> [ebuild  N     ] 
> dev-haskell/regex-pcre-builtin-0.94.4.8.8.35:0/0.94.4.8.8.35::gentoo 
>  USE="-doc -hscolour -profile" 305 KiB 
> [ebuild  N     ] dev-haskell/blaze-html-0.8.1.1:0/0.8.1.1::gentoo 
>  USE="-doc -hscolour -profile {-test}" 75 KiB 
> [ebuild  N     ] dev-haskell/monad-control-1.0.1.0:0/1.0.1.0::gentoo 
>  USE="-doc -hscolour -profile" 11 KiB 
> [ebuild  N     ] dev-haskell/attoparsec-0.13.0.1:0/0.13.0.1::gentoo 
>  USE="-doc -hscolour -profile {-test}" 65 KiB 
> [ebuild  N     ] dev-haskell/http-4000.2.20:0/4000.2.20::gentoo 
>  USE="-conduit10 -doc -hscolour -network-uri -profile {-test}" 70 KiB 
> [ebuild  N     ] dev-haskell/temporary-1.2.0.4:0/1.2.0.4::gentoo 
>  USE="-doc -hscolour -profile" 6 KiB 
> [ebuild  N     ] dev-haskell/semigroups-0.16.2.2:0/0.16.2.2::gentoo 
>  USE="bytestring containers deepseq hashable text unordered-containers -doc 
> -hscolour -profile" 15 KiB 
> [ebuild  N     ] dev-haskell/aeson-0.9.0.1:0/0.9.0.1::gentoo  USE="-doc 
> -hscolour -profile {-test}" 151 KiB 
> [ebuild  N     ] dev-haskell/lifted-base-0.2.3.6-r2:0/0.2.3.6::gentoo 
>  USE="-doc -hscolour -profile {-test}" 12 KiB 
> [ebuild  N    ~] dev-haskell/highlighting-kate-0.6.3:0/0.6.3::gentoo 
>  USE="-doc -executable -hscolour -pcre-light -profile {-test}" 885 KiB 
> [ebuild  N     ] dev-haskell/void-0.7.1:0/0.7.1::gentoo  USE="-doc 
> -hscolour -profile -safe" 5 KiB 
> [ebuild  N    ~] dev-haskell/pandoc-types-1.17.0.4:0/1.17.0.4::gentoo 
>  USE="-doc -hscolour -profile {-test}" 22 KiB 
> [ebuild  N     ] dev-haskell/resourcet-1.1.7.4:0/1.1.7.4::gentoo 
>  USE="-doc -hscolour -profile {-test}" 12 KiB 
> [ebuild  N    ~] dev-haskell/doctemplates-0.1.0.2:0/0.1.0.2::gentoo 
>  USE="-doc -hscolour -profile {-test}" 6 KiB 
> [ebuild  N     ] dev-haskell/enclosed-exceptions-1.0.1.1:0/1.0.1.1::gentoo 
>  USE="-doc -hscolour -profile {-test}" 5 KiB 
> [ebuild  N    ~] dev-haskell/texmath-0.8.6.7:0/0.8.6.7::gentoo  USE="-doc 
> -executable -hscolour -network-uri -profile {-test}" 1,558 KiB 
> [ebuild  N     ] dev-haskell/conduit-1.2.6.6:0/1.2.6.6::gentoo  USE="-doc 
> -hscolour -profile {-test}" 48 KiB 
> [ebuild  N     ] dev-haskell/yaml-0.8.10.1:0/0.8.10.1::gentoo 
>  USE="unicode -doc -hscolour -no-exe -profile -system-libyaml {-test}" 72 
> KiB 
> [ebuild  N    ~] app-text/pandoc-1.18:0/1.18::gentoo  USE="-doc 
> -embed_data_files -hscolour -https -network-uri -profile {-test} 
> -trypandoc" 2,649 KiB 
> [ebuild  N    ~] dev-python/pandocfilters-1.4.1::gentoo 
>  PYTHON_TARGETS="python2_7 python3_4 python3_6 -python3_5" 14 KiB 
> [ebuild     U ~] dev-python/nbconvert-5.2.1::gentoo [4.3.0::gentoo] 
> USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 python3_6 
> -python3_5" 499 KiB 
>
> Some of these may gentoo specific but that’s still one heck 
> of a dependency tree unless we can run it without pandoc. 
> pandocfilters, the python bindings for pandoc is explicitly 
> listed in the requirement in nbconvert’s setup.py. 
>
> François

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to