GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — Revert "gh-112301: Enable warning emitting options and ignore warnings in CI (#123020)" by hugovk · Pull Request #124065 · python/cpython Conversation
|
|
@hugovk FYI, See: Line 2509 in 9f42b62
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
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? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@sobolevn We have that already, but for determining whether to fail CI. The warnings still occur locally, but as you've seen there is quite a few of them. I'm not sure how possible filtering them from output would be @nohlson? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@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 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem 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:
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem 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.

Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
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). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Correcting myself again! Those look like the failure in #124070, and needs fixing. This sort of thing is expected. Now I'll close my laptop for the evening :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Here's take two: #124070 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Lots of new compiler warnings
There was an error while loading. Please reload this page.