Pin setuptools for Yoga release

The latest setuptools releases (>=61.0.0) broke the build of some
packages that have multiple top-level packages discovered in a
flat-layout. To be able to release Yoga, this patch pins the old
setuptools for our validator script. This needs to be done via pinning
virtualenv because it bundles setuptools as well.

Change-Id: Ia8963bd49f0c898ee1b7219193d28f4af0a868ee
This commit is contained in:
Előd Illés 2022-03-28 11:29:09 +02:00
parent 10bd93e6bc
commit 13cc92a1b6
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,11 @@ minversion = 3.2.0
envlist = py3,validate,pep8,bashate,docs
skipsdist = True
ignore_basepython_conflict=true
# note(elod.illes): setuptools capping / pinning does not work as it is
# pinned inside virtualenv. So to cap / pin setuptools we need to do it
# via virtualenv. Virtualenv 20.13.3 is the last version that holds
# setuptools < 61.0.0
requires = virtualenv==20.13.3
[testenv]
usedevelop=True