Skip to content

Commit

Permalink
treewide: Raise bounds on optparse-applicative
Browse files Browse the repository at this point in the history
optparse-applicative-0.18.0.0 is a deprecated release which used
layoutSmart from package prettyprinter, which causes the runtime to
blow up in certain cases.

See: pcapriotti/optparse-applicative#475 (comment)
  • Loading branch information
JackKelly-Bellroy committed Oct 19, 2023
1 parent dfa8286 commit fcaabbd
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dhall-docs/dhall-docs.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Library
text >= 0.11.1.0 && < 2.1 ,
transformers >= 0.2.0.0 && < 0.7 ,
mtl >= 2.2.1 && < 2.4 ,
optparse-applicative >= 0.14.0.0 && < 0.18
optparse-applicative >= 0.14.0.0 && < 0.18 || >=0.18.1.0 && <0.19
Exposed-Modules:
Dhall.Docs
Dhall.Docs.Core
Expand Down
2 changes: 1 addition & 1 deletion dhall-json/dhall-json.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Library
exceptions >= 0.8.3 && < 0.11,
filepath < 1.5 ,
lens-family-core >= 1.0.0 && < 2.2 ,
optparse-applicative >= 0.14.0.0 && < 0.18,
optparse-applicative >= 0.14.0.0 && < 0.18 || >=0.18.1.0 && <0.19,
prettyprinter >= 1.7.0 && < 1.8 ,
scientific >= 0.3.0.0 && < 0.4 ,
text >= 0.11.1.0 && < 2.1 ,
Expand Down
4 changes: 2 additions & 2 deletions dhall-nix/dhall-nix.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Library
Default-Language: Haskell2010
if os(windows)
Buildable: False

Executable dhall-to-nix
if os(windows)
Buildable: False
Expand All @@ -53,7 +53,7 @@ Executable dhall-to-nix
dhall ,
dhall-nix ,
hnix ,
optparse-generic >= 1.1.1 && < 1.5,
optparse-generic >= 1.1.1 && < 1.6,
text
GHC-Options: -Wall
Default-Language: Haskell2010
Expand Down
2 changes: 1 addition & 1 deletion dhall-nixpkgs/dhall-nixpkgs.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Executable dhall-to-nixpkgs
, megaparsec >= 7.0.0 && < 10
, mmorph < 1.3
, neat-interpolation < 0.6
, optparse-applicative >= 0.14.0.0 && < 0.18
, optparse-applicative >= 0.14.0.0 && < 0.18 || >=0.18.1.0 && <0.19
, prettyprinter >= 1.7.0 && < 1.8
, text >= 0.11.1.0 && < 2.1
, transformers >= 0.2.0.0 && < 0.6
Expand Down
4 changes: 2 additions & 2 deletions dhall-openapi/dhall-openapi.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Executable openapi-to-dhall
filepath >= 1.4 && < 1.5 ,
-- megaparsec follows SemVer: https://github.com/mrkkrp/megaparsec/issues/469#issuecomment-927918469
megaparsec >= 7.0 && < 10 ,
optparse-applicative >= 0.14.3.0 && < 0.18 ,
parser-combinators ,
optparse-applicative >= 0.14.3.0 && < 0.18 || >=0.18.1.0 && <0.19,
parser-combinators ,
prettyprinter ,
sort ,
text ,
Expand Down
2 changes: 1 addition & 1 deletion dhall-toml/dhall-toml.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Library
containers >= 0.5.9 && < 0.7 ,
unordered-containers >= 0.2 && < 0.3 ,
prettyprinter >= 1.7.0 && < 1.8 ,
optparse-applicative >= 0.14 && < 0.18
optparse-applicative >= 0.14 && < 0.18 || >=0.18.1.0 && <0.19
Exposed-Modules:
Dhall.DhallToToml
Dhall.TomlToDhall
Expand Down
2 changes: 1 addition & 1 deletion dhall-yaml/dhall-yaml.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Library
bytestring < 0.12,
dhall >= 1.31.0 && < 1.43,
dhall-json >= 1.6.0 && < 1.8 ,
optparse-applicative >= 0.14.0.0 && < 0.18,
optparse-applicative >= 0.14.0.0 && < 0.18 || >=0.18.1.0 && <0.19,
text >= 0.11.1.0 && < 2.1 ,
vector
Exposed-Modules:
Expand Down
2 changes: 1 addition & 1 deletion dhall/dhall.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Common common
mmorph < 1.3 ,
mtl >= 2.2.1 && < 2.4 ,
network-uri >= 2.6 && < 2.7 ,
optparse-applicative >= 0.14.0.0 && < 0.18,
optparse-applicative >= 0.14.0.0 && < 0.18 || >=0.18.1.0 && <0.19,
parsers >= 0.12.4 && < 0.13,
parser-combinators ,
prettyprinter >= 1.7.0 && < 1.8 ,
Expand Down

0 comments on commit fcaabbd

Please sign in to comment.