Re: On the py2 topic: DEP8 tests

2019-09-25 Thread Michael Hudson-Doyle
On Thu, 26 Sep 2019 at 09:42, Robie Basak  wrote:

> On Wed, Sep 25, 2019 at 02:33:35PM -0700, Steve Langasek wrote:
> > It should be possible to track this by looking at the contents of the
> > Testsuite-Triggers field in Sources.gz.
>
> I wonder if it would be appropriate for archive admins to check this
> before package removals as they do for reverse dependencies? I
> understand that the archive won't end up "broken" by the same
> definition, but it will make the autopkgtest situation in the archive
> worse.
>
> Maybe, to help, the "reverse-depends" tool needs adjusting?
>

In progress, and apparently fixed if you use ubuntu-dev-tools from git?
https://bugs.launchpad.net/reverse-depends/+bug/1843614

Cheers,
mwh
-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Re: On the py2 topic: DEP8 tests

2019-09-25 Thread Robie Basak
On Wed, Sep 25, 2019 at 02:33:35PM -0700, Steve Langasek wrote:
> It should be possible to track this by looking at the contents of the
> Testsuite-Triggers field in Sources.gz.

I wonder if it would be appropriate for archive admins to check this
before package removals as they do for reverse dependencies? I
understand that the archive won't end up "broken" by the same
definition, but it will make the autopkgtest situation in the archive
worse.

Maybe, to help, the "reverse-depends" tool needs adjusting?


signature.asc
Description: PGP signature
-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Re: On the py2 topic: DEP8 tests

2019-09-25 Thread Steve Langasek
On Wed, Sep 25, 2019 at 05:32:34PM -0300, Andreas Hasenack wrote:
> Hello,

> I just got an email from Debian asking about porting to py3 one of the
> dep8 tests we have in postfix, and it occurred to me that we probably
> have many such tests written with just py2 in mind.

> The postfix test in question actually came from the
> qa-regression-testing[1][2] repository a while back. I know we have at
> least squid with a test copied from there as well, and perhaps others.

> How can we track which packages still require py2 for their DEP8 tests?

> 1. https://git.launchpad.net/qa-regression-testing/tree/scripts/testlib.py
> 2. 
> https://git.launchpad.net/qa-regression-testing/tree/scripts/test-postfix.py

It should be possible to track this by looking at the contents of the
Testsuite-Triggers field in Sources.gz.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developer   https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


signature.asc
Description: PGP signature
-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


On the py2 topic: DEP8 tests

2019-09-25 Thread Andreas Hasenack
Hello,

I just got an email from Debian asking about porting to py3 one of the
dep8 tests we have in postfix, and it occurred to me that we probably
have many such tests written with just py2 in mind.

The postfix test in question actually came from the
qa-regression-testing[1][2] repository a while back. I know we have at
least squid with a test copied from there as well, and perhaps others.

How can we track which packages still require py2 for their DEP8 tests?

1. https://git.launchpad.net/qa-regression-testing/tree/scripts/testlib.py
2. https://git.launchpad.net/qa-regression-testing/tree/scripts/test-postfix.py

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel