diff --git a/tox.ini b/tox.ini index 92edcd7b4693..8df61ef43bbf 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,11 @@ envlist = py39,functional,pep8 # env and ignore basepython inherited from [testenv] if we set # ignore_basepython_conflict. ignore_basepython_conflict = True +# Cap setuptools via virtualenv to prevent compatibility issue with yoga +# branch's upper constraint of 'packaging' package (21.3). +requires = + virtualenv<20.26.4 + tox<4 [testenv] basepython = python3