From 5e9b7b91fafd4b6e93d0ff85a5c7d52699c3c77c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 16 May 2024 11:26:08 +0200 Subject: [PATCH] tox: add workaround for missing official Python 3.13 support in PyO3 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index dedb112..6fc8067 100644 --- a/tox.ini +++ b/tox.ini @@ -13,6 +13,7 @@ commands = pytest -v {posargs} setenv = PYTHONPATH = {toxinidir} + PYO3_USE_ABI3_FORWARD_COMPATIBILITY = 1 [testenv:coverage] deps = @@ -28,6 +29,7 @@ commands = coverage report setenv = PYTHONPATH = {toxinidir} + PYO3_USE_ABI3_FORWARD_COMPATIBILITY = 1 [testenv:mypy] deps = @@ -41,3 +43,4 @@ commands = mypy -p rust2rpm {posargs} setenv = PYTHONPATH = {toxinidir} + PYO3_USE_ABI3_FORWARD_COMPATIBILITY = 1