Skip to content

Fix bugs in compute-changes.py logic for CIFuzz#145232

Open
StanFromIreland wants to merge 5 commits intopython:mainfrom
StanFromIreland:fix-compute-changes
Open

Fix bugs in compute-changes.py logic for CIFuzz#145232
StanFromIreland wants to merge 5 commits intopython:mainfrom
StanFromIreland:fix-compute-changes

Conversation

@StanFromIreland
Copy link
Member

Fixes a typo, it isn't running when unicodedata.c is modified, e.g. this run.

And, it also isn't setting run_ci_fuzz=true when it should be, see same run as above.

Testing this is a little messy.

This reverts commit a61fb9b.
@StanFromIreland
Copy link
Member Author

My manual test passed (see https://github.com/python/cpython/actions/runs/22412874770/job/64890788391?pr=145232), adding one to the suite will be too messy IMO, it would require quite a lot of patching/mocking.

@hugovk
Copy link
Member

hugovk commented Feb 26, 2026

Could you test that is_fuzzable_library_file(Path("Modules/unicodedata.c")) is now true?

Copy link
Member

@webknjaz webknjaz 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, provided you add that test Hugo asked for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants