Skip to content

may be pydotplus would be sufficient? #2494

Closed
@yarikoptic

Description

@yarikoptic

Summary

nipype depends on both pydot and pydotplus packages, with pydot versioned so not available e.g. on debian stable. but internally it seems to use neither of them directly:

$> git grep pydot
doc/users/install.rst:    'doc': ['Sphinx>=1.4', 'matplotlib', 'pydotplus', 'pydot>=1.2.3'],
nipype/info.py:    'pydotplus',
nipype/info.py:    'pydot>=%s' % PYDOT_MIN_VERSION,
nipype/info.py:    'doc': ['Sphinx>=1.4', 'numpydoc', 'matplotlib', 'pydotplus', 'pydot>=1.2.3'],
nipype/pipeline/engine/utils.py:    nx.drawing.nx_pydot.write_dot(pklgraph, simple_dot)
requirements.txt:pydotplus
requirements.txt:pydot>=1.2.3
rtd_requirements.txt:pydotplus
rtd_requirements.txt:pydot>=1.2.3

so is it just for networkx? shouldn't networkx then depend appropriately and nipype not declare any special relationship with pydot?

Thanks in advance for clarification

Actual behavior

Expected behavior

How to replicate the behavior

Script/Workflow details

Please put URL to code or code here (if not too long).

Platform details:

Please paste the output of: python -c "import nipype; print(nipype.get_info()); print(nipype.__version__)"

Execution environment

Choose one

  • Container [Tag: ???]
  • My python environment inside container [Base Tag: ???]
  • My python environment outside container

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions