-
Notifications
You must be signed in to change notification settings - Fork 696
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
Fix cabal init should not suggest Cabal < 2.0 #8700
Conversation
@@ -286,7 +286,6 @@ cabalVersionPrompt flags = getCabalVersion flags $ do | |||
|
|||
displayCabalVersion :: CabalSpecVersion -> String | |||
displayCabalVersion v = case v of | |||
CabalSpecV1_24 -> "1.24 (legacy)" |
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.
After this removal, '+' on the next line doesn't make sense, probably.
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.
Good point, How can I cancel checks that are in progress? Under Actions -> workflow I can't seem to find a cancel button.
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.
How can I cancel checks that are in progress?
Don't worry. However, I've just invited you to Triage the repo, so there's a small chance you can see the cancel buttons now (but remember to never mouse over the big red button!).
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.
Thank you for that. I believe this solves issue #8680. I also added a changelog file as it was stated in the contribution guide.
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.
One thing I was wondering about; I ran the test suite locally on my computer, and I got that a test failed, whereas here everything passes. Is there a known 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 definitely used to have tests failing locally and succeeding in CI. I think one reason may be that some system dependencies may be absent on your machine. It's not nice but it's probably fine.
Is there anything I need to do for this PR now, or just wait for approving reviews? |
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
@BasLaa thanks! Should be merged in two days automatically if no other comments are received. |
Any Cabal release prior to 2.0 is no longer working, so cabal should not suggest users to set the
cabal-version
on packages to less than 2.0 as mentioned in #8680.With this, the least choice offered to users is 2.0.