-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
singletons-{th,base}: Require building with GHC 9.6
Checks off one box in #540.
- Loading branch information
1 parent
68ce40b
commit be2c8f2
Showing
12 changed files
with
94 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml | ||
index 209f0e3..b4fecf8 100644 | ||
--- a/.github/workflows/haskell-ci.yml | ||
+++ b/.github/workflows/haskell-ci.yml | ||
@@ -37,7 +37,7 @@ jobs: | ||
compilerKind: ghc | ||
compilerVersion: 9.6.0.20230302 | ||
setup-method: ghcup | ||
- allow-failure: true | ||
+ allow-failure: false | ||
- compiler: ghc-9.4.4 | ||
compilerKind: ghc | ||
compilerVersion: 9.4.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ author: Richard Eisenberg <[email protected]>, Jan Stolarek <jan.stola | |
maintainer: Ryan Scott <[email protected]> | ||
bug-reports: https://github.com/goldfirere/singletons/issues | ||
stability: experimental | ||
tested-with: GHC == 9.4.1 | ||
tested-with: GHC == 9.6.1 | ||
extra-source-files: README.md, CHANGES.md, tests/README.md, | ||
tests/compile-and-dump/GradingClient/*.hs, | ||
tests/compile-and-dump/InsertionSort/*.hs, | ||
|
@@ -38,7 +38,7 @@ description: | |
. | ||
@singletons-base@ uses code that relies on bleeding-edge GHC language | ||
extensions. As such, @singletons-base@ only supports the latest major version | ||
of GHC (currently GHC 9.4). For more information, | ||
of GHC (currently GHC 9.6). For more information, | ||
consult the @singletons@ | ||
@<https://github.com/goldfirere/singletons/blob/master/README.md README>@. | ||
. | ||
|
@@ -65,20 +65,20 @@ source-repository head | |
|
||
custom-setup | ||
setup-depends: | ||
base >= 4.17 && < 4.18, | ||
Cabal >= 3.0 && < 3.9, | ||
base >= 4.18 && < 4.19, | ||
Cabal >= 3.0 && < 3.11, | ||
directory >= 1, | ||
filepath >= 1.3 | ||
|
||
library | ||
hs-source-dirs: src | ||
build-depends: base >= 4.17 && < 4.18, | ||
build-depends: base >= 4.18 && < 4.19, | ||
pretty, | ||
singletons == 3.0.*, | ||
singletons-th >= 3.2 && < 3.3, | ||
template-haskell >= 2.19 && < 2.20, | ||
template-haskell >= 2.20 && < 2.21, | ||
text >= 1.2, | ||
th-desugar >= 1.14 && < 1.15 | ||
th-desugar >= 1.15 && < 1.16 | ||
default-language: GHC2021 | ||
other-extensions: TemplateHaskell | ||
exposed-modules: Data.Singletons.Base.CustomStar | ||
|
@@ -155,7 +155,7 @@ test-suite singletons-base-test-suite | |
main-is: SingletonsBaseTestSuite.hs | ||
other-modules: SingletonsBaseTestSuiteUtils | ||
|
||
build-depends: base >= 4.17 && < 4.18, | ||
build-depends: base >= 4.18 && < 4.19, | ||
bytestring >= 0.10.9, | ||
deepseq >= 1.4.4, | ||
filepath >= 1.3, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ author: Richard Eisenberg <[email protected]>, Jan Stolarek <jan.stola | |
maintainer: Ryan Scott <[email protected]> | ||
bug-reports: https://github.com/goldfirere/singletons/issues | ||
stability: experimental | ||
tested-with: GHC == 9.4.1 | ||
tested-with: GHC == 9.6.1 | ||
extra-source-files: README.md, CHANGES.md | ||
license: BSD3 | ||
license-file: LICENSE | ||
|
@@ -26,7 +26,7 @@ description: | |
. | ||
@singletons-th@ generates code that relies on bleeding-edge GHC language | ||
extensions. As such, @singletons-th@ only supports the latest major version | ||
of GHC (currently GHC 9.4). For more information, | ||
of GHC (currently GHC 9.6). For more information, | ||
consult the @singletons@ | ||
@<https://github.com/goldfirere/singletons/blob/master/README.md README>@. | ||
. | ||
|
@@ -52,14 +52,14 @@ source-repository head | |
|
||
library | ||
hs-source-dirs: src | ||
build-depends: base >= 4.17 && < 4.18, | ||
build-depends: base >= 4.18 && < 4.19, | ||
containers >= 0.5, | ||
mtl >= 2.2.1 && < 2.4, | ||
ghc-boot-th, | ||
singletons == 3.0.*, | ||
syb >= 0.4, | ||
template-haskell >= 2.19 && < 2.20, | ||
th-desugar >= 1.14 && < 1.15, | ||
template-haskell >= 2.20 && < 2.21, | ||
th-desugar >= 1.15 && < 1.16, | ||
th-orphans >= 0.13.11 && < 0.14, | ||
transformers >= 0.5.2 | ||
default-language: GHC2021 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters