-
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
Relax tar
upper bound
#9557
Relax tar
upper bound
#9557
Conversation
@ffaf1 you also need to update bounds in |
9a0ab3a
to
24b20f5
Compare
60ae9cf
to
94a4995
Compare
I need help with CI.
I don't really get why it complains about redundant |
Looks to me like it's only used in a test, but you added it to cabal-install? |
Come to think of it, that can't be right because it is used to read the package index. Which means there's at least one missing change somewhere. |
This is likely a bug on GHC side caused by an internal sublibrary, please disable the warning. |
$ git diff
diff --git a/cabal-install/cabal-install.cabal b/cabal-install/cabal-install.cabal
index aca2d67dd..e7f73aaff 100644
--- a/cabal-install/cabal-install.cabal
+++ b/cabal-install/cabal-install.cabal
@@ -42,7 +42,8 @@ common warnings
ghc-options: -Wall -Wcompat -Wnoncanonical-monad-instances -Wincomplete-uni-patterns -Wincomplete-record-updates
if impl(ghc < 8.8)
ghc-options: -Wnoncanonical-monadfail-instances
- if impl(ghc >=8.10)
+ if impl(ghc >= 9)
+ -- WARNING: Even though introduced with GHC 8.10, this warning gives false positives with GHC 8.10.
ghc-options: -Wunused-packages
common base-dep |
@gbaz is it good to go? |
* Add a `Compat` module to accomodate two different `tar` interfaces. * Tweak `-Wunused-packages` conditional (thanks Phil de Joux)
@mergify backport |
❌ No backport have been createdNo destination branches found |
@mergify backport 3.10 |
✅ Backports have been created
|
Template Β: This PR does not modify
cabal
behaviour (documentation, tests, refactoring, etc.)Close #9556
Include the following checklist in your PR: