Skip to content

Conversation

@dhellmann
Copy link
Member

Fix incorrect logic that marked all non-prebuilt wheels as skipped when using --cache-wheel-server-url. The bug was in the _build() function where an else clause unconditionally set use_exiting_wheel=True for all non-prebuilt packages, regardless of whether they were actually built or reused.

Changes:

  • Only set use_exiting_wheel=True when we actually have an existing wheel
  • Consolidate duplicate prebuilt wheel checks into single block
  • Eliminate redundant wheel_filename validation
  • Add test validation for build-sequence-summary.json content

The fix ensures packages built from source show skipped=false and packages using existing wheels show skipped=true in the summary file.

Closes: #777

Chat log: https://gist.github.com/dhellmann/55da9cedbc977fe644f2c7584c7d1762

Co-authored-by: Claude 3.5 Sonnet (Anthropic AI Assistant)

Fix incorrect logic that marked all non-prebuilt wheels as skipped when
using --cache-wheel-server-url. The bug was in the _build() function
where an else clause unconditionally set use_exiting_wheel=True for all
non-prebuilt packages, regardless of whether they were actually built
or reused.

Changes:
- Only set use_exiting_wheel=True when we actually have an existing wheel
- Consolidate duplicate prebuilt wheel checks into single block
- Eliminate redundant wheel_filename validation
- Add test validation for build-sequence-summary.json content

The fix ensures packages built from source show skipped=false and
packages using existing wheels show skipped=true in the summary file.

Closes: #777

Chat log: https://gist.github.com/dhellmann/55da9cedbc977fe644f2c7584c7d1762

Co-authored-by: Claude 3.5 Sonnet (Anthropic AI Assistant)
Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
@dhellmann dhellmann requested a review from a team as a code owner September 24, 2025 00:16
@mergify mergify bot added the ci label Sep 24, 2025
@dhellmann dhellmann requested a review from tiran September 24, 2025 00:17
@mergify mergify bot merged commit 534d40d into main Sep 24, 2025
118 checks passed
@tiran tiran deleted the fix-always-showing-skipped branch September 24, 2025 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

All wheels marked as "skipped" in build-sequence-summary.json

3 participants