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

Bump upper bounds #104

Merged
merged 2 commits into from
May 15, 2024
Merged

Bump upper bounds #104

merged 2 commits into from
May 15, 2024

Conversation

alexfmpe
Copy link
Contributor

9.8 comes with bytestring 0.12.1.0 so I was getting build failures when building out of nixpkgs.
Not sure how #102 avoids that issue

I see CI only building up to 9.4, should that be updated?

@@ -75,17 +75,17 @@ test-suite tests

build-depends:
base >=4.9 && <=5.0
, bytestring >=0.10.6.0 && <0.12.0
, bytestring >=0.10.6.0 && <0.13.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the bounds really be duplicated for packages that are dependencies of the library and the tests? Easy to accidentally introduce incoherencies

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How so?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I accidentally forgot to update the bound here and then had trouble building the test elsewhere.
The test depends on the library and IIUC they're configured at the same time, so we actually get the intersection of bounds when running the test suite.
If the test suite a looser bound it's ignored because the library one is applied, but if the test has a more narrow bound, then the library goes un-tested with some versions it builds for.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

packages that are dependencies of the library and the tests?

Huh this sentence makes no sense. I meant components that depend on the library

@j6carey
Copy link
Collaborator

j6carey commented May 13, 2024

I see CI only building up to 9.4, should that be updated?

Yes, CI needs to test newer versions of GHC. I'll work on that in a separate PR.

@riz0id riz0id merged commit d130c70 into awakesecurity:master May 15, 2024
14 checks passed
@riz0id
Copy link
Collaborator

riz0id commented May 15, 2024

@alexfmpe Thank you for the contribution.

@j6carey
Copy link
Collaborator

j6carey commented May 21, 2024

I see CI only building up to 9.4, should that be updated?

Yes, CI needs to test newer versions of GHC. I'll work on that in a separate PR.

We now test up through 9.8 as of commit cef201d .

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.

3 participants