Package: authres
Version: 1.2.0-2
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch

Hi Scott,

With python3.10, authres's autopkgtests now fail in some environments
(Ubuntu) because python3.10 complains about TERM being set to an invalid
value:

$ TERM=unknown python3.10 -m authres
No entry for terminal type "unknown";
using dumb terminal settings.
$

This can be fixed by just exporting a sane TERM setting in the autopkgtest
as in the attached patch.

Thanks for considering,
-- 
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
diff -Nru authres-1.2.0/debian/tests/python authres-1.2.0/debian/tests/python
--- authres-1.2.0/debian/tests/python   2019-10-14 14:03:18.000000000 -0700
+++ authres-1.2.0/debian/tests/python   2021-12-10 10:31:20.000000000 -0800
@@ -2,6 +2,7 @@
 
 set -e
 
+export TERM=linux
 for py in $(py3versions -s); do
   $py -m authres
 done

Reply via email to