From 901647e91c33327cc822f1ad738793c8c66a8886 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 30 Apr 2024 10:37:28 +0100 Subject: [PATCH] Build ABI3 wheels in CI --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fb310589f7..c3b9b2a384 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -406,7 +406,7 @@ environment= { PATH = "$PATH:$HOME/.cargo/bin" } # can end up polluting the next build with a .so that is for the wrong # Python version. before-build = "rm -rf {project}/build" -build-frontend = "build" +build-frontend = "build; args: --config-settings=--build-option=--py-limited-api=cp38" # Build ABI3 wheels for 3.8+ test-command = "python -c 'from synapse.synapse_rust import sum_as_string; print(sum_as_string(1, 2))'"