Skip to content

Commit 397a171

Browse files
committed
Fix unittests on python3.10
1 parent 1a88fcb commit 397a171

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ basepython = /usr/local/bin/python3.9
4040

4141
[testenv:python310]
4242
basepython = /usr/local/bin/python3.10
43+
setenv =
44+
PIP_CONSTRAINT={toxinidir}/tox/pyyaml-5.4.1-constraints.txt
4345
deps =
4446
pytest==6.2.4
4547
sh==1.14.2

tox/pyyaml-5.4.1-constraints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Cython < 3.0

0 commit comments

Comments
 (0)