tox: add workaround for missing official Python 3.13 support in PyO3
This commit is contained in:
parent
f01dae6f60
commit
5e9b7b91fa
1 changed files with 3 additions and 0 deletions
3
tox.ini
3
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
|
||||
|
|
Loading…
Reference in a new issue