tests: fix zxcvbn compilation with Python 3.13

temporarily, until this is fixed upstream
https://github.com/fief-dev/zxcvbn-rs-py/issues/2
This commit is contained in:
Éloi Rivard 2024-10-31 18:40:07 +01:00
parent 885ba0f48c
commit 2195c686a6
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184

View file

@ -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}"],
]