-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Revert "gh-112301: Enable warning emitting options and ignore warnings in CI (#123020)" #124065
Conversation
…arnings in CI (python#123020)" This reverts commit cfe6074.
Concretely I'm wondering if we could instead of reverting the whole PR switch the option instead or something else to maintain the CI testing? |
Or maybe we can maintain the list of files that currently have these warnings and exclude them. It will allow us to fix these warnings in files one by one. |
@hugovk I think it's also okay to revert the whole PR and then squash everything and re-add w/ the proper opt-in configure option instead of opt-out. Don't want to be too disruptive to core devs if you think any of the above suggestions might take too long. |
@hugovk @sethmlarson This is a PR that makes the "safety" options opt-in to allow the CI warning checking to remain: #124070 . @hugovk Maybe this could be a suitable alternative to reverting #123020 |
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 think reverting first is the right approach. Currently the "Ubuntu / build and test" CI is failing on "Check compiler warnings" on new PRs.
See:
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 also agree on reverting, because the very same PR that is alternative to this one (#124070) has lots of warnings.
Thanks @nohlson for the quick response! @colesbury Hmm, then let's revert. We can then update #124070 to "un-revert" and also fix the CI failure (or create a fresh PR, whichever is easier). |
Correcting myself: that sort of thing is expected, those PRs introduced new warnings. The devguide link in the CI failure tells what to do: ideally fix your new warning, or add it to the ignore list if that's not possible. |
In #124069 the tool is failing to parse the compiler output because it looks mangled
And that is the same for #124070
This might be the cmake jobs racing to write to the log so it might just need cmake option
The warnings will still be generated in CI for the Ubuntu build and test and macOS build and test jobs. |
Here's take two: #124070 |
This reverts commit cfe6074 from #123020.
Fixes #124064.
There are too many warnings showing up when building locally.
We'll need to think of something else for #123020, perhaps only enable these when on the CI (for example, there's a
CI=true
environment variable).