-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tighten lower bounds, loosen upper bounds
We now explicitly test in CI the lower and upper bounds in our `build-depends`. The PvP allows incrementing just the minor version of a package in the case of an API addition. Testing the lower bounds explicitly assures we don't accidentally rely on an API addition made in a minor version. Attempting to test this case revealed our existing lower bounds could not be tested because it did not lead to a valid build plan. So the bounds have been tightened to specify a minor version that we can actually test. We can loosen our upper bounds to include the newest versions of `text` and `tasty` by testing this configuration with cabal's `allow-newer`.
- Loading branch information
1 parent
f0feb84
commit 991cf48
Showing
4 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package prettyprinter-interp | ||
ghc-options: -Werror | ||
prefer-oldest: True | ||
constraints: | ||
any.text ==1.2.3.0, | ||
any.prettyprinter ==1.2, | ||
any.string-interpolate ==0.3.1.0, | ||
any.tasty ==1.2.2, | ||
any.tasty-hunit ==0.10.0.2, | ||
-- text-conversions-0.3.1.1 misses lower bound | ||
any.base64-bytestring ==1.0.0.0, | ||
-- string-interpolate-0.3.1.0 misses lower bound | ||
any.utf8-string ==0.3.1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package prettyprinter-interp | ||
ghc-options: -Werror | ||
allow-newer: | ||
text, | ||
tasty, | ||
constraints: | ||
any.text == 2.1, | ||
any.tasty == 1.5, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters