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

MacPorts noreply at macports.org
Mon Dec 30 23:27:04 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 spmundi):

 Surely modules should not depend on minor versions of python should they?

 You have a situation here where I would happily just accept the python38
 module, but because **gobject-introspection** (referenced somewhere in
 the dependency tree) has explicit dependencies on
 **py37-mako** and **py37-markdown**,  I am forced to drag in the whole
 of python37 as well (I still don't know where **py37-beaker** is
 referenced)


 I realise these interdependencies become a whole rat's nest
 and that python has its own method of resolving dependencies
 (another boondoggle with conda, pip, pyenv, pipenv .....
 another mess) which also complicates the issue.
 But surely modules should not depend on minor releases
 of python (unless it has to be >= a certain minor release).

 Are you telling me that youtube-dl explicitly invokes, eg
     **/opt/local/bin/markdown_py-3.7**
 or that it knows how to reference python modules deep within this path:
     **/opt/local/Library/Frameworks/Python/Versions/3.7/lib/python3.7
 /site-packages/markdown**
 even when the current version of python selected by "port select"
 is 3.6 (or 3.8 or 2.7)?

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


More information about the macports-tickets mailing list