Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make graphviz/pydot an optional dependency #238

Open
pavelzw opened this issue Feb 13, 2025 · 0 comments
Open

Make graphviz/pydot an optional dependency #238

pavelzw opened this issue Feb 13, 2025 · 0 comments

Comments

@pavelzw
Copy link
Contributor

pavelzw commented Feb 13, 2025

graphviz is not really necessary for production use cases and brings in a lot of dependencies. I think making it optional would be nice.

❯ pixi tree pydiverse-pipedag
└── pydiverse-pipedag 0.9.8 
    ├── attrs 25.1.0 
...
    ├── click 8.1.8 
...
    ├── cryptography 44.0.1 
...
    ├── msgpack-python 1.0.8 
...
    ├── networkx 3.3 
    ├── packaging 24.2 
    ├── pandas 2.2.3 
...
    ├── pyarrow 13.0.0 
...
    ├── pydot 3.0.4 
    │   ├── graphviz 12.2.1 
    │   │   ├── __osx  (*)
    │   │   ├── adwaita-icon-theme 47.0 
    │   │   │   ├── __unix  (*)
    │   │   │   ├── hicolor-icon-theme 0.17 
    │   │   │   └── librsvg 2.58.4 
    │   │   │       ├── __osx  (*)
    │   │   │       ├── cairo 1.18.2 
    │   │   │       │   ├── __osx  (*)
    │   │   │       │   ├── fontconfig 2.15.0 
    │   │   │       │   │   ├── __osx  (*)
    │   │   │       │   │   ├── freetype 2.12.1 
    │   │   │       │   │   │   ├── libpng 1.6.46 
    │   │   │       │   │   │   │   ├── __osx  (*)
    │   │   │       │   │   │   │   └── libzlib 1.3.1 (*)
    │   │   │       │   │   │   └── libzlib 1.3.1 (*)
    │   │   │       │   │   ├── libexpat 2.6.4 (*)
    │   │   │       │   │   └── libzlib 1.3.1 (*)
    │   │   │       │   ├── fonts-conda-ecosystem 1 
    │   │   │       │   │   └── fonts-conda-forge 1 
    │   │   │       │   │       ├── font-ttf-dejavu-sans-mono 2.37 
    │   │   │       │   │       ├── font-ttf-inconsolata 3.000 
    │   │   │       │   │       ├── font-ttf-source-code-pro 2.038 
    │   │   │       │   │       └── font-ttf-ubuntu 0.83 
    │   │   │       │   ├── freetype 2.12.1 (*)
    │   │   │       │   ├── icu 75.1 
    │   │   │       │   │   └── __osx  (*)
    │   │   │       │   ├── libcxx 19.1.7 (*)
    │   │   │       │   ├── libexpat 2.6.4 (*)
    │   │   │       │   ├── libglib 2.82.2 
    │   │   │       │   │   ├── __osx  (*)
    │   │   │       │   │   ├── libffi 3.4.2 (*)
    │   │   │       │   │   ├── libiconv 1.17 
    │   │   │       │   │   ├── libintl 0.23.1 
    │   │   │       │   │   │   ├── __osx  (*)
    │   │   │       │   │   │   └── libiconv 1.17 (*)
    │   │   │       │   │   ├── libzlib 1.3.1 (*)
    │   │   │       │   │   └── pcre2 10.44 
    │   │   │       │   │       ├── __osx  (*)
    │   │   │       │   │       ├── bzip2 1.0.8 (*)
    │   │   │       │   │       └── libzlib 1.3.1 (*)
    │   │   │       │   ├── libpng 1.6.46 (*)
    │   │   │       │   ├── libzlib 1.3.1 (*)
    │   │   │       │   └── pixman 0.44.2 
    │   │   │       │       ├── __osx  (*)
    │   │   │       │       └── libcxx 19.1.7 (*)
    │   │   │       ├── gdk-pixbuf 2.42.12 
    │   │   │       │   ├── __osx  (*)
    │   │   │       │   ├── libglib 2.82.2 (*)
    │   │   │       │   ├── libintl 0.23.1 (*)
    │   │   │       │   ├── libjpeg-turbo 3.0.0 
    │   │   │       │   ├── libpng 1.6.46 (*)
    │   │   │       │   └── libtiff 4.7.0 
    │   │   │       │       ├── __osx  (*)
    │   │   │       │       ├── lerc 4.0.0 
    │   │   │       │       │   └── libcxx 19.1.7 (*)
    │   │   │       │       ├── libcxx 19.1.7 (*)
    │   │   │       │       ├── libdeflate 1.23 
    │   │   │       │       │   └── __osx  (*)
    │   │   │       │       ├── libjpeg-turbo 3.0.0 (*)
    │   │   │       │       ├── liblzma 5.6.4 (*)
    │   │   │       │       ├── libwebp-base 1.5.0 
    │   │   │       │       │   └── __osx  (*)
    │   │   │       │       ├── libzlib 1.3.1 (*)
    │   │   │       │       └── zstd 1.5.6 (*)
    │   │   │       ├── libglib 2.82.2 (*)
    │   │   │       ├── libxml2 2.13.5 
    │   │   │       │   ├── __osx  (*)
    │   │   │       │   ├── icu 75.1 (*)
    │   │   │       │   ├── libiconv 1.17 (*)
    │   │   │       │   ├── liblzma 5.6.4 (*)
    │   │   │       │   └── libzlib 1.3.1 (*)
    │   │   │       └── pango 1.56.1 
    │   │   │           ├── __osx  (*)
    │   │   │           ├── cairo 1.18.2 (*)
    │   │   │           ├── fontconfig 2.15.0 (*)
    │   │   │           ├── fonts-conda-ecosystem 1 (*)
    │   │   │           ├── freetype 2.12.1 (*)
    │   │   │           ├── fribidi 1.0.10 
    │   │   │           ├── harfbuzz 10.2.0 
    │   │   │           │   ├── __osx  (*)
    │   │   │           │   ├── cairo 1.18.2 (*)
    │   │   │           │   ├── freetype 2.12.1 (*)
    │   │   │           │   ├── graphite2 1.3.13 
    │   │   │           │   │   └── libcxx 19.1.7 (*)
    │   │   │           │   ├── icu 75.1 (*)
    │   │   │           │   ├── libcxx 19.1.7 (*)
    │   │   │           │   ├── libexpat 2.6.4 (*)
    │   │   │           │   ├── libglib 2.82.2 (*)
    │   │   │           │   └── libzlib 1.3.1 (*)
    │   │   │           ├── libexpat 2.6.4 (*)
    │   │   │           ├── libglib 2.82.2 (*)
    │   │   │           ├── libpng 1.6.46 (*)
    │   │   │           └── libzlib 1.3.1 (*)
    │   │   ├── cairo 1.18.2 (*)
    │   │   ├── fonts-conda-ecosystem 1 (*)
    │   │   ├── gdk-pixbuf 2.42.12 (*)
    │   │   ├── gtk3 3.24.43 
    │   │   │   ├── __osx  (*)
    │   │   │   ├── atk-1.0 2.38.0 
    │   │   │   │   ├── __osx  (*)
    │   │   │   │   ├── libcxx 19.1.7 (*)
    │   │   │   │   ├── libglib 2.82.2 (*)
    │   │   │   │   └── libintl 0.23.1 (*)
    │   │   │   ├── cairo 1.18.2 (*)
    │   │   │   ├── epoxy 1.5.10 
    │   │   │   ├── fribidi 1.0.10 (*)
    │   │   │   ├── gdk-pixbuf 2.42.12 (*)
    │   │   │   ├── glib-tools 2.82.2 
    │   │   │   │   ├── __osx  (*)
    │   │   │   │   ├── libglib 2.82.2 (*)
    │   │   │   │   └── libintl 0.23.1 (*)
    │   │   │   ├── harfbuzz 10.2.0 (*)
    │   │   │   ├── hicolor-icon-theme 0.17 (*)
    │   │   │   ├── libasprintf 0.23.1 
    │   │   │   │   ├── __osx  (*)
    │   │   │   │   └── libcxx 19.1.7 (*)
    │   │   │   ├── libexpat 2.6.4 (*)
    │   │   │   ├── libgettextpo 0.23.1 
    │   │   │   │   ├── __osx  (*)
    │   │   │   │   ├── libiconv 1.17 (*)
    │   │   │   │   └── libintl 0.23.1 (*)
    │   │   │   ├── libglib 2.82.2 (*)
    │   │   │   ├── libintl 0.23.1 (*)
    │   │   │   ├── liblzma 5.6.4 (*)
    │   │   │   ├── libzlib 1.3.1 (*)
    │   │   │   └── pango 1.56.1 (*)
    │   │   ├── gts 0.7.6 
    │   │   │   ├── libcxx 19.1.7 (*)
    │   │   │   └── libglib 2.82.2 (*)
    │   │   ├── libcxx 19.1.7 (*)
    │   │   ├── libexpat 2.6.4 (*)
    │   │   ├── libgd 2.3.3 
    │   │   │   ├── __osx  (*)
    │   │   │   ├── fontconfig 2.15.0 (*)
    │   │   │   ├── fonts-conda-ecosystem 1 (*)
    │   │   │   ├── freetype 2.12.1 (*)
    │   │   │   ├── icu 75.1 (*)
    │   │   │   ├── libexpat 2.6.4 (*)
    │   │   │   ├── libiconv 1.17 (*)
    │   │   │   ├── libjpeg-turbo 3.0.0 (*)
    │   │   │   ├── libpng 1.6.46 (*)
    │   │   │   ├── libtiff 4.7.0 (*)
    │   │   │   ├── libwebp-base 1.5.0 (*)
    │   │   │   └── libzlib 1.3.1 (*)
    │   │   ├── libglib 2.82.2 (*)
    │   │   ├── librsvg 2.58.4 (*)
    │   │   ├── libwebp-base 1.5.0 (*)
    │   │   ├── libzlib 1.3.1 (*)
    │   │   └── pango 1.56.1 (*)
    │   ├── pyparsing 3.2.1 
    │   │   └── python 3.11.11 (*)
    │   ├── python 3.11.11 (*)
    │   └── python_abi 3.11 (*)
    ├── pynng 0.8.1 
    │   ├── __osx  (*)
    │   ├── cffi 1.17.1 (*)
    │   ├── libcxx 19.1.7 (*)
    │   ├── mbedtls 3.3.0 
    │   │   └── libcxx 19.1.7 (*)
    │   ├── nng 1.6.0 
    │   │   ├── libcxx 19.1.7 (*)
    │   │   └── mbedtls 3.3.0 (*)
    │   ├── python 3.11.11 (*)
    │   ├── python_abi 3.11 (*)
    │   └── sniffio 1.3.1 
    │       └── python 3.11.11 (*)
    ├── pyparsing 3.2.1 (*)
    ├── python 3.11.11 (*)
    ├── python-box 7.3.2 
    │   ├── __osx  (*)
    │   ├── pip 24.2 
    │   │   ├── python 3.11.11 (*)
    │   │   ├── setuptools 72.2.0 
    │   │   │   └── python 3.11.11 (*)
    │   │   └── wheel 0.45.1 
    │   │       └── python 3.11.11 (*)
    │   ├── python 3.11.11 (*)
    │   ├── python_abi 3.11 (*)
    │   ├── ruamel.yaml 0.18.10 
    │   │   ├── __osx  (*)
    │   │   ├── python 3.11.11 (*)
    │   │   ├── python_abi 3.11 (*)
    │   │   └── ruamel.yaml.clib 0.2.8 
    │   │       ├── __osx  (*)
    │   │       ├── python 3.11.11 (*)
    │   │       └── python_abi 3.11 (*)
    │   └── toml 0.10.2 
    │       └── python 3.11.11 (*)
    ├── pyyaml 6.0.2 
    │   ├── __osx  (*)
    │   ├── python 3.11.11 (*)
    │   ├── python_abi 3.11 (*)
    │   └── yaml 0.2.5 
    ├── sqlalchemy 2.0.32 
    │   ├── __osx  (*)
    │   ├── greenlet 3.1.1 
    │   │   ├── __osx  (*)
    │   │   ├── libcxx 19.1.7 (*)
    │   │   ├── python 3.11.11 (*)
    │   │   └── python_abi 3.11 (*)
    │   ├── python 3.11.11 (*)
    │   ├── python_abi 3.11 (*)
    │   └── typing-extensions 4.12.2 
    │       └── typing_extensions 4.12.2 
    │           └── python 3.11.11 (*)
    ├── structlog 24.4.0 
    │   └── python 3.11.11 (*)
    └── typing-extensions 4.12.2 (*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant