From 2195c686a6066208570d9be706ca9f97ee2f4b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Thu, 31 Oct 2024 18:40:07 +0100 Subject: [PATCH] tests: fix zxcvbn compilation with Python 3.13 temporarily, until this is fixed upstream https://github.com/fief-dev/zxcvbn-rs-py/issues/2 --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index bd7e4371..25f65173 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -196,6 +196,9 @@ env_list = [ ] [tool.tox.env_run_base] +# Needed until zxcvbn supports Python 3.13 +# https://github.com/fief-dev/zxcvbn-rs-py/issues/2 +set_env = {PYO3_USE_ABI3_FORWARD_COMPATIBILITY = "1"} commands = [ ["pytest", "--showlocals", "--full-trace", "{posargs}"], ]