tox: add workaround for missing official Python 3.13 support in PyO3

This commit is contained in:
Fabio Valentini 2024-05-16 11:26:08 +02:00
parent f01dae6f60
commit 5e9b7b91fa
No known key found for this signature in database
GPG key ID: 5AC5F572E5D410AF

View file

@ -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