Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
Revert "gh-112301: Enable warning emitting options and ignore warnings in CI (#123020)"#124065
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
hugovk commented Sep 13, 2024 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
…arnings in CI (python#123020)" This reverts commit cfe6074.
sethmlarson commented Sep 13, 2024 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
sethmlarson commented Sep 13, 2024
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? |
sobolevn commented Sep 13, 2024
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. |
sethmlarson commented Sep 13, 2024 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
sethmlarson commented Sep 13, 2024
@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. |
nohlson commented Sep 13, 2024
@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 |
colesbury left a comment • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
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:
sobolevn left a comment
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.
hugovk commented Sep 13, 2024
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). |
hugovk commented Sep 13, 2024
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. |
hugovk commented Sep 13, 2024
nohlson commented Sep 13, 2024
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. |
hugovk commented Sep 16, 2024
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=trueenvironment variable).