Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ghc 9.12 #202

Closed
Tracked by #7574 ...
erikd opened this issue Nov 5, 2024 · 1 comment · Fixed by #205
Closed
Tracked by #7574 ...

Support ghc 9.12 #202

erikd opened this issue Nov 5, 2024 · 1 comment · Fixed by #205

Comments

@erikd
Copy link

erikd commented Nov 5, 2024

Can build this and pass all tests with:

diff --git a/cabal.project b/cabal.project
index 625325f..960db50 100644
--- a/cabal.project
+++ b/cabal.project
@@ -7,5 +7,20 @@ packages: these-tests
 
 tests: true
 
+allow-newer: assoc:base
+allow-newer: data-fix:base
+allow-newer: hashable:base
+allow-newer: indexed-traversable:base
+allow-newer: indexed-traversable-instances:base
+allow-newer: lattices:base
+allow-newer: monad-chronicle:base
+allow-newer: OneTuple:base
+allow-newer: parallel:base
 allow-newer: quickcheck-instances:base
-allow-newer: quickcheck-instances:containers
+allow-newer: scientific:base
+allow-newer: splitmix:base
+allow-newer: time-compat:base
+allow-newer: text-short:base
+allow-newer: integer-logarithms:base
+allow-newer: universe-base:base
+allow-newer: universe-reverse-instances:base
diff --git a/monad-chronicle/monad-chronicle.cabal b/monad-chronicle/monad-chronicle.cabal
index 4ceec73..748b1a3 100644
--- a/monad-chronicle/monad-chronicle.cabal
+++ b/monad-chronicle/monad-chronicle.cabal
@@ -46,7 +46,7 @@ library
 
   -- ghc boot libs
   build-depends:
-      base          >=4.12.0.0 && <4.21
+      base          >=4.12.0.0 && <4.22
     , mtl           >=2.2.2    && <2.4
     , transformers  >=0.5.6.2  && <0.7
 
diff --git a/semialign/semialign.cabal b/semialign/semialign.cabal
index 5296d46..1f71074 100644
--- a/semialign/semialign.cabal
+++ b/semialign/semialign.cabal
@@ -61,7 +61,7 @@ library
 
   -- ghc boot libs
   build-depends:
-      base          >=4.12.0.0 && <4.21
+      base          >=4.12.0.0 && <4.22
     , containers    >=0.6.0.1  && <0.8
     , transformers  >=0.5.6.2  && <0.7
 
diff --git a/these-lens/these-lens.cabal b/these-lens/these-lens.cabal
index 30428c0..e88cc18 100644
--- a/these-lens/these-lens.cabal
+++ b/these-lens/these-lens.cabal
@@ -34,7 +34,7 @@ library
   exposed-modules:  Data.These.Lens
 
   -- ghc boot libs
-  build-depends:    base >=4.12.0.0 && <4.21
+  build-depends:    base >=4.12.0.0 && <4.22
   build-depends:    these >=1.2.1 && <1.3
 
   -- other dependencies
diff --git a/these-optics/these-optics.cabal b/these-optics/these-optics.cabal
index bec9717..21642bc 100644
--- a/these-optics/these-optics.cabal
+++ b/these-optics/these-optics.cabal
@@ -34,7 +34,7 @@ library
   exposed-modules:  Data.These.Optics
 
   -- ghc boot libs
-  build-depends:    base >=4.12 && <4.21
+  build-depends:    base >=4.12 && <4.22
 
   -- these
   build-depends:    these >=1.2.1 && <1.3
diff --git a/these/these.cabal b/these/these.cabal
index c0a008d..01e8b8a 100644
--- a/these/these.cabal
+++ b/these/these.cabal
@@ -58,7 +58,7 @@ library
 
   -- ghc boot libs
   build-depends:
-      base     >=4.12.0.0 && <4.21
+      base     >=4.12.0.0 && <4.22
     , binary   >=0.8.6.0  && <0.10
     , deepseq  >=1.4.4.0  && <1.6
@phadej
Copy link
Collaborator

phadej commented Dec 19, 2024

A lot of similar issues are atm blocked on haskell-unordered-containers/unordered-containers#496

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants