[all] testtools and support for Python 3.10 (error du to deprecation of distutils)
Stephen Finucane
stephenfin at redhat.com
Tue Dec 14 14:29:12 UTC 2021
On Mon, 2021-12-13 at 23:50 +0100, Thomas Goirand wrote:
> On 12/13/21 11:34 PM, Jeremy Stanley wrote:
> > On 2021-12-13 23:29:05 +0100 (+0100), Thomas Goirand wrote:
> > > On 12/13/21 10:14 PM, Jeremy Stanley wrote:
> > > > To reiterate, PYTHONWARNINGS must be getting set to "error"
> > > > somewhere. Maybe it's exported in that environment before python3 is
> > > > invoked?
> > > >
> > >
> > > This returns nothing:
> > > grep -r PYTHONWARNINGS *
> > >
> > > So no, it's not what's happening, unless I don't understand...
> >
> > Are you able to reproduce it locally? Under sbuild or some other
> > way?
> >
>
> Yep. Doing this:
>
> git clone
> https://salsa.debian.org/openstack-team/services/rally-openstack.git
> cd rally-openstack
> sbuild
> ...
You might not be using tox, but pytest will still loading configuration from
that file if it exists [1][2][3]
Stephen
[1] https://docs.pytest.org/en/7.0.x/reference/customize.html#tox-ini
[2] https://docs.pytest.org/en/7.0.x/how-to/capture-warnings.html
[3] https://github.com/openstack/rally/blob/0f0f20dab/tox.ini#L151-L163
>
> Cheers,
>
> Thomas Goirand (zigo)
>
More information about the openstack-discuss
mailing list