-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[new release] ocamlgraph_gtk and ocamlgraph (2.0.0) #17344
Conversation
CHANGES: - port to dune and opam 2.0 - ❗ opam package now split into two packages: ocamlgraph and ocamlgraph_gtk - [WeakTopological] fixed incorrect use of generic hash tables (backtracking/ocamlgraph#99, Tomáš Dacík) - [Oper] fixed transitive_reduction (backtracking/ocamlgraph#91) - fix incorrect uses of polymorphic equality (Steffen Smolka, Boris Yakobowski) - [Coloring] fixed generation of OCamlDoc documentation (contributed by Earnestly) - ❗ [Coloring] functions now fail if the graph is directed - ❗ [Coloring] now uses a single, global exception [NoColoring] - [Coloring] new function two_color to 2-color a graph (or fail) - ❗ [Fixpoint] Take initial labeling of nodes into account (Johannes Kloos)
Please do not merge, even if CI passes. (We still need to check with the Frama-C team is this is fine for them.) |
Commit: 7d6c312 @backtracking has posted 30 contributions. ☀️ All lint checks passed 7d6c312
☀️ Installability check (+2)
|
The Travis CI build failed with OCaml 4.09 with the following error:
Is this something I can do anything about? |
Do you know if conf-gnomecanvas can be made compatible with freebsd? |
I just tested locally and there is a |
There is only a weird failure on the tests:
Should we add |
It's not clear to me why this fails; it is already added as a test dependency in 4461cfc. |
I did a bit of digging here and it seems to be because the |
I added a constraint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of constraint suggestions. The alternative, notwithstanding an update to the graphics packages, is to add "ocamlfind" {with-test}
, but it's a shame to switch to Dune and still actively depend on ocamlfind!
packages/dose3/dose3.5.0.1/opam
Outdated
@@ -26,7 +26,7 @@ remove: [ | |||
] | |||
depends: [ | |||
"ocaml" | |||
"ocamlgraph" {>= "1.8.6"} | |||
"ocamlgraph" {>= "1.8.6" & <= "1.8.8"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be better to allow the possibility of a 1.8.x patch release and make this:
"ocamlgraph" {>= "1.8.6" & <= "1.8.8"} | |
"ocamlgraph" {>= "1.8.6" & < "2.0.0"} |
(and others, if you agree)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
depends: [ | ||
"ocaml" {>= "4.03.0"} | ||
"stdlib-shims" | ||
"dune" {>= "2.0"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"dune" {>= "2.0"} | |
"dune" {>= "2.0" & !with-test | >= "2.8"} |
This fixes the issue with the graphics
package (which at present means ocamlgraph.2.0.0
can't be installed with --with-test
on 4.08 and earlier)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
"lablgtk" | ||
"conf-gnomecanvas" | ||
"ocamlgraph" | ||
"dune" {>= "2.0"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"dune" {>= "2.0"} | |
"dune" {>= "2.0" & !with-test | >= "2.8"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
Many thanks @dra27 for all these suggestions. You have to pardon me for my inexperience with dune
and opam
packaging; I'm relatively new to these things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem at all! The graphics/Dune thing is an unusual corner-case anyway. It's lovely to have ocamlgraph ported to build with Dune (having maintained patches for it in opam for quite a while!)
I will wait for the big CI to run, but I think this is now good to merge |
The CI runs look good. Thank you all very much |
CHANGES:
(Replace generic hash table by functorial in WeakTopological backtracking/ocamlgraph#99, Tomáš Dacík)
(contributed by Earnestly)