-
Notifications
You must be signed in to change notification settings - Fork 704
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
Depend on tar-0.6.3.0 #10120
Depend on tar-0.6.3.0 #10120
Conversation
24cb3cb
to
111291e
Compare
I wonder if this compat module can be axed then. cabal/cabal-install/src/Distribution/Client/Compat/Tar.hs Lines 4 to 18 in e1f73a4
I also wonder: are we introducing some indirect constraint on |
It's great to hear about |
@ffaf1 A good question, tar builds with base >= 4.11 which goes back to 8.4.4 at least. @ulysses4ever It's up to the maintainers what they wish to do, but older versions of tar have a non-performant implementation of I will at least bump the index state for release and bootstrap jobs (which will then pick tar-0.6.3) |
I understand. I don't see why you want to disallow that. If your plan allows a newer version of Updating the index state makes sense, thank you. |
I suppose I see it in the same way as if a previous version of the package had a serious bug, you wouldn't want to allow your users to build against that package. I'll remove the tight lower bound once CI passes. |
tar-0.6.3.0 has much improved performance of deserialising .tar index which has significant ramifications for the start-up time of cabal-install. See haskell#10110
Using the updated version of this library improves performance of cabal-install so it's worthwhile to make sure the bootstrap plans use this version.
c56149a
to
4d787e1
Compare
I have removed the more aggressive lower bound on So can someone please approve the remaining changes which bumps the index state and regenerates the bootstrap plans to include tar-0.6.3.0. |
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.
LGTM
If nobody objects, let's expedite this PR and the backport. |
What about the |
@ffaf1: we haven't bumped tar beyond (0,6,0), after all, so it seems it is needed? I guess we could have made such a modest bump, but we are in a hurry this time. I haven't heard objections, so I'm force-merging. |
@mergify backport 3.12 |
✅ Backports have been created
|
Merged. @mpickering: thank you again. And we have conflicts in the backport. :( |
* Bump index state to allow tar-0.6.3.0 tar-0.6.3.0 has much improved performance of deserialising .tar index which has significant ramifications for the start-up time of cabal-install. See #10110 (cherry picked from commit 827256a) * Update bootstrap plans to include tar-0.6.3 Using the updated version of this library improves performance of cabal-install so it's worthwhile to make sure the bootstrap plans use this version. (cherry picked from commit 4d787e1) # Conflicts: # bootstrap/linux-8.10.7.json # bootstrap/linux-9.0.2.json # bootstrap/linux-9.2.8.json # bootstrap/linux-9.4.8.json # bootstrap/linux-9.6.4.json # bootstrap/linux-9.8.2.json * fixup! Update bootstrap plans to include tar-0.6.3 --------- Co-authored-by: Matthew Pickering <matthewtpickering@gmail.com> Co-authored-by: brandon s allbery kf8nh <allbery.b@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
tar-0.6.3.0 has much improved performance of deserialising .tar index
which has significant ramifications for the start-up time of
cabal-install.
See #10110