From 164dcbf0137eac3e1b4b2dd1e3e43a174359e182 Mon Sep 17 00:00:00 2001 From: Phillip Wenig Date: Tue, 28 Apr 2026 16:05:23 +0200 Subject: [PATCH] build(cargo): remove abi3-py311 feature from PyO3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change removes the abi3-py311 feature flag which enables stable ABI compatibility across Python versions. Without this flag, the build will now produce version-specific wheels (e.g., cp311-cp311-win_amd64.whl) instead of a single universal abi3-compatible wheel (cp311-abi3-win_amd64.whl). This is necessary to allow the CI pipeline to build and test per-version wheels across Python 3.11–3.14, providing better compatibility testing and validation for each supported Python version. Signed-off-by: Phillip Wenig --- Cargo.toml | 1 - RELEASE_NOTES.md | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 79a49c0..7f46a32 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,5 +12,4 @@ frequenz-resampling = "0.3.0" pyo3 = { version = "0.27", features = [ "extension-module", "chrono", - "abi3-py311", ] } diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 8dbfe5e..f58ddea 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -33,6 +33,12 @@ expanded tests and CI to validate the compiled package workflow. environments. - Expand repository docs (`README.md`, `AGENTS.md`) for the new architecture. +## Build Changes + +- Switch from a single abi3-compatible wheel to per-Python-version wheels + (`cp311`, `cp312`, `cp313`, `cp314`). This removes the `abi3-py311` PyO3 + feature so each supported Python version gets its own compiled wheel. + ## Bug Fixes - Fix docs and tooling source path assumptions from `src/` to `frequenz/` for