-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Tools/build/compute-changes.py
looks at the wrong branches
#133410
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
Comments
Tools/build/compute_changes.py
looks at the wrong branchesTools/build/compute-changes.py
looks at the wrong branches
) (cherry picked from commit d530e74) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
) (cherry picked from commit d530e74) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
…ongh-133416)" This reverts commit d530e74.
The PR has broken builds for non- It's because the "is this a PR?" check ( cpython/Tools/build/compute-changes.py Lines 58 to 66 in bfac7d2
And non-
https://github.com/emmatyping/cpython/actions/runs/14848418162/job/41687428491#step:6:16
https://github.com/python/cpython/actions/runs/14907932653/job/41874703388#step:6:91 At least one of them should be false for PRs, but:
Let's come up with a better "is this a PR?" check. |
Please see PR #133671. |
(cherry picked from commit 319acf3) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
(cherry picked from commit 319acf3) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
(cherry picked from commit 319acf3) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
Tools/build/compute-changes.py
assumes that both of the branches being compared are on theorigin
origin. This is usually not going to be the case for PR branches. If the PR branch happens to be calledmain
, this can lead to no tests being run, as happened on #131419.cc @AA-Turner
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: