[Git][ghc/ghc][master] Use ghc-prim < 0.7, not <= 0.6.1, as upper version bounds

Marge Bot gitlab at gitlab.haskell.org
Wed Apr 10 03:29:54 UTC 2019



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
be0dde8e by Ryan Scott at 2019-04-10T03:23:50Z
Use ghc-prim < 0.7, not <= 0.6.1, as upper version bounds

Using `ghc-prim <= 0.6.1` is somewhat dodgy from a PVP point of view,
as it makes it awkward to support new minor releases of `ghc-prim`.
Let's instead use `< 0.7`, which is the idiomatic way of expressing
PVP-compliant upper version bounds.

- - - - -


5 changed files:

- ghc/ghc-bin.cabal.in
- libraries/base/base.cabal
- libraries/ghc-compact/ghc-compact.cabal
- libraries/ghc-heap/ghc-heap.cabal.in
- libraries/integer-gmp/integer-gmp.cabal


Changes:

=====================================
ghc/ghc-bin.cabal.in
=====================================
@@ -58,7 +58,7 @@ Executable ghc
         Build-depends:
             containers     >= 0.5 && < 0.7,
             deepseq        == 1.4.*,
-            ghc-prim       >= 0.5.0 && <= 0.6.1,
+            ghc-prim       >= 0.5.0 && < 0.7,
             ghci           == @ProjectVersionMunged@,
             haskeline      == 0.7.*,
             time           >= 1.8 && < 1.10,


=====================================
libraries/base/base.cabal
=====================================
@@ -95,7 +95,7 @@ Library
         UnliftedFFITypes
         Unsafe
 
-    build-depends: rts == 1.0, ghc-prim >= 0.5.1.0 && <= 0.6.1
+    build-depends: rts == 1.0, ghc-prim >= 0.5.1.0 && < 0.7
 
     -- sanity-check to ensure exactly one flag is set
     if !((flag(integer-gmp) && !flag(integer-simple)) || (!flag(integer-gmp) && flag(integer-simple)))


=====================================
libraries/ghc-compact/ghc-compact.cabal
=====================================
@@ -36,7 +36,7 @@ library
     UnboxedTuples
     CPP
 
-  build-depends: ghc-prim   >= 0.5.3 && <= 0.6.1,
+  build-depends: ghc-prim   >= 0.5.3 && < 0.7,
                  base       >= 4.9.0 && < 4.14,
                  bytestring >= 0.10.6.0
   ghc-options: -Wall


=====================================
libraries/ghc-heap/ghc-heap.cabal.in
=====================================
@@ -23,7 +23,7 @@ library
   default-language: Haskell2010
 
   build-depends:    base             >= 4.9.0 && < 5.0
-                  , ghc-prim         > 0.2 && <= 0.6.1
+                  , ghc-prim         > 0.2 && < 0.7
                   , rts              == 1.0.*
 
   ghc-options:      -Wall


=====================================
libraries/integer-gmp/integer-gmp.cabal
=====================================
@@ -58,7 +58,7 @@ library
     StandaloneDeriving
     UnboxedTuples
     UnliftedFFITypes
-  build-depends:       ghc-prim >= 0.5.1.0 && <= 0.6.1
+  build-depends:       ghc-prim >= 0.5.1.0 && < 0.7
   hs-source-dirs:      src/
   -- We need to set the unit ID to integer-wired-in
   -- (without a version number) as it's magic.



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/be0dde8e3c27ca56477d1d1801bb77621f3618e1

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/be0dde8e3c27ca56477d1d1801bb77621f3618e1
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190409/05e02aa0/attachment-0001.html>


More information about the ghc-commits mailing list