Tripleo-ci jobs are broken after latest release of setuptools 61.0
because of breaking changes which are not backwork compatible,
details in related bug and [1].
Users that don't set ``packages``, ``py_modules``, or `configuration`
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.
To disable auto discovery, one can do below in setup.py
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- ansible/ +/835683 /opendev. org/openstack/ tripleo- ansible/ commit/ 2d0ab9ad87f8558 30380d573231017 982d09d964
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit 2d0ab9ad87f8558 30380d573231017 982d09d964
Author: Brendan Shephard <email address hidden>
Date: Mon Mar 28 14:46:56 2022 +1000
Disable auto discovery
Tripleo-ci jobs are broken after latest release of setuptools 61.0
because of breaking changes which are not backwork compatible,
details in related bug and [1].
Users that don't set ``packages``, ``py_modules``, or `configuration`
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.
To disable auto discovery, one can do below in setup.py
~~~ setup(. .,packages= [],..)
setuptools.
~~~
or
~~~ setup(. .,py_modules= [],..)
setuptools.
~~~
[1] https:/ /github. com/pypa/ setuptools/ issues/ 3197
Related-Bug: #1966382 f5d5c387b325313 4bb4ccc2766 00ec56f163f6ae1 2a4b8c9685)
Change-Id: I52f852686b70d5
(cherry picked from commit dab104315f53528