Uh oh!
There was an error while loading. Please reload this page.
gh-141004: Don't trigger run-tests when Tools/check-c-api-docs/ignored_c_api.txt is changed - #143583
Conversation
Uh oh!
There was an error while loading. Please reload this page.
StanFromIreland
commented
Jan 9, 2026
@hugovk maybe you could please take a look? |
ZeroIntensity
left a comment
There was a problem hiding this comment.
Thanks, I'm fine with this. Since it's right before the weekend, I'll give others a few more days to take a look before merging.
| Path(".github/CODEOWNERS"), | ||
| Path(".pre-commit-config.yaml"), | ||
| Path(".ruff.toml"), |
There was a problem hiding this comment.
It might be worth keeping CONFIGURATION_FILE_NAMES and just flattening it here, but I'm not going to block the PR on it.
Uh oh!
There was an error while loading. Please reload this page.
hugovk
commented
Jan 10, 2026
Idle thought, we could write: ifnot (doc_fileorfileinRUN_TESTS_IGNORE):As: ifnotdoc_fileandfilenotinRUN_TESTS_IGNORE:I think that's a little clearer? An unrelated condition that could be made clearer in this file is: ifnothas_platform_specific_changeornotplatforms_changed:
aelse:
bIs the same as: ifnot (has_platform_specific_changeandplatforms_changed):
aelse:
bAnd flip to put the positive first: ifhas_platform_specific_changeandplatforms_changed:
belse:
a |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thanks @StanFromIreland for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…cs/ignored_c_api.txt` is changed (pythonGH-143583) (cherry picked from commit 1176fac) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
…cs/ignored_c_api.txt` is changed (pythonGH-143583) (cherry picked from commit 1176fac) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
GH-143793 is a backport of this pull request to the 3.14 branch. |
GH-143794 is a backport of this pull request to the 3.13 branch. |
…cs/ignored_c_api.txt` is changed (pythonGH-143583)
Uh oh!
There was an error while loading. Please reload this page.