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
~~~
setuptools.setup(..,packages=[],..)
~~~
or
~~~
setuptools.setup(..,py_modules=[],..)
~~~
The Depends-On is irrelevant to the bug but is needed for job freeze
issue seen on this review.
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- heat-templates/ +/835678 /opendev. org/openstack/ tripleo- heat-templates/ commit/ 3802edefbbe7b19 e7c11483db0bc37 ffe7fe40f1
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit 3802edefbbe7b19 e7c11483db0bc37 ffe7fe40f1
Author: Sandeep Yadav <email address hidden>
Date: Mon Mar 28 15:07:15 2022 +0530
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.
~~~
The Depends-On is irrelevant to the bug but is needed for job freeze
issue seen on this review.
[1] https:/ /github. com/pypa/ setuptools/ issues/ 3197
Depends-On: https:/ /review. opendev. org/c/openstack /tripleo- ci/+/835776 e72355da4dd3a5c dd7846114bb 66845194e57882c 9e9cb5ef94)
Related-Bug: #1966382
Change-Id: If1509b0369aeae
(cherry picked from commit 0176edf256e69c2