From c57244b9fa3c1d04bfb51b9bb30f4c7358ec7043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Wed, 6 Nov 2024 15:21:13 +0100 Subject: [PATCH] fix: zxcvbn compilation in demo until https://github.com/fief-dev/zxcvbn-rs-py/issues/2 is fixed, it is needed to manually force the compatibility with Python 3.13 --- demo/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/demo/run.sh b/demo/run.sh index fde5e0f4..1f898bf6 100755 --- a/demo/run.sh +++ b/demo/run.sh @@ -22,6 +22,10 @@ fi pushd "$DIR" > /dev/null 2>&1 || exit +# Needed until zxcvbn supports Python 3.13 +# https://github.com/fief-dev/zxcvbn-rs-py/issues/2 +export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 + uv sync --group demo --all-extras if [ "$BACKEND" = "memory" ]; then