Re: Python related autopkgtest anti-pattern

2020-03-21 Thread Scott Kitterman
On Saturday, March 21, 2020 1:41:14 AM EDT Scott Kitterman wrote: > On Wednesday, March 18, 2020 6:32:22 PM EDT Scott Kitterman wrote: > > I'm currently reviewing some of the autopkgtest regressions that are > > currently blocking python3-defaults with python3.8 as the default python3 > > from migr

Re: Python related autopkgtest anti-pattern

2020-03-20 Thread Scott Kitterman
On Wednesday, March 18, 2020 6:32:22 PM EDT Scott Kitterman wrote: > I'm currently reviewing some of the autopkgtest regressions that are > currently blocking python3-defaults with python3.8 as the default python3 > from migrating. > > With the current state of the environment being used for autop

Re: Python related autopkgtest anti-pattern

2020-03-19 Thread Simon McVittie
On Thu, 19 Mar 2020 at 09:27:35 -0400, Scott Kitterman wrote: > The fact that these tests are failing right now makes them relatively easy to > find, but even if they weren't failing, I still think testing against > installed > versions is wrong. Tests should have an intentional scope, not act

Re: Python related autopkgtest anti-pattern

2020-03-19 Thread Scott Kitterman
On Thursday, March 19, 2020 6:40:00 AM EDT Simon McVittie wrote: > On Wed, 18 Mar 2020 at 18:32:22 -0400, Scott Kitterman wrote: > > We want the tests to run against all versions, but the way to do that is > > to > > have your test depend on python3-all (to make sure that all supported > > versions

Re: Python related autopkgtest anti-pattern

2020-03-19 Thread Simon McVittie
On Wed, 18 Mar 2020 at 18:32:22 -0400, Scott Kitterman wrote: > We want the tests to run against all versions, but the way to do that is to > have your test depend on python3-all (to make sure that all supported > versions > are installed) and then use the -s flag for py3versions vice -i. So (i

Re: Python related autopkgtest anti-pattern

2020-03-19 Thread Paul Gevers
Hi all On 18-03-2020 23:32, Scott Kitterman wrote: > I'm currently reviewing some of the autopkgtest regressions that are > currently > blocking python3-defaults with python3.8 as the default python3 from > migrating. Thanks Scott for helping here (all help is welcome). I thought it might be u

Python related autopkgtest anti-pattern

2020-03-18 Thread Scott Kitterman
I'm currently reviewing some of the autopkgtest regressions that are currently blocking python3-defaults with python3.8 as the default python3 from migrating. With the current state of the environment being used for autopkgtest it is quite common for python3.7 to be present in the environment e