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

MacPorts noreply at macports.org
Tue Dec 31 00:55:13 UTC 2019

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

 * status:  assigned => closed
 * resolution:   => wontfix


 In MacPorts, each X.Y version of Python is its own separate world. We do
 not have a feature where a port could specify that it requires a
 particular minimum version of Python. If a port requires Python but does
 not care at all how old it is, it can just use the macOS-provided copy of
 Python, but if the port has ''any'' version restrictions on Python
 whatsoever (for example if it requires Python 3, or if it requires Python
 2.6 or later), it must specify ''exactly'' which X.Y version it wants.
 Also, any port that requires any Python module not provided in macOS must
 specify which X.Y version of Python shall provide those modules.

 Often in these cases the port will offer variants so the user can choose,
 and the default variant should be reasonable—for example the latest stable
 version. But when a new version of Python is released, everyone must
 notice that this has occurred and update every port's default variant.

 youtube-dl offers these variants, and has already updated its default
 variant to python38. Probably some of its dependencies have not, and
 should do so. If you notice ports that are defaulting to a python3 older
 than python38, you can file tickets or pull requests to get them updated
 to python38.

 There's nothing to fix about the youtube-dl port so I'll close this
 ticket. If you have further questions about why MacPorts does what it does
 or have suggestions about how we should change things, please write to our
 mailing lists.

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

More information about the macports-tickets mailing list