Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tighten lower bounds, loosen upper bounds #12

Merged
merged 1 commit into from
Sep 17, 2023
Merged

Conversation

DigitalBrains1
Copy link
Owner

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.

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`.
@DigitalBrains1 DigitalBrains1 merged commit 88947ad into main Sep 17, 2023
17 checks passed
@DigitalBrains1 DigitalBrains1 deleted the test-bounds branch September 17, 2023 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant