-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add Graph tests #237
Comments
Test from #242
|
Can't add tests due to needing a commandline Graphviz install. |
Maybe @christopher-dG can look into building an artifact for that. Catlab.jl should really ship with the binary (@jpfairbanks) |
I don’t know how to make that work, but given binary builder’s reputation it seems possible. What do we need to do to make it happen? |
Someone who knows a bit of binary magic. |
That would be great to have, and would help us both with CI. |
If binary builder proves problematic, another option is it appears available through Anaconda. Maybe it can be pulled in using Conda.jl? |
Conda is scary and leads to maintenance issues over time. I'd 100% try to avoid that if possible. |
I'll have a crack at building it with BB today. Looks straightforward unless there are some dependencies we don't yet have. |
Awesome I’ll ping @epatters to make sure he is on the lookout for any Catlab PRs |
Wait... Graphviz_jll is already a thing. Have you guys tried that? |
fastest binary building in the west! |
It wasn’t working/sustainable at the time we adopted the current set up. Not sure if that has changed. I’d be happy to modernize that if necessary/feasible |
What was wrong with it? |
We’ll have to wait for the west coast to wake up to ask Evan :) |
@jpfairbanks Having not used jll's before I found this helpful: https://github.com/JuliaBinaryWrappers/Graphviz_jll.jl |
Maybe the issue is that Catlab wants to call more of the executables than are wrapped? It seems to want to call any of:
see |
I just ran Graphviz's Here's the full list of new files in
|
Awesome, thanks for updating that! Hopefully with that change it will be a small tweak to the Catlab to get this working now. |
So the history is: originally I used GraphViz.jl, which provides bindings to the Graphviz C API, but it became unmaintained and I couldn't port it myself, so then I switched to just calling Graphviz through its CLI, assuming that the user had it installed. Great to hear that somebody has built Graphviz using BinaryBuilder! Looks like its only a few months old. Once it supplies all the right binaries we can definitely switch to that at Catlab. |
Nice, I'll get that PR up to Yggdrasil shortly. |
😂 😂 JuliaPackaging/Yggdrasil#351 has been open for 5 months, look at the patches 😂 And it doesn't even build for Windows because the entire Graphviz is completely messed up |
Yeah... I may have choked a bit when I saw the existing builder 😅 |
@christopher-dG @giordano Thanks for all your help with this! With the new jll setup this will fix our issues here. |
I think we will also need a
Graph
call update for an API change on Catlab master soon as in:https://github.com/mehalter/Petri.jl/pull/32/files
The text was updated successfully, but these errors were encountered: