Skip to content
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

gh-112301: Add macOS warning tracking tooling #122211

Merged
merged 35 commits into from
Aug 6, 2024

Conversation

nohlson
Copy link
Contributor

@nohlson nohlson commented Jul 24, 2024

Implement warning tracking for macOS GitHub Actions builds.

This tooling builds on #121730

check_warnings.py now takes an argument to parse compiler output of two types:

  • json from gcc using -fdiagnostic-format=json
  • generic clang compiler warning output

The macOS build and test job configuration is modified to write compiler output to a file and run the check_warnings.py tool.

@hugovk hugovk changed the title gh-112301: Add macos warning tracking tooling gh-112301: Add macOS warning tracking tooling Jul 30, 2024
@hugovk
Copy link
Member

hugovk commented Jul 30, 2024

This has some conflicts now #121730 has been merged.

@nohlson
Copy link
Contributor Author

nohlson commented Jul 30, 2024

This has some conflicts now #121730 has been merged.

I have updated the script to included changes made in #121730

Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just some nits :)

@nohlson
Copy link
Contributor Author

nohlson commented Aug 5, 2024

I have made the requested changes; please review again

@bedevere-app
Copy link

bedevere-app bot commented Aug 5, 2024

Thanks for making the requested changes!

: please review the changes made to this pull request.

Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

(The failing Hypothesis CI check is unrelated, and already fixed in main, we can ignore it here.)

@hugovk hugovk merged commit 58be1c2 into python:main Aug 6, 2024
35 of 38 checks passed
brandtbucher pushed a commit to brandtbucher/cpython that referenced this pull request Aug 7, 2024
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
blhsing pushed a commit to blhsing/cpython that referenced this pull request Aug 22, 2024
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants