-
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
Make type
field optional for tests and benchmarks
#8115
Conversation
Well done! A quick |
As far as I understand, these tests really do test the changed functionality, so I'd keep them. I can't say I understand the functionality well, though (#5055), but perhaps we shouldn't worry too much.
Perfect. CI broke randomly, so let me restart. |
@Mergifyio rebase |
☑️ Nothing to do
|
The same CI failure (Windows: Access violation in generated code when reading 0xffffffffffffffff) and the same cancellation of jobs without an obvious reason. Github status is green, but I suspect github outage, regardless. No other cabal CI jobs running right now to compare to, so I've rebased PR #8038 to compare to. Let's see how it goes. |
Copying from #hackage:
Once we disable the offending CI job, let's rebase to repeat the tests. |
@Mergifyio rebase |
✅ Branch has been successfully rebased |
6490ff3
to
0675627
Compare
Splendid. Now CI green. :) |
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
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.
looks good, that is a sensible default, thanks!
This changes the cabal spec, and needs a changelog entry and version guards, or we'll have to revert before release. |
Details for the 3.8 TODO: The changelog in question is https://github.com/haskell/cabal/blob/master/doc/file-format-changelog.rst The code change may be something like #8134 and #8135 (when done. |
+ Update file-format-changelog.rst
+ Update file-format-changelog.rst
+ Update file-format-changelog.rst
+ Update file-format-changelog.rst
Require `type` field when spec < 3.8 (#8115)
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.
Changes requested: Clarification concerning cabal-version
needed.
Resolves #7459
I manually tested the change using
cabal check
against the various combinations of fields and stanzas.Please include the following checklist in your PR: