-
Notifications
You must be signed in to change notification settings - Fork 95
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
remove upper bound on crypton-connection #1975
Conversation
@@ -110,7 +110,7 @@ common warning-flags | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to update the freeze file now.
rm cabal.project.freeze
cabal update
cabal freeze
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noticed. I am also wondering why there are not non-freeze file builds. It seems that there is much less ci coverage for cabal CI builds than there used to be -- in terms of dependencies, ghc versions, and platforms? Is there any reason for that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, that's the reason why the breaking changes in crypton-connection went unnoticed for a while -- preventing testing of latest versions of tis and http related packages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, that's the reason why the breaking changes in crypton-connection went unnoticed for a while -- preventing testing of latest versions of tis and http related packages.
I did notice, and I wrote a PR that already fixed this - I think it got accidentally "reverted" in a bad merge.
There were non-freeze builds until recently, which is when I noticed. Non-freeze builds were causing a lot of churn for working on CI, which is why we disabled them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if those "cause" churn. I think, they rather "remind" of chores that need to be done anyways.
Usually, those are simple tasks which can be done quickly, but can become nasty when they start to pile up.
In case those tasks are not simple, we used to add upper bounds in cabal.project
and considered them as open issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But, yeah, it's a matter of process.
I think, there should be some process in place, to catch and track dependency issues early on. Otherwise, upgrades get pushed back which can cause overhead during release preparation and also reduces the time that new versions of dependency (direct or indirect) get tested.
3f83e6d
to
e484dd0
Compare
The unit test failures look concerning. I wonder if those are related to the new version of unordered-containers. In best case it's just test code that makes illegal assumptions about ordering of the items in the container. |
OK, I think, the unit test failures are independent of the code changes in this PR. The have been appearing on other branches, too. I am going to investigate those based on master. |
Closing this because it got merged into #1976 |
The PR removes / fixes the upper bound on
crypto-connection
. This fixes the build with the latest versions of the HTTP and TLS related packages.Along the way the PR also cleans up some issues and inconsistency in the cabal file -- which are small and trivial changes.