-
Notifications
You must be signed in to change notification settings - Fork 65
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
Build streamly with ghc-9.6.1 #2415
Conversation
0a6eadc
to
6e7ab62
Compare
streamly/src/Streamly/Internal/Data/Stream/Parallel.hs Lines 433 to 437 in 68b2d87
streamly/src/Streamly/Internal/Data/Stream/Parallel.hs Lines 497 to 501 in 68b2d87
The basic problem is that |
These types ( |
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.
Do not comment out parts of the code. Either a whole module is in or out. In fact we should have the whole set of modules using IsStream out together. Otherwise it will be extremely confusing and messy for users.
Remove MonadTrans/MonadBase instances for: * ParallelT * AsyncT * WAsyncT * AheadT To accommodate a breaking change in transformers-0.6 .
looks good. |
Can this be backported to older streamly versions? (more specifically 0.8). |
Which version do you want it for? And what is the motivation? Can we use a newer streamly version instead? The problem is that it is a breaking change which requires a major version bump. It will be confusing if things break just because a newer transformer version was chosen by cabal automatically. |
0.8
I'd have to migrate two packages, which I absolutely don't have bandwidth for since the API of streamly breaks too often and too severely with every major release: |
0.9.0 was an exception due to some fundamental changes in concurrency API. let me check how easy or difficult it would be to migrate these. If we send a PR migrating these would it be fine? |
I don't want to risk regressions at the moment and my test suites are not good enough. |
How do we go about it then? The only option is to release a 0.8.x with the breaking change. Is there a better way? |
Ah shoot... I missed that the fix itself involves a breaking change. I guess then it's not possible. Going forward you should consider using the first version component more, so that such intermediate bumps are possible. Or just bump 2-3 increments of the second version component instead of the next. |
One possible option is to upload a new 0.8.x with a build flag |
Well, flags really shouldn't affect exposed API. The only option seems to be migration, so I'll be stuck with GHC < 9.6 for a while. |
Ok, let's try yaml-streamly first. |
Hm... from what I understand, the patch here has nothing to do with GHC-9.6, but with transformers. But it's possible to depend on a different than "shipped-with-ghc" transformer package. |
No description provided.