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}
|
pytest -v {posargs}
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONPATH = {toxinidir}
|
PYTHONPATH = {toxinidir}
|
||||||
|
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = 1
|
||||||
|
|
||||||
[testenv:coverage]
|
[testenv:coverage]
|
||||||
deps =
|
deps =
|
||||||
|
@ -28,6 +29,7 @@ commands =
|
||||||
coverage report
|
coverage report
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONPATH = {toxinidir}
|
PYTHONPATH = {toxinidir}
|
||||||
|
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = 1
|
||||||
|
|
||||||
[testenv:mypy]
|
[testenv:mypy]
|
||||||
deps =
|
deps =
|
||||||
|
@ -41,3 +43,4 @@ commands =
|
||||||
mypy -p rust2rpm {posargs}
|
mypy -p rust2rpm {posargs}
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONPATH = {toxinidir}
|
PYTHONPATH = {toxinidir}
|
||||||
|
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = 1
|
||||||
|
|
Loading…
Reference in a new issue