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- puppet- elements/ +/835795 /opendev. org/openstack/ tripleo- puppet- elements/ commit/ 14e13efb47a4d20 a1ac988254130cc c97648a441
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit 14e13efb47a4d20 a1ac988254130cc c97648a441
Author: Jiri Podivin <email address hidden>
Date: Tue Mar 29 08:57:50 2022 +0200
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
Signed-off-by: Jiri Podivin <email address hidden> 331213b5a3f3d4e 4f207f49527 9f7115b16ac8629 382279e918)
Change-Id: I4cf10643a18fbc
(cherry picked from commit 66f8964f59342d9