Repository navigation
Update pygraphviz - #8694
Update pygraphviz#8694
Conversation
|
@MridulS we may need your pixi-fu to figure out what needs to be done here! |
|
It is time for me to look into pixi a bit more. :) |
|
A quick update here - I did some experimentation based on the pixi docs which highlighted the likely cause of the environment resolution error we saw in 8e3a496 . My understanding of the situation is that indeed there were multiple places where a pygraphviz dependency was being specified - once via the Removing the latter (which included the installation of There are subsequent issues related to the legacy graphviz dependency which I'll continue iterating on here (see f02cddbd and afterwards), but the pixi env resolution issue should be resolved by b5b19a7 and af9cdf0 combined (I didn't want to squash them and force-push since this isn't my PR!) |
|
Okay, this is fully working now! There is one thorny issue re: pydot though... Pydot still has an implicit dependency on That's a separate discussion though - for this PR, I just went ahead and removed pydot from the optional dependencies so we could focus on the |
|
Here's a comparison of the pygraphviz-based gallery examples: pygraphviz 2.0 (this PR) | pygraphviz 1.14 (main). |
Pydot still has implicit graphviz dependency.
This reverts commit 6afd356.
|
WARNING: I forced push this, so make sure to I took the liberty of getting this one fully updated in preparation for pygraphviz 2.0. The biggest thing was to incorporate the pydot conditional test handling added in #8702 , which allowed me to revert some of the pydot-specific hacks I had put in place to get this running (see ce6dbb0 and d80c8ea specifically for the reversion of these hacks). I also went through and removed what mentions of explicitly needing graphviz installed1, which is no longer the case with pygraphviz 2.0. This PR (IMO) makes NX fully ready for the pygraphviz 2 release. The only thing that is still required is... pygraphviz 2.0 🙃 . I'll leave as draft now but as soon as pygraphviz 2.0 is out, we can update the A final bit of positive circumstantial evidence that things are working as expected, here are the gallery examples that depend on pygraphviz, generated with the pygraphviz rc without graphviz being installed in the CI environment. Footnotes
|
rossbar
left a comment
There was a problem hiding this comment.
We discussed this in the NX community meeting and the consensus was in favor of getting the pygraphviz 2.0 pin in for the networkx 3.7 release... so in this goes!
Uh oh!
There was an error while loading. Please reload this page.