Skip to content

Commit

Permalink
reflex-dom-core: Bump bounds for ghc 9 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
maralorn committed Mar 15, 2022
1 parent 1814640 commit 4cf61b2
Showing 1 changed file with 10 additions and 88 deletions.
98 changes: 10 additions & 88 deletions reflex-dom-core/reflex-dom-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ flag gc-tests
library
hs-source-dirs: src
build-depends:
aeson >= 0.8 && < 1.6,
base >= 4.7 && < 4.15,
aeson >= 0.8 && < 2.1,
base >= 4.7 && < 4.16,
bifunctors >= 4.2 && < 6,
bimap >= 0.3 && < 0.5,
blaze-builder >= 0.4.1 && < 0.5,
bytestring == 0.10.*,
case-insensitive < 1.3,
containers >= 0.6 && < 0.7,
constraints >= 0.9 && < 0.13,
constraints >= 0.9 && < 0.14,
contravariant >= 1.4 && < 1.6,
data-default >= 0.5 && < 0.8,
dependent-map >= 0.3 && < 0.5,
Expand All @@ -87,13 +87,13 @@ library
jsaddle >= 0.9.0.0 && < 0.10,
-- keycode-0.2 has a bug on firefox
keycode >= 0.2.1 && < 0.3,
lens >= 4.7 && < 5,
lens >= 4.7 && < 5.1,
monad-control >= 1.0.1 && < 1.1,
mtl >= 2.1 && < 2.3,
primitive >= 0.5 && < 0.8,
random >= 1.1 && < 1.2,
ref-tf == 0.4.*,
reflex >= 0.8 && < 0.9,
random >= 1.1 && < 1.3,
ref-tf >= 0.4 && < 0.6,
reflex >= 0.8 && < 0.10,
semigroups >= 0.16 && < 0.20,
stm >= 2.4 && < 2.6,
text == 1.2.*,
Expand All @@ -113,8 +113,8 @@ library

if flag(split-these)
build-depends:
semialign >= 1 && < 1.2,
these >= 1 && < 1.2
semialign >= 1 && < 1.3,
these >= 1 && < 1.3
else
build-depends:
these >= 0.4 && < 0.9
Expand Down Expand Up @@ -169,90 +169,12 @@ library
if flag(use-template-haskell)
build-depends:
dependent-sum-template >= 0.1 && < 0.2,
template-haskell >= 2.12.0 && < 2.17
template-haskell >= 2.12.0 && < 2.18
other-extensions: TemplateHaskell
cpp-options: -DUSE_TEMPLATE_HASKELL
other-modules:
Reflex.Dom.Builder.Class.TH

test-suite hlint
build-depends:
base,
hlint >= 2.0 && < 4.0
hs-source-dirs: test
main-is: hlint.hs
type: exitcode-stdio-1.0
default-language: Haskell98

test-suite hydration
build-depends: base
, aeson
, async
, bytestring
, chrome-test-utils
, constraints
, constraints-extras
, containers
, dependent-map
, dependent-sum
, dependent-sum-template
, directory
, exceptions
, filepath
, ghcjs-dom
, hspec
, hspec-core
, hspec-webdriver
, http-types
, HUnit
, jsaddle
, jsaddle-warp
, lens
, lifted-base
, network
, random
, ref-tf
, reflex
, reflex-dom-core
, process
, silently
, temporary
, text
, wai
, wai-websockets
, warp
, webdriver
, websockets
, which
hs-source-dirs: test
ghc-options: -rtsopts -with-rtsopts=-T -Wall -fwarn-tabs -funbox-strict-fields -O2 -ferror-spans
ghc-prof-options: -fprof-auto -optP-DPROFILING
main-is: hydration.hs
type: exitcode-stdio-1.0
default-language: Haskell98
if !os(linux) || !arch(x86_64) || flag(profile-reflex) || !flag(hydration-tests)
buildable: False

-- broken test on base 4.11 & ghc 8.4.3
-- needs to be updated for changes in GHC.Stats
test-suite gc
build-depends: base
, chrome-test-utils
, jsaddle
, jsaddle-warp
, process
, reflex
, reflex-dom-core
, text
hs-source-dirs: test
ghc-options: -rtsopts -with-rtsopts=-T -Wall -fwarn-tabs -funbox-strict-fields -O2 -ferror-spans
ghc-prof-options: -fprof-auto -optP-DPROFILING
main-is: gc.hs
type: exitcode-stdio-1.0
default-language: Haskell98
if !os(linux) || !arch(x86_64) || !flag(gc-tests)
buildable: False

source-repository head
type: git
location: https://github.com/reflex-frp/reflex-dom
Expand Down

0 comments on commit 4cf61b2

Please sign in to comment.