Skip to content

Commit

Permalink
Set bounds for dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sellout committed Mar 11, 2024
1 parent 4db612b commit 1eb9308
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion containers/yaya-containers.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ library
Yaya.Containers.Pattern.Map
Yaya.Containers.Pattern.Set
build-depends:
containers ^>= {0.6.0, 0.7},
containers ^>= {0.4.2, 0.5.0, 0.6.0, 0.7},
yaya ^>= 0.5.0,
ghc-options:
-trust adjunctions
Expand Down
11 changes: 8 additions & 3 deletions core/yaya.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -171,18 +171,23 @@ library
either,
free,
kan-extensions,
lens,
-- lens < 5 isn’t `Safe`
lens ^>= {5, 5.1, 5.2},
profunctors,
strict,
-- strict < 0.4 doesn’t export various combinators
strict ^>= {0.4, 0.5},
template-haskell,
th-abstraction,
-- th-abstraction < 0.3 has different field names
th-abstraction ^>= {0.3.0, 0.4.0, 0.5.0, 0.6.0},
transformers,
-- NB: foldable-classes-compat is a transitive dependency … depending on
-- which version of other dependencies (specifically,
-- indexed-traversable) we select. However, `-trust` only works for
-- packages in the dependency graph, so we make it explicit here for the
-- times that it doesn’t get included transitively.
foldable1-classes-compat,
-- FIXME: Fold yaya-containers into here, and make this the dependency
containers ^>= {0.4.2, 0.5.0, 0.6.0, 0.7},
ghc-options:
-trust adjunctions
-trust array
Expand Down
5 changes: 4 additions & 1 deletion hedgehog/yaya-hedgehog.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ library
Yaya.Hedgehog.Fold
build-depends:
deriving-compat,
hedgehog,
hedgehog ^>= {1.0, 1.1, 1.2, 1.3, 1.4},
yaya >= 0.3.0,
ghc-options:
-trust adjunctions
Expand Down Expand Up @@ -187,6 +187,9 @@ test-suite doctests
build-depends:
doctest ^>= {0.15.0, 0.16.0, 0.17.0, 0.18.0, 0.19.0, 0.20.0, 0.21.0, 0.22.0},
yaya-hedgehog,
-- FIXME: Transitive dependencies we’re trying to constrain
containers ^>= {0.6.0, 0.7},
text ^>= {1.2.4, 2.0, 2.1},
-- TODO: The sections below here are necessary because we don’t have control
-- over the generated `Build_doctests.hs` file. So we have to silence
-- all of its warnings one way or another.
Expand Down
2 changes: 1 addition & 1 deletion quickcheck/yaya-quickcheck.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ library
exposed-modules:
Yaya.QuickCheck.Fold
build-depends:
QuickCheck,
QuickCheck ^>= {2.10, 2.11, 2.12, 2.13, 2.14},
yaya >= 0.5.0,
-- NB: splitmix is a transitive dependency … if we select QuickCheck >=
-- 2.13. However, `-trust` only works for packages in the dependency
Expand Down

0 comments on commit 1eb9308

Please sign in to comment.