[MacPorts] #43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -----------------------+------------------------ Reporter: aronnax@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: py-ipython -----------------------+------------------------ IPython Notebook depends on pandoc for exporting notebooks as HTML or other formats: http://ipython.org/ipython-doc/stable/install/install.html#dependencies- for-nbconvert-converting-notebooks-to-various-formats The attached patch adds pandoc to depends_run. -- Ticket URL: <https://trac.macports.org/ticket/43667> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+----------------------- Reporter: aronnax@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py-ipython | -------------------------+----------------------- Comment (by aronnax@…): The only downside is that pandoc itself adds 29 dependencies (mostly Haskell libraries). Is that OK? -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+----------------------- Reporter: aronnax@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py-ipython | -------------------------+----------------------- Comment (by sean@…): Replying to [comment:1 aronnax@…]:
The only downside is that pandoc itself adds 29 dependencies (mostly Haskell libraries). Is that OK?
I don't see why this has to be a runtime dependency. In the link you posted, ipython docs acknowledge that it's not a dependency and suggest installing pandoc via a package manager. -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+----------------------- Reporter: aronnax@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py-ipython | -------------------------+----------------------- Comment (by aronnax@…): Replying to [comment:2 sean@…]:
Replying to [comment:1 aronnax@…]:
The only downside is that pandoc itself adds 29 dependencies (mostly Haskell libraries). Is that OK?
I don't see why this has to be a runtime dependency. In the link you posted, ipython docs acknowledge that it's not a dependency and suggest installing pandoc via a package manager.
Yes, it's optional. This way, the user would not have to research how to obtain pandoc. -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py-ipython | -------------------------+-------------------------------- Changes (by mf2k@…): * owner: akitada@… => macports-tickets@… Comment: This port is no longer maintained. See #43692. -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py-ipython | -------------------------+-------------------------------- Comment (by mf2k@…): @aronnax: Sounds reasonable to me. Go ahead and commit your patch. -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: py-ipython | -------------------------+-------------------------------- Changes (by aronnax@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:5 mf2k@…]:
@aronnax: Sounds reasonable to me. Go ahead and commit your patch.
Thank you. Fixed in r121665. -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: py-ipython | -------------------------+-------------------------------- Comment (by dixiao@…): Replying to [comment:3 aronnax@…]:
Yes, it's optional. This way, the user would not have to research how to obtain pandoc.
Without pandoc dependency, `port rdeps py34-ipython +notebook' yields 22 dependencies. With pandoc, the number of dependencies shoots up to 112! I don't think an average user expects to see 112 dependencies when all he/she wants is to install ipython. This change is completely unnecessary, and is precisely what drives users from macports to homebrew. -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: py-ipython | -------------------------+-------------------------------- Comment (by aronnax@…): I'm sorry if I acted prematurely. mf2k's imperative tone led me to think that the discussion was closed. I'm looking at the [[https://packages.debian.org/sid/ipython-notebook- common|corresponding Debian package]], which lists pandoc as a [[https://www.debian.org/doc/debian-policy/ch- relationships.html#s-binarydeps|'Suggests:' dependency]]. The closest approximation to this that we could do with MacPorts is add a {{{notes}}} entry to the variant. Would that satisfy everyone? -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: py-ipython | -------------------------+-------------------------------- Comment (by sean@…): Yes, I am in favor of just the suggestion from notes and keeping the dependencies down. aronnax, do you want to co-maintain this port with me? -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: py-ipython | -------------------------+-------------------------------- Comment (by aronnax@…): Replying to [comment:9 sean@…]:
Yes, I am in favor of just the suggestion from notes and keeping the dependencies down.
OK, fixed in r121677.
aronnax, do you want to co-maintain this port with me?
Sure. Would you like to be the first or the second maintainer? -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: py-ipython | -------------------------+-------------------------------- Comment (by sean@…): Replying to [comment:10 aronnax@…]:
Replying to [comment:9 sean@…]:
Yes, I am in favor of just the suggestion from notes and keeping the dependencies down.
OK, fixed in r121677.
Sweet, thanks!
aronnax, do you want to co-maintain this port with me?
Sure. Would you like to be the first or the second maintainer?
Second is fine with me unless you have an objection. -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: py-ipython | -------------------------+-------------------------------- Comment (by aronnax@…): Replying to [comment:11 sean@…]:
Second is fine with me unless you have an objection.
My only objection is due to laziness. We adopted the port in r121678. -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#43667: py-ipython: +notebook should depend on pandoc to support exporting notebooks as HTML -------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: py-ipython | -------------------------+-------------------------------- Comment (by dixiao@…): Replying to [comment:10 aronnax@…]:
Replying to [comment:9 sean@…]:
Yes, I am in favor of just the suggestion from notes and keeping the dependencies down.
OK, fixed in r121677.
Thank you.
aronnax, do you want to co-maintain this port with me?
Sure. Would you like to be the first or the second maintainer?
And you are much appreciated for maintaining this port. -- Ticket URL: <https://trac.macports.org/ticket/43667#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts