Skip to content

Commit

Permalink
Bump Cabal and Cabal-syntax to allow 3.14
Browse files Browse the repository at this point in the history
I have tested the change by running `cabal build all && cabal test all`
with the following cabal.project.local:

    packages: /path-to-cabal-repo/Cabal
    packages: /path-to-cabal-repo/Cabal-syntax
    constraints: Cabal==3.14.*
    constraints: Cabal-syntax==3.14.*

where /path-to-cabal-repo is my local checkout of cabal 3.14
  • Loading branch information
fgaz committed Sep 3, 2024
1 parent 8697bc2 commit d673834
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example-client/example-client.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ executable example-client
ghc-options: -Wall

if flag(Cabal-syntax)
build-depends: Cabal-syntax >= 3.7 && < 3.14
build-depends: Cabal-syntax >= 3.7 && < 3.16
else
build-depends: Cabal >= 2.2.0.1 && < 3.7,
Cabal-syntax < 3.7
2 changes: 1 addition & 1 deletion hackage-repo-tool/hackage-repo-tool.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ executable hackage-repo-tool
hackage-security >= 0.6 && < 0.7

if flag(Cabal-syntax)
build-depends: Cabal-syntax >= 3.7 && < 3.14
build-depends: Cabal-syntax >= 3.7 && < 3.16
else
build-depends: Cabal >= 2.2.0.1 && < 2.6
|| >= 3.0 && < 3.7,
Expand Down
6 changes: 3 additions & 3 deletions hackage-security/hackage-security.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ library
build-depends: base >= 4.11

if flag(Cabal-syntax)
build-depends: Cabal-syntax >= 3.7 && < 3.14
build-depends: Cabal-syntax >= 3.7 && < 3.16
else
build-depends: Cabal >= 2.2.0.1 && < 2.6
|| >= 3.0 && < 3.7,
Expand Down Expand Up @@ -201,8 +201,8 @@ test-suite TestSuite
zlib

if flag(Cabal-syntax)
build-depends: Cabal >= 3.7 && < 3.14,
Cabal-syntax >= 3.7 && < 3.14
build-depends: Cabal >= 3.7 && < 3.16,
Cabal-syntax >= 3.7 && < 3.16
else
build-depends: Cabal >= 2.2.0.1 && < 2.6
|| >= 3.0 && < 3.7,
Expand Down

0 comments on commit d673834

Please sign in to comment.