[MacPorts] #59900: Install of youtube-dl requires multiple Python modules of various versions

MacPorts noreply at macports.org
Tue Dec 31 00:46:10 UTC 2019

#59900: Install of youtube-dl requires multiple Python modules of various versions
  Reporter:  spmundi      |      Owner:  ryandesign
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.2
Resolution:               |   Keywords:
      Port:  youtube-dl   |

Comment (by kencu):

 We do have two competing influences here to try to optimize. On the one
 hand, we should try to minimize install volume. So if any old python would
 suffice, we should not be overly picky about which one is used. On the
 other hand, for ReproducibleBuilds, we like to fully specify every detail
 of the build, including the exact python used. It's a balance, but when in
 doubt, we error to the side of ReproducibleBuilds, as that is usually
 safer and easier to debug.

 I have also thought that it would be useful if MacPorts might be able
 specify a floor version of a certain port, like python >= 3.5 for example,
 and then assess somehow to see what is installed on a given system, and
 use it if it's new enough, otherwise install something if it is not new
 enough. That might solve a lot of what you're noticing.

 So far, we don't have that capability written into MacPorts, however, and
 as it is a step in the opposite direction to ReproducibleBuilds we may not
 get much purchase on the idea as a whole.

 If you install youtube-dl with the python37 variant you'll solve most of
 your frustration -- please just do that, I suggest.

Ticket URL: <https://trac.macports.org/ticket/59900#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list