Dependency untangling riddle

Bill Cole macportsusers-20171215 at
Wed Feb 5 18:17:35 UTC 2020

On 5 Feb 2020, at 12:48, Vincent Habchi wrote:

> Hi again,
> this time, I have another interesting quandary. When I try to install 
> LyX, I get this message:
>> Air > sudo port install LyX +python38
> --->  Computing dependencies for LyX
> The following dependencies will be installed:
>  […]
>  py37-beaker
>  py37-mako
>  py37-markdown
>  py37-markupsafe
>  py37-setuptools
>  python37
>  […]
> Continue? [Y/n]:
> So basically I have a long list of dependents to install, one (or 
> more) of which itself/themselves depend(s) on python 3.7, at least in 
> its/their default version(s). Since I don’t want to have python3.7 
> installed alongside python3.8, how can I find out (easily) which 
> port(s) in the list is/are requiring python37?

Get a full dependency tree:

     port rdeps LyX +python38

It looks to me like it comes in via both the LLVM/Clang build toolchain 
and ImageMagick.

Bill Cole
bill at or billcole at
(AKA @grumpybozo and many * addresses)
Not Currently Available For Hire

More information about the macports-users mailing list