diagrams / diagrams-pandoc

A pandoc filter to express diagrams inline using the haskell EDSL diagrams.
BSD 3-Clause "New" or "Revised" License
37 stars 9 forks source link

Version 0.3's exe depends on version 0.2 #10

Closed wayofthepie closed 8 years ago

wayofthepie commented 8 years ago

Is there a reason for the constraints in the executable to be:

diagrams-pandoc >= 0.2 && < 0.3,

Now version 0.3 depends on version 0.2...

Thanks!

sid-kap commented 8 years ago

What do you mean "version 0.3 depends on version 0.2"?

byorgey commented 8 years ago

@sid-kap the executable section in diagrams-pandoc.cabal says it depends on diagrams-pandoc >= 0.2 && < 0.3 (https://github.com/diagrams/diagrams-pandoc/blob/master/diagrams-pandoc.cabal#L50) whereas the version of the library itself is 0.3 (https://github.com/diagrams/diagrams-pandoc/blob/master/diagrams-pandoc.cabal#L2). This seems like an obvious oversight. @9a20477d bumped the version number without changing the version bounds on the self-dependency.

bergey commented 8 years ago

Thanks for catching that!

wayofthepie commented 8 years ago

Thanks for the quick response! Could the constraints be loosened on hackage too for v0.3?

ivan-m commented 8 years ago

Can we please have a release of this (or constraints loosened as requested by @wayofthepie) so that we can build this from Hackage?

(Is there any real reason for the executable section to depend on a version of the library? It should always depend on the exact version specified by the .cabal file...)

byorgey commented 8 years ago

@bergey , ping? I would do this but I don't have permission to edit or upload it on Hackage.