From 52b6599e8c0f97f1e4cde61eab50188a85b40fb1 Mon Sep 17 00:00:00 2001 From: Dmitry Prudnikov Date: Sun, 3 May 2026 18:56:02 +0300 Subject: [PATCH] fix(embedded): enable abi3-py311 for cross-version wheel compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pyo3 previously used per-interpreter ABI, producing cp311-only wheels on Linux (CI runner has Python 3.11). Colab runs Python 3.12 which cannot install cp311 wheels, causing pip install to fail. Adding abi3-py311 feature instructs maturin to build a single cp311-abi3 wheel per platform, compatible with Python 3.11, 3.12, 3.13, 3.14+. No CI matrix changes needed — maturin detects abi3 from Cargo.toml. Closes #65 --- coordinode-embedded/Cargo.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coordinode-embedded/Cargo.toml b/coordinode-embedded/Cargo.toml index 8fb6845..fa11d69 100644 --- a/coordinode-embedded/Cargo.toml +++ b/coordinode-embedded/Cargo.toml @@ -13,7 +13,7 @@ name = "_coordinode_embedded" crate-type = ["cdylib"] [dependencies] -pyo3 = { version = "0.23", features = ["extension-module"] } +pyo3 = { version = "0.23", features = ["extension-module", "abi3-py311"] } coordinode-embed = { path = "../coordinode-rs/crates/coordinode-embed" } coordinode-core = { path = "../coordinode-rs/crates/coordinode-core" } rmpv = "1" diff --git a/uv.lock b/uv.lock index e0cce2b..01e6b3e 100644 --- a/uv.lock +++ b/uv.lock @@ -359,7 +359,7 @@ provides-extras = ["dev"] [[package]] name = "coordinode-workspace" -version = "0.7.0" +version = "1.0.5" source = { virtual = "." } dependencies = [ { name = "googleapis-common-protos" },