refactor: plot the dependency graphs with an optional pydot - #351
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #351 +/- ##
=============================================
+ Coverage 74.770% 81.032% +6.262%
=============================================
Files 20 20
Lines 3266 3274 +8
=============================================
+ Hits 2442 2653 +211
+ Misses 824 621 -203
🚀 New features to boost your workflow:
|
pydotplus is a fork of pydot that has not been released since 2014, and is imported when pymake is imported. pydot provides the same interface, is maintained, and is what the networkx dot interface is written against.
pydot is only needed to plot dependency graphs, which also needs the graphviz binaries that pip cannot install. The import is guarded so pymake imports without it, and plotting reports what to install.
jdhughes-dev
force-pushed
the
swap-pydot
branch
from
September 7, 2026 14:35
f021a81 to
410b724
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pydotplus is a fork of pydot that has not been released since 2014, and was imported when pymake was imported. pydot provides the same interface, is maintained, and is what the networkx dot interface is written against.
pydot is now an optional dependency, installed with
pip install mfpymake[plot]. Plotting a dependency graph also needs the graphviz binaries, which pip cannot install, so an install no longer carries a dependency it may not be able to use. make_plots and to_pydot report what to install when pydot is missing.