Skip to content

Commit adb49bf

Browse files
committed
fix(python): use github arm64 runner, update deps
1 parent a5124c8 commit adb49bf

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

.github/workflows/_build_python_wheels.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,14 @@ on:
4545

4646
jobs:
4747
linux:
48-
runs-on: ubuntu-latest
48+
runs-on: ${{ matrix.runner }}
4949
strategy:
5050
matrix:
51-
target: [x86_64, aarch64]
51+
include:
52+
- target: x86_64
53+
runner: ubuntu-latest
54+
- target: aarch64
55+
runner: ubuntu-24.04-arm
5256
steps:
5357
- name: Download latest copy script from master
5458
if: inputs.use_latest_ci
@@ -90,8 +94,8 @@ jobs:
9094
yum install -y perl-IPC-Cmd
9195
fi
9296
python3 -m pip --version || python3 -m ensurepip
93-
manylinux: "2_28"
94-
args: --release --out dist --interpreter python3.8 python3.9 python3.10 python3.11 python3.12 python3.13
97+
manylinux: ${{ matrix.target == 'aarch64' && 'auto' || '2_34' }}
98+
args: --release --out dist --interpreter python3.8 python3.12 python3.13
9599
sccache: "true"
96100

97101
- name: Upload wheels

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ jobs:
107107
echo "🔍 Verifying commit is on master branch..."
108108
git fetch origin master --depth=1000
109109
110-
if git merge-base --is-ancestor "$COMMIT" origin/master; then
110+
if ${{ inputs.dry_run }}; then
111+
echo "🌵 Dry run, skipping master branch check"
112+
elif git merge-base --is-ancestor "$COMMIT" origin/master; then
111113
echo "✅ Commit is on master branch"
112114
else
113115
echo "❌ ERROR: Commit $COMMIT is not on the master branch!"

foreign/python/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ repository = "https://github.com/apache/iggy"
2828
[dependencies]
2929
bytes = "1.10.1"
3030
iggy = { path = "../../core/sdk", version = "0.7.0" }
31-
pyo3 = "0.25.0"
32-
pyo3-async-runtimes = { version = "0.25.0", features = [
31+
pyo3 = "0.26.0"
32+
pyo3-async-runtimes = { version = "0.26.0", features = [
3333
"attributes",
3434
"tokio-runtime",
3535
] }
36-
pyo3-stub-gen = "0.12.0"
37-
tokio = "1.40.0"
36+
pyo3-stub-gen = "0.13.1"
37+
tokio = "1.47.1"
3838

3939
[patch.crates-io]
40-
pyo3-stub-gen = { git = "https://github.com/Jij-Inc/pyo3-stub-gen.git", rev = "1870f637f700605395a666e3bdc0276aece73b5f" }
40+
pyo3-stub-gen = { git = "https://github.com/Jij-Inc/pyo3-stub-gen.git", rev = "63e77533b55782799df28ea4b4676c42d203779e" }
4141

4242
[lib]
4343
name = "apache_iggy"

0 commit comments

Comments
 (0)