Skip to content

Commit

Permalink
Lower library compatibility version to 1.25, since 1.25 is dev series…
Browse files Browse the repository at this point in the history
… for 2.0.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
(cherry picked from commit 54ce5f4)
  • Loading branch information
ezyang authored and 23Skidoo committed Oct 16, 2016
1 parent 5ae289e commit 7ba7489
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cabal-install/Distribution/Client/ProjectPlanning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1710,9 +1710,7 @@ defaultSetupDeps compiler platform pkg =
-- breaking changes to the Cabal API that Setup.hs scripts use.
-- So for old custom Setup scripts that do not specify explicit
-- constraints, we constrain them to use a compatible Cabal version.
-- The exact version where we'll make this API break has not yet been
-- decided, so for the meantime we guess at 2.x.
cabalCompatMaxVer = Version [2] []
cabalCompatMaxVer = Version [1,25] []
-- In principle we can talk to any old Cabal version, and we need to
-- be able to do that for custom Setup scripts that require older
-- Cabal lib versions. However in practice we have currently have
Expand Down

0 comments on commit 7ba7489

Please sign in to comment.