This is an automated email from the ASF dual-hosted git repository.
yuxia pushed a commit to branch release-0.1
in repository https://gitbox.apache.org/repos/asf/fluss-rust.git
The following commit(s) were added to refs/heads/release-0.1 by this push:
new 20c2fab ci: fix ci build wheel issue for python (#419)
20c2fab is described below
commit 20c2fabd818991e225114494c70d33f6348330ff
Author: yuxia Luo <[email protected]>
AuthorDate: Tue Mar 3 20:02:30 2026 +0800
ci: fix ci build wheel issue for python (#419)
---
.github/workflows/release_python.yml | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/release_python.yml
b/.github/workflows/release_python.yml
index 11bcbaa..323838d 100644
--- a/.github/workflows/release_python.yml
+++ b/.github/workflows/release_python.yml
@@ -84,7 +84,7 @@ jobs:
- name: Generate Python README
run: python3 bindings/python/generate_readme.py
- - name: Install protoc (Linux host)
+ - name: Install protoc (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
@@ -95,6 +95,7 @@ jobs:
- name: Install protoc (Windows)
if: runner.os == 'Windows'
run: choco install protoc -y
+ shell: pwsh
# Install protoc in manylinux container (x86_64/aarch64); script shared
via YAML anchor
- uses: PyO3/maturin-action@v1
@@ -104,7 +105,6 @@ jobs:
command: build
args: --release -o dist -i python3.9
manylinux: ${{ matrix.manylinux || 'auto' }}
- container: ${{ matrix.os == 'ubuntu-latest' && matrix.target ==
'x86_64' && 'off' || '' }}
before-script-linux: &protoc-install |
set -e
ARCH=$(uname -m)
@@ -126,7 +126,6 @@ jobs:
command: build
args: --release -o dist -i python3.10
manylinux: ${{ matrix.manylinux || 'auto' }}
- container: ${{ matrix.os == 'ubuntu-latest' && matrix.target ==
'x86_64' && 'off' || '' }}
before-script-linux: *protoc-install
- uses: PyO3/maturin-action@v1
with:
@@ -135,7 +134,6 @@ jobs:
command: build
args: --release -o dist -i python3.11
manylinux: ${{ matrix.manylinux || 'auto' }}
- container: ${{ matrix.os == 'ubuntu-latest' && matrix.target ==
'x86_64' && 'off' || '' }}
before-script-linux: *protoc-install
- uses: PyO3/maturin-action@v1
with:
@@ -144,7 +142,6 @@ jobs:
command: build
args: --release -o dist -i python3.12
manylinux: ${{ matrix.manylinux || 'auto' }}
- container: ${{ matrix.os == 'ubuntu-latest' && matrix.target ==
'x86_64' && 'off' || '' }}
before-script-linux: *protoc-install
- name: Upload wheels