Does anyone know why we build_wheels on all platfo...
# development
w
Does anyone know why we build_wheels on all platforms for every PR run? That feels........ insane.....
Wouldn't it make more sense if they happened after successful tests? Or, I would think it would be even better if they only ran on Main - however, I can see that if they failed, it could cause a hoopla
h
we… shouldn’t be.
The wheel building shards are supposed to be skipped on non-release runs.
w
"release" in this case being one of these?
h
See the
if
stanza here
w
Hmm, a couple of weeks ago it was correctly skipped
Ahh, maybe during attestation work
Or maybe something is classifying my changes as releases - not sure what though exactly
Copy code
_release_globs = [
    # Any changes to these files should trigger wheel building.
    "pants.toml",
    "src/python/pants/VERSION",
    "src/python/pants/init/BUILD",
    "src/python/pants_release/release.py",
]
Pants.toml changes triggers wheels? That feels.... Wrong
h
I assume there was a reason… But who knows what it was
w
🤷 Well, I feel better about it, now that it's just my ridiculous PRs causing it