[openstack-dev] pydotplus (taskflow) vs pydot-ng (fuel)

Joshua Harlow harlowja at fastmail.com
Wed Aug 3 15:57:59 UTC 2016


If wha'ts most alive is pydot-ng that's fine with me.

One of the reasons taskflow went with pydotplus is that it's used in the 
larger networkx graph library (which taskflow happens to use for its 
internal workflow graph):

https://github.com/networkx/networkx/blob/master/networkx/drawing/nx_pydot.py

Which if u see in the taskflow code is just what's being called into:

https://github.com/openstack/taskflow/blob/master/taskflow/types/graph.py#L59

But if pydot-ng is more 'healthy' I'm fine with adjusting a few things 
and using that (and submitting a PR to networkx to get them to use 
pydot-ng).

If fuel used networkx @ https://github.com/networkx/networkx that'd be 
even better (in general if anyone is using graphs in there app, networkx 
seems to be the best library for that kind of stuff that currently 
exists) ;)

-Josh

Igor Kalnitsky wrote:
> Hi Thomas,
>
> If I'm not mistaken, pydot-ng [1] has been made by ex-fueler in order
> to overcome some limitations of pydot ( and do not change much. If
> pydotplus is alive project and do the same thing, I vote for using it
> in Fuel.
>
> Thanks,
> Igor
>
>
> [1]: https://pypi.io/project/pydot-ng/
>
> On Tue, Aug 2, 2016 at 4:44 PM, Thomas Goirand<zigo at debian.org>  wrote:
>> Hi,
>>
>> Fuel uses pydot-ng, and (at least) taskflow uses pydotplus. I believe
>> both aren't using pydot because that's dead upstream.
>>
>> Could we have a bit of consistency here, and have one or the other
>> component to switch, so we could get rid of one more package that does
>> the same thing in downstream distros?
>>
>> Cheers,
>>
>> Thomas Goirand (zigo)
>>
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list