Skip to content

Commit 3fe0b06

Browse files
committed
fix(generate-release-changelog-links): drop optparse-applicative bound
The explicit optparse-applicative ^>= 0.18 dep (and matching import) was blocking resolution with GHC versions that ship optparse-applicative 0.19. All argument parsing goes through turtle, so optparse-applicative is a transitive dep only — removing the explicit bound and the unused Options.Applicative import fixes the solver failure without any code changes. ansi-wl-pprint removed for the same reason: never imported, was only there as a vestige of optparse-applicative 0.18's internal Doc type.
1 parent 0ba66ea commit 3fe0b06

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

scripts/generate-release-changelog-links.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
http-client,
1313
http-types,
1414
network-uri,
15-
optparse-applicative ^>= 0.18,
16-
ansi-wl-pprint >= 1,
1715
prettyprinter,
1816
req,
1917
text,
@@ -57,7 +55,6 @@ import Network.HTTP.Types.Header (hLocation)
5755
import Network.HTTP.Types.Status (found302)
5856
import qualified Network.URI as URI
5957
import qualified Network.URI.Encode as URIE
60-
import Options.Applicative
6158
import Prettyprinter
6259
import qualified Prettyprinter.Util as PP
6360

scripts/generate-release-changelog-links/Main.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import Network.HTTP.Types.Header (hLocation)
2020
import Network.HTTP.Types.Status (found302)
2121
import qualified Network.URI as URI
2222
import qualified Network.URI.Encode as URIE
23-
import Options.Applicative
2423
import Prettyprinter
2524
import qualified Prettyprinter.Util as PP
2625

scripts/generate-release-changelog-links/generate-release-changelog-links.cabal

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ executable generate-release-changelog-links
3434
, http-client
3535
, http-types
3636
, network-uri
37-
, optparse-applicative ^>= 0.18
38-
, ansi-wl-pprint >= 1
3937
, prettyprinter
4038
, req
4139
, text

0 commit comments

Comments
 (0)