Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/packages/mjml-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ versions:
- filename: mjml_python-1.4.1-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl
sha256: c6600b16067086ed215ef5215136aba0277264e88115a0752904af9b05599897
requires-python: '>=3.8'
- version: 1.4.2
32 changes: 32 additions & 0 deletions patches/mjml-python/1.4.2/0001-Cargo-bump-abi3-floor-to-py39.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
Date: Fri, 25 Sep 2026 00:00:00 +0000
Subject: [PATCH] Cargo: bump abi3 floor to py39

Upstream-Status: Inappropriate [manylinux_2_39_riscv64 ships no cp38 interpreter]

The riscv64 manylinux image's oldest available CPython is cp39 (no cp38),
so a wheel built here and tagged cp38-abi3 (this crate's abi3-py38
feature) would never actually be compiled or tested against its own
declared floor -- gotcha 96. Bump the pyo3 abi3 feature to abi3-py39 to
make the riscv64 wheel's tag match the oldest interpreter this repo can
build and test it on; every other platform's wheel is unaffected.

Signed-off-by: Ludovic Henry <git@ludovic.dev>
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Cargo.toml b/Cargo.toml
index c79c96a..e52002a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,4 +10,4 @@ crate-type = ["cdylib"]

[dependencies]
mrml = { version = "6.0.0" }
-pyo3 = { version = "~0.29.0", features = ["abi3-py38", "extension-module"] }
+pyo3 = { version = "~0.29.0", features = ["abi3-py39", "extension-module"] }
--
2.43.0

Loading