From 52acfb2c8196d52de0af9c9332943003b7f4c06c Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Mon, 28 Mar 2022 10:45:05 -0400 Subject: [PATCH] Disable setuptools auto discovery Jobs are broken due to a release of setuptools 61.0 introducing non-backwards compatible breaking changes [1] Setting py_modules to an empty string here will disable autodiscovery and should permit jobs to run as before. [1] https://github.com/pypa/setuptools/issues/3197 Signed-off-by: Neil Hanlon Change-Id: I64c2850b6a414c68277270952676518aa7aaa85b --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index cd35c3c3..31d6ada1 100644 --- a/setup.py +++ b/setup.py @@ -17,4 +17,5 @@ import setuptools setuptools.setup( setup_requires=['pbr>=2.0.0'], + py_modules=[], pbr=True)