Migrate from testr to stestr, 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
~~~
setuptools.setup(..,packages=[],..)
~~~
or
~~~
setuptools.setup(..,py_modules=[],..)
~~~
Also, Migrate from testr to stestr - tox py38 timingout without this.
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- image-elements/ +/835685 /opendev. org/openstack/ tripleo- image-elements/ commit/ 8a2012bc3ef551a 269cefaa91ded1c df2a26e30e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit 8a2012bc3ef551a 269cefaa91ded1c df2a26e30e
Author: Sandeep Yadav <email address hidden>
Date: Mon Mar 28 15:18:20 2022 +0530
Migrate from testr to stestr, 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.
~~~
Also, Migrate from testr to stestr - tox py38 timingout without this.
[1] https:/ /github. com/pypa/ setuptools/ issues/ 3197
Releated-Bug: #1966382 0f756cc936ca0fe 7ca6d0ec1d1 0f824b03f387d1d 0c109c55db)
Change-Id: I8db5e382576a82
(cherry picked from commit 0b33e111caf5295