diff --git a/docs/packages/mjml-python.yaml b/docs/packages/mjml-python.yaml index 980f37961ed..38f459dc9bc 100644 --- a/docs/packages/mjml-python.yaml +++ b/docs/packages/mjml-python.yaml @@ -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 diff --git a/patches/mjml-python/1.4.2/0001-Cargo-bump-abi3-floor-to-py39.patch b/patches/mjml-python/1.4.2/0001-Cargo-bump-abi3-floor-to-py39.patch new file mode 100644 index 00000000000..b9130192756 --- /dev/null +++ b/patches/mjml-python/1.4.2/0001-Cargo-bump-abi3-floor-to-py39.patch @@ -0,0 +1,32 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +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 +--- + 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 +