summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2024-04-30 10:37:28 +0100
committerErik Johnston <erik@matrix.org>2024-04-30 10:37:28 +0100
commit901647e91c33327cc822f1ad738793c8c66a8886 (patch)
tree844fb9c2b27d6eabe2d639c6f37558a91b2ddf52
parentRemove deprecated py_limited flag (diff)
downloadsynapse-901647e91c33327cc822f1ad738793c8c66a8886.tar.xz
Build ABI3 wheels in CI
-rw-r--r--pyproject.toml2
1 files changed, 1 insertions, 1 deletions
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))'"