imp: Revert problematic process-1.6.19.0 bound, it seems not strictly needed [#2149]

This commit is contained in:
Simon Michael 2024-05-01 23:00:15 -10:00
parent 543e96b6bc
commit 8d62af8ae0
9 changed files with 26 additions and 48 deletions

View File

@ -181,33 +181,30 @@ tests:
dependencies:
- hledger-lib
# Disable doctest for now because its dependence on ghc prevents reliable use of the
# newer security-fixed process-1.6.19.0.
#
# Note when run by cabal, doctest requires a ghc environment file,
# so we ensure this is generated, see cabal.project.
# https://github.com/simonmichael/hledger/issues/1139
# doctest:
# source-dirs: test
# main: doctests.hs # can't call it doctest.hs ("File name does not match module name")
# other-modules: [] # prevent double compilation, https://github.com/sol/hpack/issues/188
# dependencies:
# # prefer the latest doctest
# - doctest >=0.18.1
# - Glob >=0.7
doctest:
source-dirs: test
main: doctests.hs # can't call it doctest.hs ("File name does not match module name")
other-modules: [] # prevent double compilation, https://github.com/sol/hpack/issues/188
dependencies:
# prefer the latest doctest
- doctest >=0.18.1
- Glob >=0.7
# when:
# # disable doctest with GHC 9.0, https://github.com/sol/doctest/issues/301
# - condition: impl(ghc >= 9.0) && impl(ghc < 9.2)
# buildable: false
when:
# disable doctest with GHC 9.0, https://github.com/sol/doctest/issues/301
- condition: impl(ghc >= 9.0) && impl(ghc < 9.2)
buildable: false
# # ghc 8.4+ on mac needs this workaround. See
# # https://github.com/sol/doctest/issues/199
# # https://ghc.haskell.org/trac/ghc/ticket/15105#comment:10 :
# # ~$ locate HSinteger-gmp-1.0.2.0.o
# # /Users/simon/.stack/programs/x86_64-osx/ghc-8.4.3/lib/ghc-8.4.2/integer-gmp-1.0.2.0/HSinteger-gmp-1.0.2.0.o
# # ~$ mv /Users/simon/.stack/programs/x86_64-osx/ghc-8.4.3/lib/ghc-8.4.2/integer-gmp-1.0.2.0/HSinteger-gmp-1.0.2.0.o{,_DISABLE_GHC_ISSUE_15105}
# # Should probably disable it by default:
# #when:
# # - condition: os(darwin) && impl(ghc >= 8.4)
# # buildable: false
# ghc 8.4+ on mac needs this workaround. See
# https://github.com/sol/doctest/issues/199
# https://ghc.haskell.org/trac/ghc/ticket/15105#comment:10 :
# ~$ locate HSinteger-gmp-1.0.2.0.o
# /Users/simon/.stack/programs/x86_64-osx/ghc-8.4.3/lib/ghc-8.4.2/integer-gmp-1.0.2.0/HSinteger-gmp-1.0.2.0.o
# ~$ mv /Users/simon/.stack/programs/x86_64-osx/ghc-8.4.3/lib/ghc-8.4.2/integer-gmp-1.0.2.0/HSinteger-gmp-1.0.2.0.o{,_DISABLE_GHC_ISSUE_15105}
# Should probably disable it by default:
#when:
# - condition: os(darwin) && impl(ghc >= 8.4)
# buildable: false

View File

@ -101,7 +101,7 @@ library:
- microlens-platform >=0.2.3.1
- megaparsec >=7.0.0 && <9.7
- mtl >=2.2.1
- process >=1.6.19.0
- process >=1.2
- safe >=0.3.20
- split >=0.1
- text >=1.2.4.1

View File

@ -120,7 +120,7 @@ dependencies:
- megaparsec >=7.0.0 && <9.7
- microlens >=0.4
- mtl >=2.2.1
- process >=1.6.19.0
- process
- regex-tdfa
- safe >=0.3.20
- shakespeare >=2.0.2.2

View File

@ -9,9 +9,7 @@ packages:
- hledger-web
extra-deps:
- process-1.6.19.0 # for HSEC-2024-0003
- haskeline-0.8.2.1 # must be specified again even though in the snapshot because process is a core lib depending on it
# needed only for dev builds when the ghcdebug flag is enabled:
- ghc-debug-convention-0.6.0.0
- ghc-debug-stub-0.6.0.0

View File

@ -9,9 +9,6 @@ packages:
- hledger-web
extra-deps:
- process-1.6.19.0 # for HSEC-2024-0003
- Cabal-3.2.1.0
- safe-0.3.21
# for hledger-lib:
- doctest-0.20.0

View File

@ -13,9 +13,6 @@ packages:
- hledger-web
extra-deps:
- process-1.6.19.0 # for HSEC-2024-0003
- Cabal-3.4.1.0
- megaparsec-9.3.0
- safe-0.3.21
# for hledger-lib:

View File

@ -9,9 +9,6 @@ packages:
- hledger-web
extra-deps:
- process-1.6.19.0 # for HSEC-2024-0003
- Cabal-3.6.3.0
- megaparsec-9.3.0
- safe-0.3.21
# for hledger-lib:

View File

@ -9,10 +9,6 @@ packages:
- hledger-web
extra-deps:
- process-1.6.19.0 # for HSEC-2024-0003
- Cabal-3.8.1.0
- haskeline-0.8.2.1
- safe-0.3.21
- brick-2.3.1
- vty-6.2

View File

@ -9,11 +9,7 @@ packages:
- hledger-web
extra-deps:
- process-1.6.19.0 # for HSEC-2024-0003
- Cabal-3.10.1.0
- haskeline-0.8.2.1
- vty-windows-0.2.0.2 # not yet in stackage
- vty-windows-0.2.0.1 # not yet in stackage
nix:
pure: false