Skip to content

Commit

Permalink
Relax upper bound of dependencies
Browse files Browse the repository at this point in the history
Allow the following,
- base-4.20.*
- hspec-2.12.*
- deepseq-1.6.*
- text-2.1.*
  • Loading branch information
adithyaov committed Nov 29, 2023
1 parent 58fc6f0 commit fc3d589
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 32 deletions.
18 changes: 9 additions & 9 deletions experimental/unicode-data-text/unicode-data-text.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ library

hs-source-dirs: lib
build-depends:
base >= 4.7 && < 4.19,
text >= 1.2.4 && < 2.1,
base >= 4.7 && < 4.20,
text >= 1.2.4 && < 2.2,
unicode-data >= 0.3 && < 0.5

test-suite test
Expand All @@ -77,12 +77,12 @@ test-suite test
other-modules:
Unicode.Text.CaseSpec
build-depends:
base >= 4.7 && < 4.19,
hspec >= 2.0 && < 2.11,
text >= 1.2.4 && < 2.1,
base >= 4.7 && < 4.20,
hspec >= 2.0 && < 2.12,
text >= 1.2.4 && < 2.2,
unicode-data-text
build-tool-depends:
hspec-discover:hspec-discover >= 2.0 && < 2.11
hspec-discover:hspec-discover >= 2.0 && < 2.12
if impl(ghc >= 9.5.1) && impl(ghc < 9.8.0)
cpp-options: -DCOMPATIBLE_GHC_UNICODE

Expand All @@ -92,11 +92,11 @@ benchmark bench
hs-source-dirs: bench
main-is: Main.hs
build-depends:
base >= 4.7 && < 4.19,
deepseq >= 1.1 && < 1.5,
base >= 4.7 && < 4.20,
deepseq >= 1.1 && < 1.6,
tasty-bench >= 0.2.5 && < 0.4,
tasty >= 1.4.1 && < 1.5,
text >= 1.2.4 && < 2.1,
text >= 1.2.4 && < 2.2,
unicode-data >= 0.3 && < 0.5,
unicode-data-text
-- [NOTE] Recommendation of tasty-bench to reduce garbage collection noisiness
Expand Down
6 changes: 3 additions & 3 deletions ucd2haskell/ucd2haskell.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ executable ucd2haskell
if flag(ucd2haskell)
buildable: True
build-depends:
base >= 4.7 && < 4.19
base >= 4.7 && < 4.20
, containers >= 0.5 && < 0.7
, directory >= 1.3.6 && < 1.4
, filepath >= 1.4.100 && < 1.5
Expand All @@ -92,10 +92,10 @@ executable test
if flag(ucd2haskell)
buildable: True
build-depends:
base >= 4.7 && < 4.19
base >= 4.7 && < 4.20
, directory >= 1.3.6 && < 1.4
, filepath >= 1.4.100 && < 1.5
, hspec >= 2.0 && < 2.11
, hspec >= 2.0 && < 2.12
, HUnit >= 1.6.2 && < 1.7
, split >= 0.2.3 && < 0.3
, unicode-data
Expand Down
10 changes: 5 additions & 5 deletions unicode-data-names/unicode-data-names.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ library

hs-source-dirs: lib
build-depends:
base >= 4.7 && < 4.19,
base >= 4.7 && < 4.20,

test-suite test
import: default-extensions, compile-options
Expand All @@ -95,8 +95,8 @@ test-suite test
other-modules:
Unicode.Char.General.NamesSpec
build-depends:
base >= 4.7 && < 4.19
, hspec >= 2.0 && < 2.11
base >= 4.7 && < 4.20
, hspec >= 2.0 && < 2.12
, unicode-data >= 0.4 && < 0.5
, unicode-data-names

Expand All @@ -120,8 +120,8 @@ benchmark bench
hs-source-dirs: bench
main-is: Main.hs
build-depends:
base >= 4.7 && < 4.19,
deepseq >= 1.1 && < 1.5,
base >= 4.7 && < 4.20,
deepseq >= 1.1 && < 1.6,
tasty-bench >= 0.2.5 && < 0.4,
tasty >= 1.4.1 && < 1.5,
unicode-data-names
Expand Down
10 changes: 5 additions & 5 deletions unicode-data-scripts/unicode-data-scripts.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ library

hs-source-dirs: lib
build-depends:
base >= 4.7 && < 4.19
base >= 4.7 && < 4.20
, unicode-data >= 0.4 && < 0.5

test-suite test
Expand All @@ -88,8 +88,8 @@ test-suite test
other-modules:
Unicode.Char.General.ScriptsSpec
build-depends:
base >= 4.7 && < 4.19
, hspec >= 2.0 && < 2.11
base >= 4.7 && < 4.20
, hspec >= 2.0 && < 2.12
, unicode-data
, unicode-data-scripts

Expand All @@ -99,8 +99,8 @@ benchmark bench
hs-source-dirs: bench
main-is: Main.hs
build-depends:
base >= 4.7 && < 4.19,
deepseq >= 1.1 && < 1.5,
base >= 4.7 && < 4.20,
deepseq >= 1.1 && < 1.6,
tasty-bench >= 0.2.5 && < 0.4,
tasty >= 1.4.1 && < 1.5,
unicode-data,
Expand Down
10 changes: 5 additions & 5 deletions unicode-data-security/unicode-data-security.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ library

hs-source-dirs: lib
build-depends:
base >= 4.7 && < 4.19
base >= 4.7 && < 4.20
, unicode-data >= 0.4 && < 0.5

test-suite test
Expand All @@ -90,8 +90,8 @@ test-suite test
other-modules:
Unicode.Char.Identifiers.SecuritySpec
build-depends:
base >= 4.7 && < 4.19
, hspec >= 2.0 && < 2.11
base >= 4.7 && < 4.20
, hspec >= 2.0 && < 2.12
, unicode-data-security

benchmark bench
Expand All @@ -100,8 +100,8 @@ benchmark bench
hs-source-dirs: bench
main-is: Main.hs
build-depends:
base >= 4.7 && < 4.19,
deepseq >= 1.1 && < 1.5,
base >= 4.7 && < 4.20,
deepseq >= 1.1 && < 1.6,
tasty-bench >= 0.2.5 && < 0.4,
tasty >= 1.4.1,
unicode-data-security
Expand Down
10 changes: 5 additions & 5 deletions unicode-data/unicode-data.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ library
hs-source-dirs: lib
ghc-options: -O2
build-depends:
base >=4.7 && <4.19
base >=4.7 && < 4.20

test-suite test
import: default-extensions, compile-options
Expand All @@ -119,8 +119,8 @@ test-suite test
other-modules:
Unicode.CharSpec
build-depends:
base >= 4.7 && < 4.19
, hspec >= 2.0 && < 2.11
base >= 4.7 && < 4.20
, hspec >= 2.0 && < 2.12
, unicode-data
-- We need to match a GHC version with the same Unicode version.
-- See: test/Unicode/CharSpec.hs for compatibility table.
Expand All @@ -144,8 +144,8 @@ benchmark bench
Unicode.Char.NumericBench
Unicode.Char.Numeric.CompatBench
build-depends:
base >= 4.7 && < 4.19,
deepseq >= 1.1 && < 1.5,
base >= 4.7 && < 4.20,
deepseq >= 1.1 && < 1.6,
tasty-bench >= 0.2.5 && < 0.4,
tasty >= 1.4.1 && < 1.5,
unicode-data
Expand Down

0 comments on commit fc3d589

Please sign in to comment.