Skip to content

Commit ff0b90f

Browse files
author
Hyper-Fumetsu
committed
ci: switch to py3.13 (maturin supports), abi3-compatible with 3.14
1 parent c7f258e commit ff0b90f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build-android-wheels.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
matrix:
1515
# rpds-py: Rust→Python 绑定, mcp SDK 的唯一编译依赖
1616
# 其他包 (mcp/fastmcp-slim/cyclopts) 都是纯 Python, PyPI 直接下
17-
python-version: ['3.14']
17+
# 3.14 已加但 maturin 可能还不支持,先用 3.13 (abi3 兼容)
18+
python-version: ['3.13']
1819

1920
steps:
2021
- name: Checkout
@@ -44,18 +45,19 @@ jobs:
4445
git clone --depth 1 https://github.com/crate-py/rpds.git
4546
cd rpds
4647
# Cross-compile to aarch64-linux-android, platform tag for Termux
47-
# setup-python installs python3.14 on PATH
48+
# setup-python puts versioned python on PATH
4849
maturin build \
4950
--release \
5051
--target aarch64-linux-android \
51-
--interpreter python3.14 \
52+
--interpreter python${{ matrix.python-version }} \
5253
--out dist
5354
ls -lh dist/
5455
5556
- name: Upload wheel
5657
uses: actions/upload-artifact@v4
5758
with:
5859
name: rpds-py-aarch64-android-py${{ matrix.python-version }}
60+
# Note: abi3 兼容, 3.13 编译的 .so 在 3.14 上也能跑
5961
path: rpds/dist/*.whl
6062
retention-days: 90
6163

0 commit comments

Comments
 (0)