Skip to content

fix(bendpy): stabilize release builds and local publish#19700

Merged
sundy-li merged 1 commit intodatabendlabs:mainfrom
sundy-li:fix/bendpy-release-build-and-local-publish
Apr 11, 2026
Merged

fix(bendpy): stabilize release builds and local publish#19700
sundy-li merged 1 commit intodatabendlabs:mainfrom
sundy-li:fix/bendpy-release-build-and-local-publish

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 Python wheel release builds that were failing in the release workflow
  • add a local bendpy publish helper that does not depend on Docker
  • document local build and publish usage in the bendpy README

Implementation

  1. Normalize cargo config for bendpy release wheel builds so the Linux manylinux container does not inherit the repo's mold linker override
  2. Disable release LTO for wheel packaging jobs to avoid the macOS cross-target linker/bitcode incompatibility seen in CI
  3. Add src/bendpy/scripts/local_publish.sh for host-native build/upload flows with optional version override, upload skipping, cleaning, and repeatable --target
  4. Document the local publish workflow in src/bendpy/README.md

Tests

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

Validation performed:

  • inspected failing release job logs for Linux x86_64, Linux aarch64, and macOS aarch64
  • verified the new local publish helper argument parsing with --help

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 6d17bcc into databendlabs:main Apr 11, 2026
17 checks passed
@sundy-li sundy-li deleted the fix/bendpy-release-build-and-local-publish branch April 11, 2026 15:04
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