tarides / opam-monorepo

Assemble dune workspaces to build your project and its dependencies as a whole
ISC License
130 stars 27 forks source link

Fix sort order of `avoid-versions` #360

Closed Leonidas-from-XIV closed 1 year ago

Leonidas-from-XIV commented 1 year ago

Previously the solver discarded everything in the back of the list, thus not only avoiding the avoid-version packages but effectively removing them from the candidate set. Now we keep the groups of packages consecutive which makes the solver pick them if there is no other option, while still trying to avoid them if other options are available.

Leonidas-from-XIV commented 1 year ago

Closing due to the fix not making a difference and the additional test not providing much value.