Skip to content

Tools/build/compute-changes.py looks at the wrong branches #133410

Closed
@JelleZijlstra

Description

@JelleZijlstra

Bug report

Bug description:

Tools/build/compute-changes.py assumes that both of the branches being compared are on the origin origin. This is usually not going to be the case for PR branches. If the PR branch happens to be called main, 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

Metadata

Metadata

Assignees

Labels

infraCI, GitHub Actions, buildbots, Dependabot, etc.type-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions