From 13cc92a1b60eb8cc77d987ed1a1db928e20d036a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?El=C5=91d=20Ill=C3=A9s?= Date: Mon, 28 Mar 2022 11:29:09 +0200 Subject: [PATCH] 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 --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index e93de7bd53..06236c058a 100644 --- a/tox.ini +++ b/tox.ini @@ -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