Skip to content

fix(bendpy): detect python3 in release wheel builds#19701

Merged
sundy-li merged 2 commits intodatabendlabs:mainfrom
sundy-li:fix/bendpy-release-build-python-bin
Apr 11, 2026
Merged

fix(bendpy): detect python3 in release wheel builds#19701
sundy-li merged 2 commits intodatabendlabs:mainfrom
sundy-li:fix/bendpy-release-build-python-bin

Conversation

@sundy-li
Copy link
Copy Markdown
Member

@sundy-li sundy-li commented Apr 11, 2026

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

  • fix the release wheel build normalization step to use an available Python interpreter on Linux runners

Implementation

  1. Replace the hardcoded python invocation in the release-wheel cargo-config normalization step
  2. Detect python3 first and fall back to python
  3. Fail early with a clear message if neither interpreter exists

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Pair with the reviewer to explain why

Validation performed:

  • inspected the failing Build Linux Wheels (aarch64, ARM64) log from run 24285204342
  • verified the failure was python: command not found in the normalization step

Type of change

  • Bug fix (non-breaking change which fixes an issue)

This change is Reviewable

@github-actions github-actions bot added the pr-bugfix this PR patches a bug in codebase label Apr 11, 2026
@sundy-li sundy-li merged commit 363a49c into databendlabs:main Apr 11, 2026
9 checks passed
@sundy-li sundy-li deleted the fix/bendpy-release-build-python-bin branch April 11, 2026 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix this PR patches a bug in codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant