Skip to content

Conversation

juhp
Copy link
Collaborator

@juhp juhp commented Sep 23, 2025

@juhp juhp changed the title cabal-install.cabal: allow tar-0.7 cabal-install 3.16: allow tar-0.7 Sep 23, 2025
@Mikolaj
Copy link
Member

Mikolaj commented Sep 23, 2025

Why not backport #11209 instead?

@geekosaur
Copy link
Collaborator

IIRC these are actually just a requirement of Fedora; there's no actual backporting or etc. requirement, just a metadata update, as with the earlier ticket for 3.12. (Well, for 3.16 we probably do want to backport if needed. That said, I thought we'd fixed this before the branch.)

@juhp
Copy link
Collaborator Author

juhp commented Sep 23, 2025

No it is for future stackage as is the other one too: hence the stackage ticket.
Will be needed when Stackage nightly moves to ghc-9.14.

Would be great if cabal kept up with upstreams more proactively.

@juhp
Copy link
Collaborator Author

juhp commented Sep 24, 2025

Why not backport #11209 instead?

I would like both: 3.14 should not be ahead of 3.16

@Mikolaj
Copy link
Member

Mikolaj commented Sep 24, 2025

Why not backport #11209 instead?

I would like both: 3.14 should not be ahead of 3.16

Yes, I mean, why not backport #11209 twice instead? In particular, it has some more code changes, which is probably required (tar has changed its API). But, in general, it's better to backport things.

@geekosaur
Copy link
Collaborator

It's not strictly required, but the new API fixes a bug where you can run out of file descriptors.

@juhp
Copy link
Collaborator Author

juhp commented Sep 24, 2025

Ah I see sorry (would help if I actually opened the link my bad) - I wrongly assumed you were talking about my other PR.

Sure we can if it is easy - my concern is only to lift the tar bound: let me try to rebase then later

Use the new functionality (which didn't make the changelog) when
available; see #11131. This moves `createTarGzFile` to
`Distribution.Client.Compat.Tar` with a re-export.
@juhp
Copy link
Collaborator Author

juhp commented Sep 28, 2025

Okay I cherry-picked @geekosaur's PR commit

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