haskell-hvr / cassava

A CSV parsing and encoding library optimized for ease of use and high performance
http://hackage.haskell.org/package/cassava
BSD 3-Clause "New" or "Revised" License
222 stars 105 forks source link

Doesn't work with bytestring-0.10.12.0 #196

Closed JivanRoquet closed 2 years ago

JivanRoquet commented 3 years ago

Hello,

Adding this to stack.yaml:

extra-deps:
  - cassava-0.5.2.0        # this is the new bit
  - bytestring-0.10.12.0   # was previously already there

leads to the following error on stack build:

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for cassava-0.5.2.0:
    bytestring-0.10.12.0 from stack configuration does not match >=0.9.2 && <0.10.4  (latest matching version is 0.10.2.0)
needed due to myproj -> cassava-0.5.2.0

Setting bytestring-0.10.2.0 in stack.yaml creates a huge mess in the whole project.

Is there any way around this?

andreasabel commented 2 years ago

cassava-0.5.2.0 has been revised to allow the latest bytestring. Issue should be fixed as soon as Stackage picks up the latest revision (r5).