diff mbox series

[Lunar/unstable] UBUNTU: [Debian] Use a python3 compatable kernel-testing repo

Message ID 20230202152424.206795-1-francis.ginther@canonical.com
State New
Headers show
Series [Lunar/unstable] UBUNTU: [Debian] Use a python3 compatable kernel-testing repo | expand

Commit Message

Francis Ginther Feb. 2, 2023, 3:24 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2004429

Switch to using a python3 compatible branch for the kernel-testing
scripts used for running autopkgtest. This in turn uses a python3
compatible fork of autotest.

Remove the autopkgtest dependency on python2, replacing it with python3.
Also remove the dependency on bzr as it's unused.

Signed-off-by: Francis Ginther <francis.ginther@canonical.com>
---
 debian/tests/control                 | 2 +-
 debian/tests/ubuntu-regression-suite | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

Comments

Andrea Righi Feb. 2, 2023, 3:45 p.m. UTC | #1
On Thu, Feb 02, 2023 at 09:24:24AM -0600, Francis Ginther wrote:
> BugLink: https://bugs.launchpad.net/bugs/2004429
> 
> Switch to using a python3 compatible branch for the kernel-testing
> scripts used for running autopkgtest. This in turn uses a python3
> compatible fork of autotest.
> 
> Remove the autopkgtest dependency on python2, replacing it with python3.
> Also remove the dependency on bzr as it's unused.
> 
> Signed-off-by: Francis Ginther <francis.ginther@canonical.com>

Applied to lunar/linux and lunar/linux-unstable.

Thanks,
-Andrea
diff mbox series

Patch

diff --git a/debian/tests/control b/debian/tests/control
index 94eb9b9ed897..a3cbca260d87 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -3,5 +3,5 @@  Depends: @builddeps@, fakeroot
 Restrictions: allow-stderr, skippable
 
 Tests: ubuntu-regression-suite
-Depends: build-essential, gcc-multilib [amd64 armhf i386], gdb, git, python2 | python, bzr
+Depends: build-essential, gcc-multilib [amd64 armhf i386], gdb, git, python3
 Restrictions: allow-stderr, isolation-machine, breaks-testbed, skippable
diff --git a/debian/tests/ubuntu-regression-suite b/debian/tests/ubuntu-regression-suite
index 7a69cfe3688b..ef73cf5f7c1d 100755
--- a/debian/tests/ubuntu-regression-suite
+++ b/debian/tests/ubuntu-regression-suite
@@ -41,5 +41,6 @@  if [ "$sver" != "$rver" ]; then
     exit 1
 fi
 
-git clone --depth=1 git://git.launchpad.net/~canonical-kernel-team/+git/kernel-testing
+git clone --depth=1 -b autotest3 git://git.launchpad.net/~canonical-kernel-team/+git/kernel-testing
+git -C kernel-testing/ show HEAD -q
 kernel-testing/run-dep8-tests